Maths

Projectile Motion Calculator

Find the range, flight time and maximum height of a projectile from its speed, angle and height.

By Nitin Raturi · Last reviewed

Your worksheet

How to use the Projectile Motion Calculator

Find how far, how high and how long a thrown or launched object travels.

  1. Enter the launch speed and angle.
  2. Enter the launch height above the landing ground.
  3. Keep gravity at 9.8 m/s² for Earth, or change it.
  4. Read the range, then the flight time and maximum height.

Good to know

  • Air resistance is ignored, so real ranges are shorter.
  • From ground level, 45° gives the longest range.

Range = horizontal speed × flight time. Air resistance is ignored.

Launch speed (m/s)

How fast the object leaves the launch point.

How to fill it in

  • Enter 0.01 to 10,000 m/s. 1 km/h is 0.2778 m/s.

Example

20 m/s at 45° lands 40.82 m away.

Launch angle (°)

The angle above the horizontal.

How to fill it in

  • Enter 0° (level) to 90° (straight up).

Example

At 30° the same throw lands 35.35 m away; 60° gives the same range.

Launch height (m)

How far above the landing ground the launch point is.

How to fill it in

  • Enter 0 for ground level, up to 1,00,000 m.

Example

Thrown level at 15 m/s from 20 m, it lands 30.30 m out after 2.02 s.

Gravity (m/s²)

The downward acceleration: about 9.8 on Earth, 1.62 on the Moon.

How to fill it in

  • Enter 0.1 to 300 m/s².

Example

On the Moon the default throw goes 246.91 m.

Horizontal range

40.82 m

Launched at 20 m/s and 45° from 0 m, it flies 2.89 s, lands 40.82 m away and peaks at 10.20 m.

Time of flight
2.89 s
Maximum height
10.20 m
Time to the top
1.44 s
Horizontal speed
14.14 m/s
Initial vertical speed
14.14 m/s
Impact speed
20.00 m/s at 45.0° below horizontal

No air resistance; flat ground; gravity 9.8 m/s². Real balls fall short of these figures, more so at high speed.

How this calculator works

  1. Step 1Splitv cos θ, v sin θHorizontal and vertical speeds.
  2. Step 2Timevertical motionGravity decides how long it stays up.
  3. Step 3Rangevₓ × tHorizontal speed never changes.

A projectile’s motion splits into two parts. Horizontally nothing pushes or slows it, so its speed stays constant. Vertically, gravity slows it on the way up and speeds it on the way down.

The flight time comes from the vertical motion alone. Multiply it by the horizontal speed to get the range.

Worked example: 20 m/s at 45°

A ball thrown from the ground
t
(v_y + √(v_y² + 2gh)) ÷ g
R
vₓ × t
  1. Horizontal speed20 × cos 45°14.14 m/s
  2. Vertical speed20 × sin 45°14.14 m/s
  3. Flight time2 × 14.14 ÷ 9.82.89 s
  4. Maximum height14.14² ÷ (2 × 9.8)10.20 m
  5. Range14.14 × 2.8940.82 m

Read the result

  • 30°35.35 m
  • 45°40.82 m
  • 60°35.35 m
Range of a 20 m/s throw at three angles

From ground level, 45° gives the longest range, and angles that add to 90° give the same range.

  • On the Moon246.91 mWeaker gravity keeps it up six times longer.
  • Level from a 20 m cliff30.30 m15 m/s, falling for 2.02 s.

Assumptions and limits

  • No airDrag and wind are ignored.
  • Flat groundIt lands at height 0.
  • Constant gravityg does not change with height.
  • No spinSpin and lift are not modelled.

A projectile is constant acceleration in two directions at once.

For straight-line motion with constant acceleration, use the kinematics calculator. The kinetic energy calculator gives the energy at launch, and the speed calculator handles average speed.

Common mistakes

  • Mistake: Entering km/h as m/s.

    Instead: Divide km/h by 3.6.

  • Mistake: Using 45° from a height.

    Instead: From above the ground a lower angle reaches further.

  • Mistake: Expecting these ranges for real balls.

    Instead: Air resistance cuts them, especially at speed.

Checking the method

A separate script simulates every flight in tiny time steps, without the flight formulas, and matches each golden value.

Read how we test our calculators, or browse more maths calculators.

Frequently asked questions

How far does a ball thrown at 20 m/s and 45° go?

40.82 m, with a flight of 2.89 s and a top height of 10.20 m, ignoring air.

Why does 45° give the longest range?

From ground level, range is v² sin 2θ ÷ g, largest when 2θ = 90°. At 30° the same throw goes 35.35 m.

What if it is thrown from a height?

It stays up longer. Level at 15 m/s from 20 m it lands 30.30 m out.

How would it fly on the Moon?

With g = 1.62 m/s², the default throw goes 246.91 m.

Does it include air resistance?

No. It uses the ideal model taught in physics courses; real ranges are shorter.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 4 Nov 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release.