Time of Flight Calculator

Time of Flight

Calculate the total time a projectile remains in the air during its flight path.

Last updated: March 2026 | By Summacalculator

Total Time (t)
2.883
Seconds

What is Time of Flight?

Time of flight (TOF) is the total duration from when a projectile is launched until it returns to its initial height (or impacts the ground). In physics, this is one of the fundamental properties of projectile motion, derived from kinematic equations combining initial velocity, launch angle, and gravitational acceleration. The remarkable insight: time of flight depends only on the vertical component of velocity (v₀ sin θ) and gravity (g), entirely independent of horizontal velocity. A cannonball and a thrown ball with the same launch angle and vertical speed component will be airborne for identical times, even if their horizontal speeds differ dramatically.

TOF has profound practical applications across sports, ballistics, aerospace, and engineering. In projectile sports (baseball, golf, basketball), athletes instinctively optimize launch angle for maximum flight time or distance. Military and police use TOF calculations for ballistics and trajectory prediction. Aerospace engineers use it for rocket staging analysis and water droplet trajectories in computational fluid dynamics. Numerical physics simulations and computer graphics engines rely on TOF formulas to animate realistic projectile motion. Understanding TOF is essential for physics education, mechanical engineers analyzing mechanisms, roboticists programming throwing arms, and anyone studying classical mechanics or motion under gravity.

How to Use This Calculator

Step 1: Enter the initial velocity (v₀) in meters per second. This is the speed at which the projectile launches. Examples: baseball pitch ~40 m/s, golf drive ~60 m/s, water fountain ~10 m/s, artillery shell ~800 m/s.

Step 2: Enter the launch angle (θ) in degrees (0° to 90°). The angle has dramatic effect: 0° (horizontal) gives t = 0 (projectile never goes up). 90° (straight up) gives maximum time for given speed. 45° gives maximum range, but not maximum time. Different angles give different flight times; 30° and 60° give the same range but different times (complementary angles for range, not time).

Step 3: Enter the gravitational acceleration (g) in m/s². Earth surface: 9.81 m/s²; Moon: 1.62 m/s² (6× longer flight). Lesser gravity means projectiles stay airborne proportionally longer. This is why astronauts could throw objects far on the Moon.

Step 4: The calculator instantly displays total flight time in seconds. This is when the projectile returns to launch height, ignoring air resistance and ground obstacles.

Formula:

t = (2 × v₀ × sin(θ)) / g
t = (2 × v_y) / g (where v_y = vertical component)
  • t = Time of flight (seconds)
  • v₀ = Initial velocity (m/s)
  • θ = Launch angle (degrees)
  • g = Gravitational acceleration (m/s²)
  • Example Calculation

    A tennis player hits a serve at an initial velocity of 50 m/s (112 mph) at a launch angle of 5° (nearly horizontal, typical for a fast serve that clears the net with minimal verticality). Earth's gravity is 9.81 m/s². How long is the ball in the air?

    Given:
    v₀ = 50 m/s (tennis serve speed)
    θ = 5° (nearly horizontal serve)
    g = 9.81 m/s² (Earth gravity)
    Calculate sin(θ):
    sin(5°) = 0.0872
    Calculate Time of Flight:
    t = (2 × v₀ × sin(θ)) / g
    t = (2 × 50 × 0.0872) / 9.81
    t = 8.72 / 9.81
    t = 0.889 seconds
    Compare with Steeper Angle (45°):
    Same serve at 45°:
    sin(45°) = 0.707
    t = (2 × 50 × 0.707) / 9.81 = 7.21 seconds
    Physical Meaning:
    Real-World Context: 0.889 seconds flight time is realistic for a net-hugging tennis serve that travels ~26 meters (baseline distance). The low angle is intentional: maximizes horizontal range, minimizes hang time for opponent reaction.
    Key Insight: Steeper angle (45°) gives 8.1× longer flight time (7.21 sec vs 0.89 sec) but much lower horizontal distance, which is why fouls occur.
    Independence: Horizontal velocity (which also ≈ 50 m/s at low angle) doesn't affect TOF—only vertical component matters.

    Frequently Asked Questions

    What angle gives the maximum time of flight?

    90° (straight up). Launching at 90° puts all velocity into the vertical component, maximizing airtime. At 45°, you get maximum range (horizontal distance), not maximum time. For example: v₀ = 20 m/s gives t = 4.08 sec at 90° but only 2.89 sec at 45°.

    Do complementary angles give the same flight time?

    No, this is a common misconception. Complementary angles (like 30° and 60°) produce the SAME RANGE, not the same flight time. For time of flight, sin(30°) = 0.5 while sin(60°) ≈ 0.866, so they produce different times. For example, at 20 m/s, 30° gives t ≈ 2.04 sec while 60° gives t ≈ 3.53 sec. Complementary angles give identical range using different vertical/horizontal velocity splits, but NOT identical flight times.

    Why does TOF not depend on horizontal velocity?

    Time of flight depends only on the vertical motion: v_y = v₀ sin(θ). The time for an object to go up and come back down is determined by vertical velocity and gravity, independent of sideways motion. A bullet fired horizontally and a ball dropped from the same height hit the ground simultaneously (ignoring air resistance).

    How does air resistance affect time of flight?

    Air resistance acts against the velocity vector (both horizontal and vertical components), not purely horizontally. It removes energy from motion in all directions. For most projectiles, air resistance primarily reduces range (horizontal distance) more significantly than it affects flight time. However, for very slow-moving or high-drag projectiles (shuttlecock, feather), air resistance can extend flight time by reducing vertical velocity loss. For accurate ballistics, numerical simulations must account for this complex drag interaction across the entire flight path.

    What if launch and landing heights differ?

    If the projectile lands at a different height (h meters below launch), use t = [v₀ sin(θ) + √(v₀² sin²(θ) + 2gh)] / g. For landing 10 meters below, TOF increases; for landing 10 meters above, TOF decreases. This modified formula is essential for cliff-launched projectiles or artillery firing downhill.

    How does gravity on other planets change TOF?

    TOF is inversely proportional to gravity: t ∝ 1/g. The Moon (g ≈ 1.62 m/s²) gives 6× longer flight than Earth. Mars (g ≈ 3.71 m/s²) gives 2.6× longer. This is why astronauts could throw balls extremely far on the Moon: low gravity meant high flight times and horizontal distances with modest throwing speeds.

    Is there a relationship between TOF and range?

    Yes. Range R = v₀² sin(2θ) / g and TOF t = 2v₀ sin(θ) / g. Combining: R = (v₀ cos(θ)) × t (horizontal velocity times flight time). Maximum range (45°) and maximum TOF (90°) occur at different angles. A sports coach optimizes angle based on whether distance or hang time matters more.

    Can TOF be used for altitude measurement?

    Yes. By dropping an object and measuring fall time (measured from the projectile's landing/impact), you can estimate height: h ≈ (1/2)gt². Or, if you throw a ball up in a known gravity field and measure TOF, you can extract initial velocity: v₀ = (g × t) / (2 sin(θ)). This principle is used in sonic range finders and some altitude-measuring devices.

    Related Tools

    Related Tools