Projectile Motion Calculator: Range, Height, Time and Angle
By FindMySum · Last reviewed
Throw a ball, kick a football or fire a water jet and it follows a curved path called a trajectory. Without air resistance that path is a parabola, and its shape follows from just three numbers: the launch speed, the launch angle and the height you launch from. This calculator finds how far the projectile goes, how high it rises, how long it stays in the air and how fast it lands. It can also work backwards to the angle or speed needed to land at a given distance, and it compares Earth, the Moon and Mars.
The idea: two independent motions
Projectile motion splits into a horizontal and a vertical part that don't affect each other:
- Horizontal: no force acts (ignoring air), so the horizontal speed vx = v cos θ stays constant, and x = vx × t.
- Vertical: gravity pulls down with constant acceleration g, so the vertical speed starts at vy = v sin θ and falls steadily, and y = h + vy × t − ½ g t².
Combining a steady sideways motion with a steadily accelerating vertical one gives a parabola.
The formulas
- Time of flight: T = (vy + √(vy² + 2gh)) ÷ g
- Range: R = vx × T
- Maximum height: H = h + vy² ÷ (2g), reached at t = vy ÷ g
- Impact speed: √(vx² + (vy − gT)²)
From level ground (h = 0) these simplify to the familiar T = 2v sin θ ÷ g, R = v² sin 2θ ÷ g and H = v² sin² θ ÷ (2g).
Worked example: the default
The calculator opens with a launch at 20 m/s and 45° from the ground, under standard Earth gravity, g = 9.80665 m/s².
- vx = vy = 20 × 0.7071 = 14.14 m/s
- Time of flight: 2 × 14.14 ÷ 9.80665 = 2.884 s
- Range: 20² × sin 90° ÷ 9.80665 = 40.79 m
- Maximum height: 14.14² ÷ (2 × 9.80665) = 10.20 m, after 1.44 s
- It lands at 20 m/s and 45° below the horizontal, mirroring the launch
The chart draws the path and marks the peak; the table lists the position every 0.1 seconds.
The 45° rule and complementary angles
From level ground the range is largest at 45°, because sin 2θ peaks at θ = 45°. Angles the same distance either side of 45° give the same range: at 20 m/s, both 30° and 60° land 35.32 m away. The steeper throw goes higher and takes longer. From a height the best angle drops below 45°, because a flatter launch uses the extra fall time better.
Working backwards
The angle to hit a target. Choose "Angle to hit a distance", enter the speed and the distance, and the calculator solves the trajectory equation for the angle. There are usually two answers: a flat, fast shot and a high lob. At 20 m/s, a target 30 m away needs 23.7° or 66.3°. A basketball player shooting a high arc and a pitcher throwing a line drive are choosing between those two solutions. If the target is beyond the maximum range at that speed, the calculator says how far it can reach instead.
The speed to hit a target. Choose "Speed to hit a distance" and enter the angle and the distance. To land 50 m away at 45° from the ground takes √(g × 50) = 22.1 m/s.
Gravity elsewhere
The same throw goes much farther where gravity is weaker. On the Moon (1.62 m/s²) the default throw travels 246.9 m and peaks at 61.7 m; on Mars (3.73 m/s²) it goes about 107 m. Apollo astronauts' golf shots and hammer drops were memorable precisely because of this. Choose "Custom" to enter any other value of g, for example 9.81 or 9.8 to match a textbook.
Why real projectiles fall short
The calculator ignores air resistance, as introductory physics does. That is accurate for slow, heavy, compact objects over short distances, and in a vacuum. For fast or light objects, drag matters a great deal: a well-hit baseball or golf ball travels perhaps half its drag-free range, and spin can add lift that changes the path again. The optimum angle with drag is also lower than 45°. For falling objects with drag, see the terminal velocity calculator.
Tips
- Measure the launch angle from the horizontal.
- Enter the launch height above the level where the projectile lands, not above sea level.
- A negative angle throws downwards, for example from a cliff.
- Keep units consistent with the menus: speed in m/s, km/h, mph or ft/s, distances in metres or feet.
More questions
Is the vertical speed zero at the top of the path?
Yes, only the vertical part. At the peak the projectile stops rising and starts falling, so its vertical velocity is zero, but it keeps moving sideways at the same horizontal speed it had at launch. Its speed at the top is v cos θ, not zero.
Why does a ball dropped and a ball thrown sideways hit the ground together?
Because horizontal and vertical motion are independent. Both start with zero vertical velocity and fall under the same gravity, so they take the same time to reach the ground; the thrown ball simply covers horizontal distance while it falls. This is the classic monkey-and-hunter demonstration.
How do I convert km/h or mph to m/s?
Divide km/h by 3.6, or multiply mph by 0.44704. The calculator accepts m/s, km/h, mph and ft/s directly, and gives distances in metres or feet.
Can I use this for a cannon or a rocket?
For a cannon ball over a short distance, roughly, though drag makes a large difference at high speed. Not for a rocket: a rocket keeps accelerating while its engine burns, and projectile motion only begins once the engine stops.
Why do long jumpers take off at about 20°, not 45°?
Because a jumper cannot convert full running speed into a steep take-off; trying to jump at 45° costs far more horizontal speed than it gains. The 45° rule assumes the launch speed is the same at every angle, which is true for a cannon but not for a person.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.