Projectile Motion Calculator
Compute range, max height, time of flight, and velocity components from launch speed and angle. Assumes launch from ground level with no air resistance.
What Is Projectile Motion?
Projectile motion describes the curved path of an object launched into the air and subject only to gravity (and, in the idealized model, no air resistance). What makes projectile motion elegant is the principle of independence of motion: the horizontal and vertical components of the trajectory are completely independent of each other and can be analyzed separately.
Horizontally, with no air resistance, there is no force acting, so the horizontal velocity (v_x = v₀·cos θ) remains constant throughout the flight. Vertically, gravity acts continuously, causing the object to accelerate downward at g = 9.8 m/s². The vertical velocity starts at v_y₀ = v₀·sin θ, decreases to zero at the peak, then increases again until landing.
The combination of constant horizontal motion and uniformly accelerated vertical motion produces a parabolic trajectory — the characteristic arc shape of thrown balls, launched projectiles, and water fountains.
Key relationships for launch from ground level: the range R = v₀²·sin(2θ)/g is maximized at 45°, and complementary angles (e.g., 30° and 60°) produce the same range. The maximum height H = v₀²·sin²θ/(2g) is maximized at 90° (straight up). The time of flight T = 2v₀·sin θ/g is the total duration before landing.
Real projectiles deviate from this ideal due to air resistance, spin effects (Magnus force), and curvature of Earth over long ranges — but for most physics problems and many engineering applications, the ideal parabola model is excellent.
Formula Reference Table
| Quantity | Formula | Notes |
|---|---|---|
| Horizontal velocity | vx = v₀·cos θ | Constant throughout flight |
| Initial vertical velocity | vy₀ = v₀·sin θ | Decreases due to gravity |
| Range (flat ground) | R = v₀²·sin(2θ) / g | Max at θ = 45° |
| Max height | H = v₀²·sin²θ / (2g) | Height at peak of arc |
| Time of flight | T = 2v₀·sin θ / g | Total air time |
| Height at time t | y = vy₀·t − ½g·t² | Vertical position |
| Horizontal position | x = vx·t | Horizontal displacement |
| Horizontal cliff launch | T = √(2h/g) | From height h, horizontal launch |
3 Worked Examples
A ball is kicked at 25 m/s at a 45° angle. Find the range and time of flight.
- Range: R = v₀²·sin(90°)/g = 25² × 1 / 9.8 = 625/9.8 = 63.8 m
- Time of flight: T = 2 × 25 × sin(45°)/9.8 = 2 × 25 × 0.707/9.8 = 3.61 s
- Max height: H = 25² × sin²(45°)/(2 × 9.8) = 625 × 0.5/19.6 = 15.9 m
A javelin is released at 28 m/s at 35°. Find range, max height, and impact speed.
- Components: vx = 28 cos 35° = 22.94 m/s; vy₀ = 28 sin 35° = 16.06 m/s
- Range: R = 28² × sin(70°)/9.8 = 784 × 0.9397/9.8 = 75.2 m
- Max height: H = 16.06²/(2 × 9.8) = 258/19.6 = 13.2 m
- Impact speed: vx = 22.94 m/s (horizontal); vy_impact = −vy₀ = −16.06 m/s → v = √(22.94² + 16.06²) = 28 m/s
A ball rolls off a 78.4 m cliff at 15 m/s horizontally. Where does it land and how fast?
- Fall time: T = √(2h/g) = √(2 × 78.4/9.8) = √16 = 4 seconds
- Horizontal range: x = vx × T = 15 × 4 = 60 m from base
- Vertical speed at impact: vy = g × T = 9.8 × 4 = 39.2 m/s
- Total impact speed: v = √(15² + 39.2²) = √(225 + 1537) = 41.9 m/s
Real-World Applications
Common Mistakes to Avoid
Math.sin() and Math.cos() in JavaScript (and most programming languages) expect radians. Multiply degrees by π/180 before using trig functions, or your answers will be wildly wrong.
The maximum height formula comes from v_y² = v_y0² − 2gH at the peak (where v_y = 0). Solving gives H = v_y0²/(2g). The factor of 2 in the denominator is essential.
R = v₀²sin(2θ)/g only applies when launch and landing heights are equal. From a cliff, the horizontal range is longer (more time to fall), requiring the full kinematic equations.
Without air resistance, the projectile returns to the same height with the same speed. The direction changes (angle below horizontal = angle above at launch), but the magnitude is identical. Students sometimes recalculate instead of using this symmetry.
The 45° optimal angle assumes level ground and no air resistance. With air drag, the optimal angle drops to ~38–42°. Javelin throwers throw closer to 30–35° for this reason. On inclines, the optimal angle shifts further.
Frequently Asked Questions
Related Physics Calculators
Formula Explorer connections
Interpretation: This relationship connects motion, force, momentum, work or energy in a mechanical system. Assumption: Choose a consistent reference direction and unit system. The model may assume constant acceleration, rigid bodies, negligible losses or an isolated system.