Projectile motion calculator
This projectile motion calculator takes the launch speed, launch angle and launch height of an object and returns the time of flight, the horizontal range, the maximum height, the impact speed and impact angle, and the position at any moment. It can also find the launch speed needed to reach a given distance, and it draws the trajectory.
Projectile motion calculator: range, height and flight time
How to use the projectile motion calculator
Enter the launch speed v₀, the launch angle θ measured from the horizontal, and the launch height h₀ above the point where the object lands. Pick the gravity (Earth, Moon, Mars or a custom value). The projectile motion calculator returns the horizontal range, the time of flight, the maximum height, where and when the top of the path is reached, and the speed and angle at impact. Every unit menu accepts SI or US units: type the speed in ft/s or km/h and the height in feet if that is how your problem is written. Fill in the optional time t to read the position and velocity at that moment, which is how many homework questions are phrased (“where is the ball after 1 s?”). The plot shows the path to scale, with the launch point, the top of the path, the point at time t and the landing point.
The second mode works backward: give a target distance, an angle and a launch height, and the projectile motion calculator finds the launch speed needed, then shows the full trajectory for that speed. Use this part of the projectile motion calculator for a ramp jump, a ball that must reach a target, or a water jet that must hit a spot.
Formulas used by the projectile motion calculator
Without air resistance the horizontal and vertical motions are independent. The horizontal velocity stays constant, and the vertical motion is a free fall with acceleration g downward. Splitting the launch velocity into components gives every result:
vy = v₀·sin θ
x(t) = vx·t
y(t) = h₀ + vy·t − ½·g·t²
Setting y = 0 and keeping the positive root of the quadratic gives the time of flight. The range is the horizontal speed times that time, and the top of the path is where the vertical velocity reaches zero:
R = vx·T
ttop = vy / g
H = h₀ + vy² / (2g)
For launch and landing at the same height (h₀ = 0), these reduce to the textbook results T = 2·v₀·sin θ / g, H = v₀²·sin²θ / (2g) and R = v₀²·sin 2θ / g. That last formula explains why 45° gives the longest range on level ground and why complementary angles such as 30° and 60° land at the same spot. From a raised launch point the best angle is below 45°. The launch speed for a target range comes from the path equation y = h₀ + x·tan θ − g·x²/(2·v₀²·cos²θ) with y = 0 at x = R. A full derivation is in OpenStax University Physics, section 4.3 Projectile Motion.
Worked example with the projectile motion calculator
A ball leaves a thrower’s hand at 20 m/s, 35° above the horizontal, 1.5 m above level ground, on Earth (g = 9.80665 m/s²). These are the default values of the projectile motion calculator, so you can follow each line under “Show the working”.
- Components: vx = 20 × cos 35° = 16.383 m/s and vy = 20 × sin 35° = 11.472 m/s.
- Time of flight: T = (11.472 + √(11.472² + 2 × 9.80665 × 1.5)) / 9.80665 = 2.4637 s.
- Range: R = 16.383 × 2.4637 = 40.36 m (132.4 ft).
- Top of the path: t_top = 11.472 / 9.80665 = 1.1698 s, H = 1.5 + 11.472² / (2 × 9.80665) = 8.21 m, reached 19.16 m downrange.
- Impact: the vertical velocity is 11.472 − 9.80665 × 2.4637 = −12.689 m/s, so the impact speed is √(16.383² + 12.689²) = 20.72 m/s at 37.76° below the horizontal.
- At t = 1 s the ball is at x = 16.38 m and y = 1.5 + 11.472 − 4.903 = 8.07 m, still rising at 1.66 m/s.
The ball lands slightly faster than it was thrown because it also fell the extra 1.5 m. If you switch to the second mode and ask for a 40 m range at the same angle and height, the calculator returns v₀ = 19.91 m/s, just under the 20 m/s of the example.
Range at different launch angles
Run the projectile motion calculator at several angles and the pattern is clear. The table gives the ideal range and maximum height for a launch speed of 20 m/s on level ground (h₀ = 0, g = 9.80665 m/s²). It shows the symmetry around 45° and how quickly the height grows at steep angles.
| Launch angle θ | Range R | Maximum height H | Time of flight T |
|---|---|---|---|
| 15° | 20.39 m | 1.37 m | 1.056 s |
| 30° | 35.32 m | 5.10 m | 2.039 s |
| 45° | 40.79 m | 10.20 m | 2.884 s |
| 60° | 35.32 m | 15.30 m | 3.532 s |
| 75° | 20.39 m | 19.03 m | 3.940 s |
Gravity values used by the calculator: 9.80665 m/s² is the standard acceleration of gravity on Earth (the conventional value used in SI). The Moon value of 1.62 m/s² and the Mars mean value of 3.73 m/s² are from the NASA planetary fact sheets. Choose them from the gravity menu of the projectile motion calculator: the same throw goes about six times farther on the Moon, because range scales with 1/g.
Where a projectile motion calculator helps
Physics classes use the ideal model to teach vector components and kinematics. Sports coaches and players use it to understand shot put, javelin, long jump and basketball arcs; in these the speeds are low enough that the ideal result from a projectile motion calculator is a good first estimate. Engineers and makers use it for water jets from a nozzle, items falling off a conveyor, a ramp jump for a model car, or a trebuchet project. For a purely vertical drop, the Free Fall Calculator is simpler, and for the speed and acceleration of motion in a straight line see the Speed Distance Time Calculator and the Acceleration Calculator. The energy of the projectile at launch and impact follows from the Kinetic Energy Calculator and the Potential Energy Calculator.
Common mistakes in projectile problems
Using the level-ground formula from a height. R = v₀²·sin 2θ / g only holds when launch and landing are at the same level; from a cliff or a hand height it underestimates the range. The projectile motion calculator always uses the general formula with h₀. Mixing up the angle. In the projectile motion calculator the angle is measured from the horizontal, not from the vertical; if your figure gives the angle from the vertical, enter 90° minus it. Degrees and radians. A calculator set to radians turns sin 35 into −0.43; the unit menu here makes the choice explicit. Forgetting the components. The horizontal speed is v₀·cos θ, not v₀; the vertical speed at the top is zero, but the speed there is vx, not zero. Expecting real balls to match. Air resistance shortens the range of fast, light objects a lot (a hit baseball or a golf ball travels much less than the ideal value) and makes the path asymmetric, with a steeper descent. To split a velocity into components by hand, the Right Triangle Calculator does the trigonometry.
Related calculators
More motion tools are on the physics calculators page; for collisions and impulse use the Momentum Calculator.
- Free Fall Calculator
- Kinetic Energy Calculator
- Speed Distance Time Calculator
- Acceleration Calculator
- Right Triangle Calculator
- Momentum Calculator
- All physics calculators
Frequently asked questions
What angle gives the maximum range?
On level ground with no air resistance, 45° gives the maximum range, R = v₀²/g. From a raised launch point the best angle is a little below 45°, and with air resistance it is lower still, often 35° to 42° for real balls.
How do you calculate the time of flight of a projectile?
Solve y(t) = h₀ + v₀·sin θ·t − ½·g·t² = 0 for the positive t: T = (v₀·sin θ + √((v₀·sin θ)² + 2·g·h₀)) / g. On level ground (h₀ = 0) this is T = 2·v₀·sin θ / g. The projectile motion calculator shows this step with your numbers.
Does mass affect projectile motion?
Not in the ideal model: every object has the same acceleration g, so mass does not appear in the formulas and the projectile motion calculator does not ask for it. With air resistance a heavier object of the same size and shape slows down less, so it goes farther.
Why is the speed at impact higher than the launch speed?
When the landing point is below the launch point the object falls an extra height h₀ and gains speed: v_impact² = v₀² + 2·g·h₀. On level ground the impact speed equals the launch speed, as the projectile motion calculator shows when you set h₀ = 0.
Can the projectile motion calculator include air resistance?
No. It uses the standard no-drag model taught in physics courses. Air resistance needs the drag coefficient, area and mass and a numerical solution; treat the results of this projectile motion calculator as the upper limit for range and height.
Is this projectile motion calculator free?
Yes. It is free, runs in your browser, needs no sign-up and does not store the values you enter.