Projectile motion calculator with trajectory plot

Flight time, peak height and range for a 20 m/s launch at 35°, with the trajectory plotted in metres.

Free. You get your own copy of this worksheet to change and extend (sign-in required).

Short answer

How do you calculate the range, height and flight time of a projectile?

For launch speed v₀ and angle θ on level ground, flight time is T = 2·v₀·sin θ / g, peak height is H = (v₀·sin θ)² / (2g) and range is R = v₀·cos θ · T. At 20 m/s and 35° that is T = 2.34 s, H = 6.71 m and R = 38.3 m (no air resistance).

The worksheet

Every value below is the output of the Calcanvas compute engine for exactly these cells, evaluated top to bottom. Variables carry their units from one cell to the next.

1. Launch conditions

Angles can be typed in degrees; sin and cos convert them for you.

ƒx
v0 = 20 m/s= 20 m/s
ƒx
theta = 35 deg= 35 deg
ƒx
g = 9.81 m/s^2= 9.81 m/s²

2. Velocity components

Split the launch velocity into horizontal and vertical parts.

ƒx
vx = v0*cos(theta)= 16.383 m/s
ƒx
vy = v0*sin(theta)= 11.4715 m/s

3. Flight time, height and range

Metres per second divided by metres per second squared leaves seconds.

ƒx
T = 2*vy / g= 2.33874 s
ƒx
H = vy^2 / (2*g)= 6.70724 m
ƒx
R = vx*T= 38.3157 m

4. Trajectory

Height as a function of horizontal distance, sampled every metre for the plot.

ƒx
h(x) = x*tan(theta) - g*x^2 / (2*vx^2)= h(x)
ƒx
xs = (0, 1 .. 38) * m= [0 m, 1 m, 2 m, 3 m, 4 m, 5 m, 6 m, 7 m, …]
📈 Trajectory
02460102030xs (m)m
h(xs) — Height (m) against horizontal distance (m).

Make it yours

Open this example as a board and try a few changes. Results update as you type:

  • Set theta to 45 deg — the range peaks there.
  • Use g = 1.62 m/s^2 to throw it on the Moon.
  • Type the speed in km/h (v0 = 72 km/h) and read R.to(m) — still 38.3 m.

More examples

Start your first worksheet

Free during early access, no credit card. Open a canvas and watch your math add up in the right units.