Projectile Motion Calculator
Compute the range, maximum height, and flight time of a projectile launched at any angle and initial height. Ideal for physics students, engineers, and sports analysts studying ballistic trajectories.
Last updated: May 2026
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.
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. ✓ 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.07 m. Even a modest 10 m platform adds about 8 m of range at 45°.
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 gravitational acceleration set to 9.81 m/s² in projectile calculations?
9.81 m/s² is the standard average gravitational acceleration at Earth's surface, defined by the International System of Units. In reality, g varies slightly with latitude (9.78 m/s² at the equator, 9.83 m/s² at the poles) and altitude. For most engineering and classroom problems the difference is negligible, but you can override this field to model projectiles on other planets—for example, use g = 3.72 m/s² for Mars.