Skip to content

Projectile Motion Calculator

Range, maximum height, time of flight and impact speed of a projectile, with its parabolic trajectory.

Your details

Unit system

Above the horizontal. 0° is a horizontal throw, 90° straight up; negative values aim downward.

°
s

Results update as you type

Horizontal range

135.389 ft

Maximum height
33.847 ft
Time of flight
2.901 s
Time to maximum height
1.451 s
Impact speed
45 mph
Impact angle (below horizontal)
45 °
Horizontal velocity vₓ
31.82 mph
Initial vertical velocity v_y
31.82 mph

Ideal model: no air resistance, flat ground and constant gravity. Real ranges of light or fast objects are shorter.

Step-by-step solution
  1. vₓ = v₀·cos θ = 31.82 mph ; v_y = v₀·sin θ = 31.82 mph
  2. T = (v_y + √(v_y² + 2g·h₀)) ÷ g = 2.901 s
  3. H = h₀ + v_y² ÷ (2g) = 33.847 ft
  4. R = vₓ · T = 135.389 ft

Throw a ball, kick a football or fire a water jet, and the path it follows is a curve called a parabola. As long as air resistance is small, that curve is completely determined by four numbers: the launch speed, the launch angle, the height you launch from and the strength of gravity. This projectile motion calculator turns those four inputs into everything you would want to know about the flight.

You get the horizontal range (how far it lands), the maximum height, the time of flight, the time it takes to reach the top, and the speed and angle at impact. The horizontal and vertical components of the launch velocity are shown too, because the whole method rests on treating them separately. Enter an optional time t and you also get the position of the projectile at that instant. A chart draws the trajectory to scale.

Gravity can be Earth's standard value (9.80665 m/s²), the Moon's or Mars's, or any value you type. And because the calculator can solve backwards, you can ask which launch speed or which angle gives a target range. Everything assumes the classic textbook model: no air resistance, flat ground and constant gravity. That is accurate for slow, dense objects over short distances and gives an upper bound for everything else.

How to use this calculator

  1. Enter the initial speed in m/s, km/h or mph.
  2. Enter the launch angle above the horizontal: 0° for a horizontal throw, 90° straight up, a negative angle to aim downward.
  3. Enter the initial height above the landing ground (0 if it lands at the level it started from).
  4. Choose the gravity: Earth, Moon, Mars, or "Other" to type g.
  5. Optionally enter a time t to see where the projectile is at that moment.
  6. Read the range, height, time and impact values, and look at the trajectory chart. Use Solve for to find the speed or angle that hits a given range.

The formula

Split the launch velocity into components, then treat each axis on its own: constant velocity horizontally, constant acceleration −g-g vertically.

vx=v0cos⁡θvy=v0sin⁡θv_x = v_0\cos\theta \qquad v_y = v_0\sin\theta
x(t)=vxty(t)=h0+vyt−12gt2x(t) = v_x t \qquad y(t) = h_0 + v_y t - \tfrac{1}{2} g t^2

The flight ends when y=0y = 0, which gives the time of flight, the range and the peak:

T=vy+vy2+2gh0gR=vxTH=h0+vy22gT = \frac{v_y + \sqrt{v_y^2 + 2 g h_0}}{g} \qquad R = v_x T \qquad H = h_0 + \frac{v_y^2}{2g}

When launch and landing are at the same height (h0=0h_0 = 0) these reduce to the familiar T=2v0sin⁡θ/gT = 2v_0\sin\theta/g, H=v02sin⁡2θ/(2g)H = v_0^2\sin^2\theta/(2g) and R=v02sin⁡2θ/gR = v_0^2\sin 2\theta/g. The vertical speed at impact is vy2+2gh0\sqrt{v_y^2 + 2 g h_0}, and the impact angle is its arctangent over vxv_x.

Worked example

A ball kicked at 20 m/s and 45° on flat ground (Earth, g = 9.80665 m/s²). Both components equal 14.142 m/s. The time of flight is 2×14.142/9.806652 \times 14.142 / 9.80665 = 2.884 s, the peak is 10.197 m high and the ball lands 40.789 m away, at 20 m/s — the same speed it was launched with, as expected without air resistance.

A stone thrown horizontally at 5 m/s from a 20 m cliff (g = 9.8 m/s²). It falls for 2×20/9.8\sqrt{2 \times 20 / 9.8} = 2.02 s and lands 10.102 m from the base of the cliff, at 20.42 m/s and 75.8° below the horizontal.

The same kick on the Moon (g = 1.62 m/s²) would travel about 246.9 m.

Parabolic trajectory: why the path is a parabola

Eliminate time between x=vxtx = v_x t and y=h0+vyt−12gt2y = h_0 + v_y t - \tfrac{1}{2} g t^2 and you get

y=h0+xtan⁡θ−g2v02cos⁡2θ x2y = h_0 + x\tan\theta - \frac{g}{2 v_0^2\cos^2\theta}\,x^2

which is a quadratic in xx: a downward-opening parabolic trajectory. Its vertex is the maximum height, and its symmetry explains why, on flat ground, the rise and the fall take exactly the same time. You can explore the curve itself with the parabola calculator.

Why 45° gives the longest range — and when it does not

On level ground the range is proportional to sin⁡2θ\sin 2\theta, which peaks at θ=45°\theta = 45°. Complementary angles give the same range: at 20 m/s, both 30° and 60° land 35.32 m away, but the 60° shot flies higher and stays in the air longer. When you launch from a height, the best angle is a little below 45°, because the projectile already has extra time to fall. With real air drag the optimum drops further, to roughly 35–42° for balls in sport.

Limits of the ideal model

The calculator ignores air resistance, spin, wind, the curvature of the Earth and the change of gravity with altitude. For a basketball shot or a stone thrown off a pier the error is small. For a golf ball, a badminton shuttle or an artillery shell, drag matters a lot and the real range can be far shorter than the ideal one. Use the results as a clean physics baseline, as in a textbook exercise.

Frequently asked questions

How do you calculate the range of a projectile?

On flat ground, R = v₀² sin(2θ) / g. For 20 m/s at 45° on Earth that is 400 / 9.80665 ≈ 40.79 m. From a height h₀, compute the time of flight T = (v_y + √(v_y² + 2gh₀)) / g first, then R = v₀ cos θ × T.

What is the maximum height of a projectile?

H = h₀ + (v₀ sin θ)² / (2g). It depends only on the vertical part of the launch velocity. A projectile launched straight up at 20 m/s rises about 20.4 m on Earth before falling back.

Does the calculator include air resistance?

No. It uses the standard ideal model with no drag, flat ground and constant gravity. Air resistance always shortens the range and lowers the peak, sometimes by a large amount for light or very fast objects.

Which angle gives the maximum range?

On level ground, 45°. Angles that add up to 90°, such as 30° and 60°, give the same range. When launching from above the landing level, the best angle is slightly less than 45°.

How do I find the launch speed needed to reach a distance?

Choose Initial speed in the Solve for menu and type the range you want. The calculator searches for the speed that lands exactly there for your angle, height and gravity. For the angle it returns the flatter of the two possible solutions (45° or less).

Sources

Last updated:

More Physics calculators

People also use