Projectile Motion Calculator

Enter a launch speed, angle, and height to get the range, maximum height, and time in the air, with every step worked out. Change a value to see a new path drawn beside the old ones.

Inputs

° above horizontal
Use a negative angle for a downward throw.
Height above the landing ground.

Results

This launchEarlier launches
Step-by-step solution

How the Projectile Motion Calculator Works

Once a projectile leaves the hand, the only force on it (ignoring air) is gravity, pulling straight down. That gives the key idea: the sideways motion and the up-down motion are separate problems that share the same clock.

vₓ = v₀ cos θ    (constant)
vy = v₀ sin θ − g t
x = vₓ t
y = h₀ + v₀ sin θ · t − ½ g t²

Setting y = 0 and solving the quadratic gives the time of flight. Multiply that time by the steady sideways speed and you have the range. The maximum height comes from the moment the vertical velocity reaches zero.

t = (v₀ sin θ + √((v₀ sin θ)² + 2 g h₀)) / g
R = vₓ t     hmax = h₀ + (v₀ sin θ)² / (2g)

When the launch and landing heights match (h₀ = 0), these simplify to the familiar R = v₀² sin 2θ / g and t = 2 v₀ sin θ / g.

Worked Example: A Soccer Kick

A ball leaves the ground at 25 m/s at 35° above horizontal. How far does it go?

  1. Split the velocity: vₓ = 25 cos 35° = 20.5 m/s, v_y = 25 sin 35° = 14.3 m/s.
  2. Time in the air: t = 2v_y / g = 2 × 14.3 / 9.81 = 2.92 s.
  3. Range: R = vₓ t = 20.5 × 2.92 = 59.9 m.
  4. Peak height: v_y² / (2g) = 10.5 m, reached after 1.46 s.

Kick the same ball from the top of a 30 m cliff and the time in the air grows to 4.33 s and the range to 88.8 m. Try it in the calculator.

Common Mistakes

  • Using the full speed for the sideways distance. Only vₓ = v₀ cos θ carries the ball sideways. Multiplying v₀ by the time overstates the range.
  • Thinking the ball has zero speed at the top. Only the vertical velocity is zero at the peak; the ball is still moving sideways at vₓ.
  • Using t = 2v₀ sin θ / g from a height. That shortcut only works when the projectile lands at the height it started from.
  • Calculator in radians. sin 45 in radian mode is 0.85, not 0.71. Check the mode before trusting an answer.
  • Sign of g. Pick "up is positive" and keep it: the acceleration is then −9.81 m/s². In y = h₀ + v₀ sin θ · t − ½ g t² the minus sign is already written in, so g = +9.81 m/s² there; putting in −9.81 as well counts the sign twice.

Questions

What angle gives the longest range?

On level ground with no air resistance, 45°. Launched from a height, a lower angle wins: from 30 m up at 25 m/s the best angle is about 35.7°, giving 88.8 m. The tool shows the best angle for your inputs under the results.

Why do 30° and 60° land in the same place?

On level ground, range depends on sin 2θ, and sin 60° = sin 120°. Any two angles that add to 90° give the same range; the steeper one flies higher and stays up longer.

Does mass matter?

Not without air resistance. Gravity gives every object the same acceleration, so a bowling ball and a tennis ball launched the same way follow the same path. With air, light, wide objects fall short.

How accurate is this for a real ball?

For dense, slow objects (a shot put, a basketball shot) it is close. For fast or light ones (a baseball hit, a golf drive) air resistance can cut the range by a third or more, so treat the answer as an upper limit.

What value of g does it use?

Earth uses 9.81 m/s², the usual classroom value (the standard value is 9.80665 m/s²; real gravity varies by about 0.5% with latitude and height).

Related Tools