Projectile motion calculator (range, height and time of flight)

Enter a launch speed and an angle in degrees, plus an optional height above the ground. The calculator reports range, time of flight, peak height and impact speed for a point mass with constant gravity and no air resistance.

Projectile motion calculator

How to use this tool

  1. Choose metric (metres, metres per second) or imperial (feet, feet per second). Do not mix the two in one problem.
  2. Enter the launch speed and the angle in degrees from the horizontal. Set the launch height to 0 if you start at ground level, or to the rail height of a catapult.
  3. Leave g on the default, or type the value your textbook uses. Press Calculate.
  4. Read range, times and heights from the table. The landing is defined as the moment the height is again zero (ground level), not the launch height, if those differ.

The model

A point mass leaves the point (0, h) with speed v at an angle θ above the horizontal. After that, the only acceleration is a constant downward g. The components of velocity are vₓ = v cos θ and vᵧ = v sin θ. Position as a function of time is x(t) = vₓ t and y(t) = h + vᵧ t − ½ g t². Setting y(t) = 0 and taking the positive root gives the time of flight t = [vᵧ + √(vᵧ² + 2 g h)] / g. The range is vₓ times that time. The highest point occurs at t = vᵧ / g when that instant still lies in the flight (otherwise, for a downward launch, the highest point is the start). The peak height above the launch point is vᵧ² / (2g).

When h = 0 and θ = 45°, the range formula simplifies to v² / g, which is a useful classroom check. Air resistance, lift and a sloping lawn are all left out on purpose so you can see the idealised number and then measure how far a real object falls short of it.

Worked example

Take a launch speed of 20 m/s at 45° from ground level, and set g = 9.81 m/s² (type 9.81 so the arithmetic is easy to check). Then vₓ = vᵧ = 20 / √2 ≈ 14.1421 m/s. Time of flight is 2 vᵧ / g ≈ 2.8818 s. Range is v² / g = 400 / 9.81 ≈ 40.7747 m. Peak height is vᵧ² / (2g) ≈ 10.1937 m. If you raise the same throw to a 1.5 m balcony, the time of flight grows because the object has further to fall, and the range increases with it. Those 20 m/s, 45°, g = 9.81 figures are the ones the automated tests use.

If you are building the site’s marshmallow catapult, measure a typical leaving speed as best you can, put in the rail height, and treat the calculated range as an upper bound to compare with a tape measure on a calm day.

Limitations

Frequently asked questions

What does “no air resistance” mean in practice?

The equations treat the only force after launch as a constant downward weight. A table-tennis ball, foam rocket or marshmallow is slowed by the air and will usually fall short of the range shown here. A denser ball thrown slowly over a few metres will be closer to the prediction.

Is the launch angle measured from the horizontal?

Yes. 0° is a flat throw, 90° is straight up, and 45° gives the longest range on flat ground when the launch height is zero and drag is ignored. Negative angles (downward) are allowed if you are launching from a height.

Where is the landing measured?

The projectile starts at (0, launch height) and lands when it next reaches ground level y = 0. If you launch from 0.3 m above the grass, the range is the horizontal distance until the object is back at grass height, not back at the rail height.

Which value of g should I use?

The default is 9.80665 m/s² in metric mode and 32.174 ft/s² in imperial mode. If a textbook problem says “take g = 9.8” or “g = 10”, type that. The standard-gravity value is a conventional average, not the reading from a local gravimeter.

Can I switch between metres and feet?

Yes, with the unit menu. Speed, height, gravity and every length or speed in the result table then share that system. The tool does not mix metres with feet in one calculation.

Is this a ballistics or safety calculator?

No. It is a classroom and backyard-experiment aid. It does not model rifles, wind, spin or ricochet, and it should not be used to aim anything that could injure someone.

More tools on this site

All free tools

Full tools index for this site.

Science calculators

Ohm’s law, projectile motion and LED resistor.

Ohm’s law calculator

Find voltage, current, resistance or power.

LED resistor calculator

Current-limiting resistor for a simple LED.

Land area converter

Bigha, guntha, gaj, katha, acre and hectare.

AC tonnage calculator

Room size to tons and BTU for Indian rooms.

Water tank capacity

Litres and days of storage from tank size.