Projectile Path

Without air resistance, a thrown object flies along a parabola.

range R = v² sin 2θ ÷ g  peak H = (v sin θ)² ÷ 2g

At the same speed, 45° gives the longest range (when it lands at launch height).

Real air drag makes the range shorter. Compare in Projectile Motion in the physics encyclopedia.

Calculator

Change a value and the result and picture update instantly.

Result

Range R (m)40.7886
Peak height H (m)10.1972
Flight time (s)2.88419

Animated picture

The picture follows your values. Some points and shapes can be dragged.

Use in game development

Jumps, thrown balls and trajectory preview lines for cannons use it.

Code example (JavaScript)

vy -= g * dt; x += vx * dt; y += vy * dt;

What the symbols mean

SymbolMeaning
vSpeed v (m/s)
degAngle θ (°)
gGravity g (m/s²)
rangeRange R (m)
heightPeak height H (m)
timeFlight time (s)

More formulas in this category

Frequently asked questions

What is the formula for Projectile Path?
The formula for Projectile Path is range R = v² sin 2θ ÷ g  peak H = (v sin θ)² ÷ 2g. Without air resistance, a thrown object flies along a parabola.

Math Formula Quiz Math for Game Development

Sources

Checked: 2026-11-29