Throw a ball, kick a football or fire a water jet, and the path it follows is a curve called a parabola. As long as air resistance is small, that curve is completely determined by four numbers: the launch speed, the launch angle, the height you launch from and the strength of gravity. This projectile motion calculator turns those four inputs into everything you would want to know about the flight.
You get the horizontal range (how far it lands), the maximum height, the time of flight, the time it takes to reach the top, and the speed and angle at impact. The horizontal and vertical components of the launch velocity are shown too, because the whole method rests on treating them separately. Enter an optional time t and you also get the position of the projectile at that instant. A chart draws the trajectory to scale.
Gravity can be Earth's standard value (9.80665 m/s²), the Moon's or Mars's, or any value you type. And because the calculator can solve backwards, you can ask which launch speed or which angle gives a target range. Everything assumes the classic textbook model: no air resistance, flat ground and constant gravity. That is accurate for slow, dense objects over short distances and gives an upper bound for everything else.
How to use this calculator
- Enter the initial speed in m/s, km/h or mph.
- Enter the launch angle above the horizontal: 0° for a horizontal throw, 90° straight up, a negative angle to aim downward.
- Enter the initial height above the landing ground (0 if it lands at the level it started from).
- Choose the gravity: Earth, Moon, Mars, or "Other" to type g.
- Optionally enter a time t to see where the projectile is at that moment.
- Read the range, height, time and impact values, and look at the trajectory chart. Use Solve for to find the speed or angle that hits a given range.
The formula
Split the launch velocity into components, then treat each axis on its own: constant velocity horizontally, constant acceleration vertically.
The flight ends when , which gives the time of flight, the range and the peak:
When launch and landing are at the same height () these reduce to the familiar , and . The vertical speed at impact is , and the impact angle is its arctangent over .
Worked example
A ball kicked at 20 m/s and 45° on flat ground (Earth, g = 9.80665 m/s²). Both components equal 14.142 m/s. The time of flight is = 2.884 s, the peak is 10.197 m high and the ball lands 40.789 m away, at 20 m/s — the same speed it was launched with, as expected without air resistance.
A stone thrown horizontally at 5 m/s from a 20 m cliff (g = 9.8 m/s²). It falls for = 2.02 s and lands 10.102 m from the base of the cliff, at 20.42 m/s and 75.8° below the horizontal.
The same kick on the Moon (g = 1.62 m/s²) would travel about 246.9 m.
Parabolic trajectory: why the path is a parabola
Eliminate time between and and you get
which is a quadratic in : a downward-opening parabolic trajectory. Its vertex is the maximum height, and its symmetry explains why, on flat ground, the rise and the fall take exactly the same time. You can explore the curve itself with the parabola calculator.
Why 45° gives the longest range — and when it does not
On level ground the range is proportional to , which peaks at . Complementary angles give the same range: at 20 m/s, both 30° and 60° land 35.32 m away, but the 60° shot flies higher and stays in the air longer. When you launch from a height, the best angle is a little below 45°, because the projectile already has extra time to fall. With real air drag the optimum drops further, to roughly 35–42° for balls in sport.
Limits of the ideal model
The calculator ignores air resistance, spin, wind, the curvature of the Earth and the change of gravity with altitude. For a basketball shot or a stone thrown off a pier the error is small. For a golf ball, a badminton shuttle or an artillery shell, drag matters a lot and the real range can be far shorter than the ideal one. Use the results as a clean physics baseline, as in a textbook exercise.
Frequently asked questions
How do you calculate the range of a projectile?
On flat ground, R = v₀² sin(2θ) / g. For 20 m/s at 45° on Earth that is 400 / 9.80665 ≈ 40.79 m. From a height h₀, compute the time of flight T = (v_y + √(v_y² + 2gh₀)) / g first, then R = v₀ cos θ × T.
What is the maximum height of a projectile?
H = h₀ + (v₀ sin θ)² / (2g). It depends only on the vertical part of the launch velocity. A projectile launched straight up at 20 m/s rises about 20.4 m on Earth before falling back.
Does the calculator include air resistance?
No. It uses the standard ideal model with no drag, flat ground and constant gravity. Air resistance always shortens the range and lowers the peak, sometimes by a large amount for light or very fast objects.
Which angle gives the maximum range?
On level ground, 45°. Angles that add up to 90°, such as 30° and 60°, give the same range. When launching from above the landing level, the best angle is slightly less than 45°.
How do I find the launch speed needed to reach a distance?
Choose Initial speed in the Solve for menu and type the range you want. The calculator searches for the speed that lands exactly there for your angle, height and gravity. For the angle it returns the flatter of the two possible solutions (45° or less).
Sources
- OpenStax University Physics Vol. 1 — 4.3 Projectile Motion
- Halliday, Resnick & Walker — Fundamentals of Physics (Wiley), chapter 4
- NIST CODATA — Standard acceleration of gravity, 9.80665 m/s² (exact)
- NASA NSSDC — Moon fact sheet (surface gravity 1.62 m/s²)
- NASA NSSDC — Mars fact sheet (mean surface gravity 3.73 m/s²)
Last updated: