Time of Flight Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the launch speed, the angle and the launch height above the landing point to get how long the projectile stays in the air.
Result
Time of flightseconds
Vertical speed (m/s)
- Horizontal range (same length unit)
- Maximum height above the landing point (same length unit)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Units: choose Metric (m/s, m) or US (ft/s, ft).
- Launch speed: enter 0 or more.
- Launch angle above horizontal, in °: enter a number from -90 to 90.
- Launch height above the landing point: enter 0 or more.
- Read the result: Time of flight; the panel also shows Vertical speed (m/s), Horizontal range (same length unit) and Maximum height above the landing point (same length unit).
How this calculator works
With no air drag, height y(t) = h + v sin θ t − ½ g t². Setting y = 0 gives t = (v sin θ + √((v sin θ)² + 2gh)) ÷ g; range = v cos θ × t; peak height = h + (v sin θ)² ÷ (2g). g = 9.80665 m/s² (NIST CODATA 2022 values, read on physics.nist.gov/cuu on 2026-10-27), 1 ft = 0.3048 m.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Units | ||
| Launch speed | ||
| Launch angle above horizontal | ° | |
| Launch height above the landing point | ||
| Vertical speed (m/s) | ||
| Time of flight | seconds | |
rad(x) | the angle x, converted from degrees to radians. |
Worked example
| Units | Metric (m/s, m) |
|---|---|
| Launch speed | 20 |
| Launch angle above horizontal | 45 ° |
| Launch height above the landing point | 0 |
| Vertical speed (m/s) | 14.1421 |
|---|---|
| Horizontal range (same length unit) | 40.7886 |
| Maximum height above the landing point (same length unit) | 10.1972 |
Time of flight 2.8842 seconds
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How long does a ball launched at 20 m/s and 45° from the ground fly?
About 2.884 s, landing about 40.79 m away.
Which angle gives the longest range on flat ground?
45°, without air drag.