Physics

Projectile motion calculator

Projectile motion is the curved path of an object launched into the air and moving under gravity alone. This projectile motion calculator takes the launch speed, angle and height and returns the horizontal range, maximum height, time of flight and impact speed, plus a table of points along the trajectory.

m/s
°
m

Runs in your browser. Nothing you type is sent to us.

Horizontal range

40.7886 m

Launched at 20 m/s and 45°, ignoring air resistance

Maximum height
10.1972 m
Time of flight
2.8842 s
Time to peak
1.4421 s
Horizontal velocity (vₓ)
14.1421 m/s
Initial vertical velocity (vᵧ)
14.1421 m/s
Speed on impact
20 m/s

Trajectory

Time (s)Distance x (m)Height y (m)
000
0.3615.0994.461
0.72110.1977.648
1.08215.2969.56
1.44220.39410.197
1.80325.4939.56
2.16330.5917.648
2.52435.694.461
2.88440.7890

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

  1. Enter the launch speed v₀ in m/s and the launch angle θ above the horizontal.
  2. Enter the launch height above the landing level (0 for flat ground).
  3. Choose the gravity: Earth, Moon, Mars or Jupiter.
  4. 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
SymbolMeaningSI unit
v₀Launch speedm/s
θLaunch angle above horizontaldegrees
h₀Launch height above landing levelm
gGravitational accelerationm/s²
vₓ, vᵧHorizontal and initial vertical velocitym/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)

AngleRangeMax heightFlight time
15°20.4 m1.4 m1.06 s
30°35.3 m5.1 m2.04 s
45°40.8 m10.2 m2.88 s
60°35.3 m15.3 m3.53 s
75°20.4 m19.0 m3.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.

Sources

  1. OpenStax, College Physics 2e
  2. NIST CODATA, standard acceleration of gravity

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Projectile motion calculator." calcroster.com/projectile-motion-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.