Key facts
- Launched from ground level: range R = v₀² × sin(2θ) ÷ g, max height H = (v₀ sin θ)² ÷ 2g.
- At 20 m/s and 45° on Earth, a projectile travels 40.8 m and rises 10.2 m.
- From flat ground, 45° gives the longest range; complementary angles (30° and 60°) give equal ranges.
- Horizontal speed stays constant; only the vertical speed is changed by gravity.
How projectile motion works
Once a ball, arrow or stone leaves your hand, the only force on it (ignoring air) is gravity, which pulls straight down. So its motion splits neatly into two independent parts: a horizontal motion at constant speed and a vertical motion with constant downward acceleration g. Together they trace a parabola. Galileo worked this out in the early 1600s.
How to use the projectile motion calculator
- Enter the launch speed v₀ in m/s and the launch angle θ above the horizontal.
- Enter the launch height above the landing level (0 for flat ground).
- Choose the gravity: Earth, Moon, Mars or Jupiter.
- Read the range, maximum height, flight time, time to the peak, velocity components and impact speed, plus a trajectory table.
Projectile motion formulas
vₓ = v₀ cos θ vᵧ = v₀ sin θx(t) = vₓ t y(t) = h₀ + vᵧ t − ½ g t²Time of flight: t = (vᵧ + √(vᵧ² + 2gh₀)) ÷ gMaximum height: H = h₀ + vᵧ² ÷ 2gRange on flat ground (h₀ = 0): R = v₀² sin(2θ) ÷ g| Symbol | Meaning | SI unit |
|---|---|---|
| v₀ | Launch speed | m/s |
| θ | Launch angle above horizontal | degrees |
| h₀ | Launch height above landing level | m |
| g | Gravitational acceleration | m/s² |
| vₓ, vᵧ | Horizontal and initial vertical velocity | m/s |
Step-by-step examples: projectile motion
Example 1: a 45° throw
v₀ = 20 m/s, θ = 45°, from ground level. vₓ = vᵧ = 14.14 m/s. Flight time = 2 × 14.14 ÷ 9.81 ≈ 2.88 s, maximum height = 14.14² ÷ (2 × 9.81) ≈ 10.2 m, range = 400 × sin 90° ÷ 9.81 ≈ 40.8 m.
Example 2: a football kick
v₀ = 25 m/s at 30°. Range = 625 × sin 60° ÷ 9.81 ≈ 55.2 m, maximum height = (12.5)² ÷ 19.61 ≈ 8.0 m, flight time ≈ 2.55 s.
Example 3: thrown horizontally from a cliff
A stone is thrown horizontally at 10 m/s from a 20 m cliff. It falls for √(2 × 20 ÷ 9.81) ≈ 2.02 s and lands 10 × 2.02 ≈ 20.2 m from the base.
Range at different angles (v₀ = 20 m/s, flat ground)
| Angle | Range | Max height | Flight time |
|---|---|---|---|
| 15° | 20.4 m | 1.4 m | 1.06 s |
| 30° | 35.3 m | 5.1 m | 2.04 s |
| 45° | 40.8 m | 10.2 m | 2.88 s |
| 60° | 35.3 m | 15.3 m | 3.53 s |
| 75° | 20.4 m | 19.0 m | 3.94 s |
From a raised launch point, the best angle is a little less than 45°.
The effect of air resistance
Real projectiles lose speed to drag, so they fall short of these predictions, and the best launch angle drops, often to 35° to 40° for balls. Spinning balls can also curve or lift (the Magnus effect). Treat these results as an upper limit for fast or light objects.
Pitfalls with projectile motion
- Using the angle in radians. Enter degrees.
- Applying the flat-ground range formula from a height. Use the full time-of-flight formula, as this calculator does.
- Thinking horizontal speed decreases. Without air, it stays the same all the way.
- Forgetting that speed at the top is not zero. Only the vertical component is zero; the horizontal part remains.
From cannonballs to baseballs
The mathematics of projectiles began with artillery. Niccolò Tartaglia studied the paths of cannonballs in *Nova Scientia* (1537), and Galileo Galilei showed in *Two New Sciences* (1638) that, ignoring air, a projectile follows a parabola because its horizontal motion is steady while its vertical motion accelerates downward. That is the model this calculator uses, and it predicts that 45° gives the longest range on level ground.
Real projectiles feel air resistance, which shortens the range and lowers the best angle. In baseball, Major League Baseball’s Statcast tracking system shows that home runs mostly leave the bat at launch angles of about 25° to 35°, and golf drives launch lower still because backspin creates lift. Long-range artillery and ballistic missiles need corrections for drag, Earth’s rotation (the Coriolis effect) and changing air density, which were among the problems early computers such as ENIAC were built to solve. On the Moon, with no air and one-sixth of Earth’s gravity, the simple model works almost perfectly, which is why the calculator lets you change gravity. For straight-down motion, use the free fall calculator; for the energy at launch, the kinetic energy calculator; and for the angle maths, the sine calculator.
Related: free fall calculator and kinetic energy calculator.
How this calculator works
- Velocity components: vx = v₀ cos θ, vy = v₀ sin θ.
- Time of flight from launch height h₀: t = (vy + √(vy² + 2gh₀)) ÷ g; range = vx × t.
- Maximum height = h₀ + vy² ÷ 2g; impact speed = √(vx² + (vy − gt)²).
- Air resistance is ignored. Gravity can be set to Earth (9.80665), Moon (1.62), Mars (3.71) or Jupiter (24.79 m/s²).
Frequently asked questions
What angle gives the maximum range?
45° on flat ground with no air resistance. From a height, or with air resistance, the best angle is lower.
What is the formula for the range of a projectile?
On level ground, R = v₀² × sin(2θ) ÷ g.
How do I find the maximum height of a projectile?
H = (v₀ sin θ)² ÷ 2g, plus the launch height if it starts above the ground.
How long is a projectile in the air?
On flat ground, t = 2v₀ sin θ ÷ g. From a height h₀, use t = (v₀ sin θ + √((v₀ sin θ)² + 2gh₀)) ÷ g.
Why do 30° and 60° give the same range?
Because sin(2 × 30°) = sin(2 × 60°) = sin 60°. Complementary angles give equal ranges on level ground, but the higher angle stays in the air longer.
Does mass affect projectile motion?
Not without air resistance. All objects accelerate downward at g regardless of mass.
What is the velocity at the top of the trajectory?
The vertical velocity is zero; the object still moves horizontally at v₀ cos θ.
What path does a projectile follow?
A parabola, when air resistance is negligible.