Projectile Motion Calculator
Calculate range, maximum height, and flight time of a projectile.
What is Projectile Motion?
Projectile motion describes the curved path of an object launched into the air, moving under gravity's influence with no propulsion. From basketball shots to water fountain arcs to artillery shells, projectiles follow predictable parabolic trajectories determined by launch velocity, angle, and initial height. The motion separates into independent horizontal and vertical components — constant horizontal velocity combined with vertically accelerated motion.
Consider a soccer player kicking a ball at 20 m/s (72 km/h) at a 35° angle from ground level. The horizontal velocity component is v_x = 20 × cos(35°) = 16.4 m/s. The vertical component is v_y = 20 × sin(35°) = 11.5 m/s. Time to maximum height: t = v_y/g = 11.5 ÷ 9.81 = 1.17 seconds. Total flight time is double this: 2.34 seconds. Horizontal range: R = v_x × t_total = 16.4 × 2.34 = 38.4 meters. Maximum height: h = v_y²/(2g) = 132.25/19.62 = 6.74 meters. The ball traces a perfect parabola landing 38 meters away after soaring nearly 7 meters high.
How it Works: Formulas Explained
Projectile motion calculations use kinematic equations applied separately to horizontal and vertical components. Horizontal motion has zero acceleration (ignoring air resistance), so x = v_x × t where v_x = v₀ × cos(θ). Vertical motion experiences gravitational acceleration, so y = v_y × t - ½gt² where v_y = v₀ × sin(θ). The initial velocity v₀ and launch angle θ determine everything.
Let's calculate a complete trajectory. A golf ball is hit at 60 m/s at 12° above horizontal from a tee 0.05 m above ground. Horizontal velocity: v_x = 60 × cos(12°) = 58.7 m/s. Vertical velocity: v_y = 60 × sin(12°) = 12.5 m/s. Flight time found from y = 0 = 0.05 + 12.5t - 4.905t². Using quadratic formula: t = 2.56 seconds. Range: R = 58.7 × 2.56 = 150 meters — a professional-level drive. Maximum height occurs at t = 12.5/9.81 = 1.27 s: h = 0.05 + 12.5×1.27 - 4.905×1.27² = 8.0 meters above ground.
The calculator computes range, maximum height, flight time, and impact velocity. Impact velocity equals launch velocity (when landing at same height) due to energy conservation — the ball hits at 60 m/s but angled 12° below horizontal. Landing at different heights changes impact speed: landing lower means higher impact velocity, landing higher means lower impact velocity.
Step-by-Step Guide
- Enter initial velocity — Input the launch speed in meters per second. A baseball pitch at 145 km/h equals 40.3 m/s. A tennis serve at 200 km/h equals 55.6 m/s. Convert km/h to m/s by dividing by 3.6.
- Specify launch angle — Enter the angle in degrees above horizontal. Zero degrees is horizontal; 90° is straight up. Maximum range occurs at 45° (for level ground). A basketball free throw uses about 52°; a golf driver uses 10-15°.
- Set initial height — Input the launch height above the landing surface in meters. A basketball release point is about 2 m above ground. A cliff launch might be 50 m. Enter 0 for ground-level launches.
- Calculate velocity components — The calculator finds v_x = v₀ × cos(θ) and v_y = v₀ × sin(θ). For 30 m/s at 40°: v_x = 23.0 m/s, v_y = 19.3 m/s. These components evolve independently during flight.
- Review trajectory results — Results show range (horizontal distance), maximum height, total flight time, and impact velocity. A 30 m/s launch at 40° from ground level travels 90.5 m, reaches 19.0 m high, and flies for 3.93 seconds.
- Apply to your scenario — Use results for practical decisions. Will the ball clear the 3 m fence at 25 m distance? Does the water fountain spray reach the center of the pond? Adjust angle or velocity and recalculate to optimize.
Real-World Examples
Example 1: Basketball Three-Point Shot
A player releases a shot from 2.3 m height at 7 m/s, 52° angle. The hoop is 3.05 m high at 6.75 m distance (NBA three-point line). Horizontal velocity: v_x = 7 × cos(52°) = 4.31 m/s. Vertical velocity: v_y = 7 × sin(52°) = 5.52 m/s. Time to reach hoop horizontally: t = 6.75 ÷ 4.31 = 1.57 s. Ball height at this time: y = 2.3 + 5.52×1.57 - 4.905×1.57² = 2.3 + 8.67 - 12.1 = 3.07 m. The ball arrives at 3.07 m — just above the 3.05 m rim. Perfect arc!
Example 2: Fire Hose Water Stream
Firefighters aim a hose at 45° with water exiting at 25 m/s from 1.5 m height. Range calculation: v_x = 25 × cos(45°) = 17.7 m/s, v_y = 25 × sin(45°) = 17.7 m/s. Solving for y = 0: t = 3.68 s. Range: R = 17.7 × 3.68 = 65.1 meters. Maximum height: h = 1.5 + 17.7²/(2×9.81) = 17.5 meters. The stream reaches a second-story window 50 m away and 12 m high. Adjusting angle to 60° trades range for height when needed.
Example 3: Long Jump Competition
An athlete achieves 8.5 m in the long jump. Assuming optimal 45° takeoff angle and center of mass starting and landing at same height, we can find takeoff velocity. Range formula: R = v₀²/g for 45°. So v₀ = √(Rg) = √(8.5 × 9.81) = 9.13 m/s or 32.9 km/h — elite sprinting speed. In reality, takeoff angle is closer to 20-25°, requiring higher velocity. The athlete's center of mass also starts higher than it lands, adding distance.
Example 4: Artillery Shell Trajectory
A howitzer fires a shell at 400 m/s at 30° elevation. Ignoring air resistance (which significantly affects real artillery): v_x = 400 × cos(30°) = 346 m/s, v_y = 400 × sin(30°) = 200 m/s. Flight time: t = 2 × 200 ÷ 9.81 = 40.8 s. Range: R = 346 × 40.8 = 14,117 m or 14.1 km. Maximum height: h = 200²/(2×9.81) = 2,039 m — over 2 km high. Real shells experience significant air drag, reducing range by 30-50% and requiring higher angles for maximum range.
Example 5: Fountain Design
A decorative fountain should spray water to exactly 8 m height at the center of a 20 m diameter pool. For maximum height of 8 m: v_y = √(2gh) = √(2×9.81×8) = 12.5 m/s. For 10 m radius range: need v_x = 10/t where t = √(2h/g) = 1.28 s. So v_x = 10/1.28 = 7.8 m/s. Total velocity: v₀ = √(12.5² + 7.8²) = 14.7 m/s. Launch angle: θ = arctan(12.5/7.8) = 58°. The pump must deliver water at 14.7 m/s (53 km/h) at 58° angle.
Common Mistakes to Avoid
Neglecting air resistance when it matters: For light objects (ping pong balls, feathers) or high velocities (baseball pitches, golf drives), air resistance significantly alters trajectories. A baseball at 45 m/s experiences drag force comparable to its weight, reducing range by 30-40% compared to vacuum calculations. For dense, slow objects (cannonballs, basketballs at moderate speed), air resistance is negligible for basic calculations.
Using wrong angle reference: Launch angle must be measured from horizontal, not vertical. A 45° angle means halfway between horizontal and vertical. Some problems specify angle from vertical — convert by subtracting from 90°. Also ensure your calculator is in degree mode, not radian mode, when working with degrees.
Forgetting initial height: Launching from a cliff, building, or elevated platform adds flight time and range. A ball thrown horizontally from 20 m height takes t = √(2h/g) = 2.02 s to hit ground, traveling v_x × 2.02 meters. Ignoring the 20 m height would incorrectly predict immediate ground impact. Always account for launch height relative to landing surface.
Assuming 45° is always optimal: Maximum range occurs at 45° only when launching and landing at the same height. Launching from above the landing surface (throwing from a cliff) requires angles less than 45° for maximum range. Launching to a higher target (throwing uphill) requires angles greater than 45°. The optimal angle depends on the height difference.
Pro Tips
Use the range equation for quick estimates: For level ground launches, range R = v₀² × sin(2θ) / g. At 45°, sin(90°) = 1, giving R = v₀²/g. A 20 m/s launch achieves R = 400/9.81 = 40.8 m. This equation reveals that doubling velocity quadruples range — a 40 m/s launch travels 163 m. It also shows complementary angles (30° and 60°) produce equal ranges since sin(60°) = sin(120°).
Calculate clearance over obstacles: To check if a projectile clears a wall at distance x and height h_wall, find time to reach the wall: t = x/v_x. Then calculate projectile height: y = v_y×t - ½gt². If y > h_wall, it clears. A soccer ball kicked at 18 m/s, 30° from 20 m from goal must clear 2.44 m crossbar. At x = 20 m: t = 20/(18×cos30°) = 1.28 s, y = 18×sin30°×1.28 - 4.905×1.28² = 3.5 m — clears by over a meter.
Apply energy methods for impact speed: Conservation of energy gives impact velocity without calculating time. Initial energy: KE + PE = ½mv₀² + mgh₀. Final energy: ½mv² + mgh_f. Setting equal and canceling m: v = √(v₀² + 2g(h₀-h_f)). A ball launched at 20 m/s from 10 m height hits ground at v = √(400 + 2×9.81×10) = 24.5 m/s — faster than launch due to height drop.
Understand the independence principle: Horizontal and vertical motions are completely independent. A bullet fired horizontally and a bullet dropped from the same height hit the ground simultaneously (ignoring air resistance and Earth curvature). The fired bullet travels far horizontally but falls vertically at exactly the same rate as the dropped bullet. This counterintuitive fact demonstrates the independence of perpendicular motion components.
Account for moving targets: To hit a moving target, lead it by calculating where it will be when the projectile arrives. If a target moves at 5 m/s perpendicular to your line of fire and projectile flight time is 2 seconds, aim 10 meters ahead of the target's current position. This principle applies to shooting clay pigeons, passing in sports, and missile guidance systems.
Frequently Asked Questions
The parabola results from combining constant horizontal velocity with uniformly accelerated vertical motion. Horizontal position increases linearly with time (x = v_x×t). Vertical position follows a quadratic equation (y = v_y×t - ½gt²). Eliminating time between these equations gives y as a quadratic function of x — the definition of a parabola. This was first proven by Galileo in the 1600s.
Without air resistance, mass has no effect on the trajectory. A 1 kg ball and a 10 kg ball launched identically follow identical paths and land together. Gravity accelerates all masses equally (g = 9.81 m/s²). With air resistance, mass matters because drag force depends on size and shape, not mass, so heavier objects resist deceleration better. In vacuum, a feather and hammer fall together — demonstrated on the Moon by Apollo 15.
For launches from level ground landing at the same height, 45° produces maximum range. This balances horizontal velocity (maximized at 0°) against flight time (maximized at 90°). For launches from elevated positions, optimal angle is less than 45° — throwing from a cliff, nearly horizontal gives maximum range. For uphill targets, optimal angle exceeds 45°.
For dense objects at moderate speeds over short distances, calculations are accurate within a few percent. A basketball shot calculation predicts landing within 10-20 cm. For light objects, high speeds, or long distances, air resistance becomes significant. Golf ball calculations without drag overestimate range by 30-40%. Artillery uses complex models including drag, wind, air density, and even Coriolis effect from Earth's rotation for precision.
Related Calculators
You may also find these calculators useful: Kinetic Energy Calculator, Potential Energy Calculator, Acceleration Calculator, Centripetal Force Calculator.