Projectile Motion Calculator
Launch a projectile and get its range, time of flight, maximum height and impact velocity with every step shown. Or work backward: find the launch speed or the launch angle(s) needed to hit a target. Works in metric or Imperial units, for Earth, the Moon, Mars, Jupiter or any custom gravity.
Background
Projectile motion is motion under gravity alone. With no air resistance, the horizontal velocity stays constant while the vertical velocity changes by g every second, which makes the path a parabola. Splitting the launch velocity into horizontal and vertical parts turns every problem into two simple constant-acceleration problems linked by time: x = v₀ cos θ · t and y = y₀ + v₀ sin θ · t − ½ g t².
How to use this calculator
- Choose Launch when you know the launch speed and angle and want the range, flight time, maximum height and impact velocity.
- Choose Horizontal Launch for something that leaves a cliff, table or roof moving sideways. Enter the sideways speed and the height.
- Choose Solve for Speed to find the launch speed needed to hit a target at a given angle. The target can be at the launch height or higher.
- Choose Solve for Angle(s) to find the angle or angles that hit a target at a given speed. You will usually get a low arc and a high arc.
- Set the launch height, unit system, angle units and gravity, then click Calculate to see the result, a callout explaining what it means, a labeled diagram and every step with your numbers substituted.
How projectile motion works
A projectile is anything launched and then left to move under gravity alone. With no air resistance, the only acceleration is g, straight down. Nothing pushes it sideways.
Horizontal and vertical motion are independent. Sideways, the speed never changes. Up and down, the velocity changes by g every second. The two are linked only by time.
Split the launch velocity into components: v₀ₓ = v₀ cos θ (sideways) and v₀y = v₀ sin θ (up). Angles are measured from the horizontal, so θ = 0° is a flat throw and θ = 90° is straight up.
The projectile rises until its vertical velocity reaches zero, at t = v₀y/g, reaching a height of v₀y²/(2g) above where it started. At the peak it is still moving sideways at v₀ₓ.
It lands when its height returns to the landing level. Solving 0 = y₀ + v₀y t − ½ g t² with the quadratic formula gives the flight time. Range is then just v₀ₓ × flight time.
Launching and landing at the same height makes the path symmetric: the landing speed equals the launch speed, and the angle below horizontal at landing equals θ. Complementary angles (θ and 90° − θ) give the same range, and 45° gives the longest.
Launching from a height breaks the symmetry. The flight is longer, the projectile lands faster than it left, and the best angle for distance drops below 45°.
To hit a target, combine x(t) and y(t) into one path equation, y(x) = y₀ + x tan θ − g x² / (2 v₀² cos² θ). Solving it for v₀ gives the speed needed; solving it for θ gives a quadratic in tan θ, which usually has two answers: a flat low arc and a high lob.
Formulas & Equations Used
Velocity components: v₀ₓ = v₀ cos θ, v₀y = v₀ sin θ
Position: x(t) = v₀ₓ t, y(t) = y₀ + v₀y t − ½ g t²
Time to peak and maximum height: t_peak = v₀y / g, y_max = y₀ + v₀y² / (2g)
Time of flight (landing at y = 0): t_f = [v₀y + √(v₀y² + 2 g y₀)] / g
Range: R = v₀ₓ t_f (from the ground: R = v₀² sin 2θ / g)
Impact velocity: v_y = v₀y − g t_f, v = √(v₀ₓ² + v_y²)
Path equation: y(x) = y₀ + x tan θ − g x² / (2 v₀² cos² θ)
Speed to hit a target: v₀² = g x² / [2 cos² θ (y₀ + x tan θ − y_T)]
Angles to hit a target: K t² − x t + (K + y_T − y₀) = 0, t = tan θ, K = g x² / (2 v₀²)
Gravity used: Earth 9.8 m/s² (32.2 ft/s²) by default; standard 9.80665 m/s²; Moon 1.62; Mars 3.71; Jupiter 24.79 m/s²
Example Problems & Step-by-Step Solutions
Example 1 — Classic 45° launch
A ball is kicked at v₀ = 20 m/s and θ = 45° from the ground (y₀ = 0). Use g = 9.8 m/s².
Step: v₀ₓ = v₀y = 20 cos 45° = 14.14 m/s. Flight time t_f = 2v₀y/g = 2.89·… = 2.89 s. Range R = v₀ₓ t_f = 14.14 × 2.89.
Result: R ≈ 40.8 m, maximum height v₀y²/(2g) = 10.2 m, and it lands at the same 20 m/s it left with.
Example 2 — Launch from a platform
A ball is thrown at 18 m/s and 30° from a platform 10 m above the ground (g = 9.8 m/s²).
Step: v₀ₓ = 15.59 m/s, v₀y = 9.00 m/s. t_f = [v₀y + √(v₀y² + 2g y₀)] / g = [9.0 + √(81.0 + 196.0)] / 9.8 = 2.62 s. R = 15.59 × 2.62.
Result: R ≈ 40.8 m, peak height 14.1 m, impact speed 22.8 m/s, faster than the 18 m/s launch because it fell 10 m below the start.
Example 3 — Horizontal launch off a cliff
A rock rolls off a 12 m cliff at 9 m/s (g = 9.8 m/s²).
Step: For a horizontal launch v₀y = 0, so t_f = √(2y₀/g) = √(24/9.8) = 1.56 s. R = vₓ t_f = 9 × 1.56.
Result: R ≈ 14.1 m. It hits at v_y = −g t_f = -15.3 m/s, an impact speed of 17.8 m/s at 59.6° below horizontal.
Example 4 — Thrown downward
A ball is thrown from a 30 m roof at 10 m/s, 20° below the horizontal (θ = −20°, g = 9.8 m/s²).
Step: v₀ₓ = 10 cos(−20°) = 9.40 m/s and v₀y = 10 sin(−20°) = -3.42 m/s (downward). The projectile never rises, so the maximum height is y₀ = 30 m. t_f = [v₀y + √(v₀y² + 2g y₀)] / g = 2.15 s.
Result: R = 9.40 × 2.15 ≈ 20.2 m, impact speed 26.2 m/s.
Example 5 — Speed for a free throw
A player releases a basketball 2.1 m high at θ = 50°. The rim is 3.05 m high and 4.6 m away (g = 9.8 m/s²).
Step: v₀² = g x² / [2 cos²θ (y₀ + x tanθ − y_T)] = 9.8 × 4.6² / [2 × 0.413 × (2.1 + 4.6 × 1.192 − 3.05)] = 207.4 / 3.745.
Result: v₀ ≈ 7.44 m/s, close to real free-throw release speeds.
Example 6 — Two angles to hit a target
At v₀ = 25 m/s, which angles hit a target 60 m away on level ground (g = 9.8 m/s²)?
Step: K = g x²/(2v₀²) = 9.8 × 3600 / 1250 = 28.22. Solve K t² − 60 t + K = 0 (t = tanθ): D = 3600 − 4K² = 413.6, t = (60 ± 20.34) / 56.45 = 0.703 or 1.423.
Result: θ ≈ 35.1° (low arc) or 54.9° (high arc). They are complementary: 35.1° + 54.9° = 90°.
Example 7 — Earth versus the Moon
The same throw as Example 1 (20 m/s, 45°) on the Moon, where g = 1.62 m/s².
Step: On level ground R = v₀² sin 2θ / g. On Earth, 400 × 1 / 9.8; on the Moon, 400 × 1 / 1.62.
Result: Earth 40.8 m versus Moon 246.9 m: about 6.0 times farther, because g is 6.0 times smaller.
Example 8 — Imperial units
A football is kicked at 120 ft/s and 45° from the ground, using g = 32.2 ft/s².
Step: v₀ₓ = v₀y = 84.85 ft/s. t_f = 2v₀y/g = 5.27 s. R = 84.85 × 5.27.
Result: R ≈ 447.2 ft, max height 111.8 ft. Every formula is the same; only the units of g change.
Frequently Asked Questions
Why do I sometimes get two launch angles?
A target is usually reachable by a flat, fast low arc and a high, slow lob. Mathematically the path equation is a quadratic in tan θ, so it has two roots. On level ground the two angles add up to 90°.
Why is my target unreachable?
Every launch speed has a farthest point it can reach at a given height. If the target is beyond that, the quadratic has no real solution. The calculator tells you the farthest distance reachable so you can adjust the speed or move the target.
Which value of g does the calculator use?
By default 9.8 m/s² (32.2 ft/s² in Imperial), the value most textbooks use, and it is shown in every result. You can switch to the standard 9.80665 m/s² (32.174 ft/s²), to the Moon, Mars or Jupiter, or to a custom value.
Does this include air resistance?
No. This is the ideal model with only gravity acting. Real projectiles, especially light or fast ones, travel shorter distances because of drag.
Why does 45° give the longest range only sometimes?
Only when the projectile lands at the same height it launched from. If it launches from a height, the best angle is lower than 45°, and if the target is higher than the launch point it is higher.
Why is the landing speed equal to the launch speed?
When launch and landing heights match, the projectile gains back exactly the kinetic energy it lost on the way up. Launched from a height, it lands faster because it falls farther than it rose.
What does a negative launch angle mean?
The angle is measured from the horizontal, so a negative angle throws the projectile downward. The calculator accepts −90° to 90°, and a downward throw never rises above its starting height.
Do the formulas change in Imperial units?
No. The physics is identical, and the calculator works directly in feet and ft/s with g in ft/s². Switching units does not convert the numbers you have already typed, so re-enter them.
Can I type the angle in radians?
Yes. Switch Angle units to radians and type values such as 0.5 or pi/6. The calculator shows results in both degrees and radians where it helps.
How accurate are the results?
The math is exact for the ideal model. Values are carried at full precision and shown to the number of decimals you pick, so a hand calculation using rounded intermediate numbers can differ in the last digit.