Skip to content
Calc.

Projectile Motion Calculator

Compute the horizontal range, flight time and peak height of a projectile launched at any speed, angle and height on Earth, the Moon or Mars, ignoring air resistance.

Last updated: September 2026

Range

40.77 m

Formula below · 3 sources (physics.nist.gov, openstax.org, hyperphysics.phy-astr.gsu.edu) · Updated Sep 2026

Compare with similar

About this calculator

Projectile motion splits an object's path into independent horizontal and vertical components: horizontal velocity is constant (ignoring air resistance), while gravity decelerates then accelerates the vertical component. The horizontal range R when launched from height h is the textbook closed form: R = (v·cosθ / g) × [v·sinθ + √((v·sinθ)² + 2·g·h)]. This is derived by solving the vertical position equation y(t) = h + v·sinθ·t − ½·g·t² for the landing time (y = 0) and multiplying by the horizontal velocity v·cosθ. At h = 0 it reduces to the familiar R = v²·sin(2θ)/g because √((v·sinθ)²) = v·sinθ and the bracket becomes 2·v·sinθ, giving 2·v²·sinθ·cosθ/g = v²·sin(2θ)/g. Maximum range angle is 45° on level ground; at non-zero height the optimal angle drops below 45°. The model assumes constant gravity and no air drag; θ is converted from degrees to radians before computing sin and cos. The tiles add the time of flight, t = [v·sinθ + √((v·sinθ)² + 2·g·h)] / g, and the peak height, h + (v·sinθ)² / (2g). Real balls and bullets fall short of these figures because of air drag.

How to use

Suppose a ball is kicked at v = 20 m/s, angle θ = 45°, from height h = 0 m, with g = 9.81 m/s². Step 1 — v·cosθ = 20 × 0.7071 = 14.14 m/s, v·sinθ = 14.14 m/s. Step 2 — Inside the bracket: v·sinθ + √((v·sinθ)² + 2·g·h) = 14.14 + √(200 + 0) = 14.14 + 14.14 = 28.28. Step 3 — R = (v·cosθ / g) × bracket = (14.14 / 9.81) × 28.28 = 1.4414 × 28.28 ≈ 40.77 m. This matches R = v²·sin(2θ)/g = 400 × 1 / 9.81 = 40.77 m for the level-ground case. Now lift the launch point to h = 10 m: bracket = 14.14 + √(200 + 196.2) = 14.14 + 19.905 = 34.05; R = 1.4414 × 34.05 ≈ 49.08 m. Even a modest 10 m platform adds about 8 m of range at 45°. The default (20 m/s at 45° from the ground) stays in the air 2.88 s and peaks at 10.19 m.

Frequently asked questions

What launch angle gives maximum range for projectile motion?

For a projectile launched from ground level (h = 0), the optimal angle is exactly 45°, which maximises sin(2θ) = 1. When the launch height is greater than zero, the optimal angle shifts below 45° because the extra altitude effectively extends flight time. You can experiment with this calculator by varying the angle while keeping other inputs fixed to find the true maximum range for your scenario.

How does initial height affect projectile range and flight time?

A higher launch point gives the projectile more time in the air before it reaches the ground, increasing both range and total flight time. The formula accounts for this through the term 2·g·h inside the square root; as h grows, so does the square root, adding extra horizontal distance. Even a modest elevation—like throwing from a 2 m platform versus ground level—can meaningfully extend range at low angles.

Why is gravity 9.81 m/s²?

Standard gravity is defined as exactly 9.80665 m/s² (CODATA/NIST), usually rounded to 9.81 for calculations. Actual surface gravity varies from about 9.78 m/s² at the equator to 9.83 m/s² at the poles, which changes a range by well under 1%. Pick Moon (1.62 m/s²) or Mars (3.71 m/s²) to see how much farther the same throw goes in weaker gravity: range scales with 1/g.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.