Time of Flight Projectile Motion Calculator

How long will your projectile stay airborne before hitting the ground?

Enter your launch conditions — speed, angle, and starting height — to find exactly how long a projectile stays in the air, how far it travels, how high it peaks, and how fast it hits the ground. Works for sports, engineering checks, and physics problems.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Imagine throwing a ball off a bridge. The moment it leaves your hand, two completely independent things happen simultaneously: it keeps moving forward at the same horizontal speed it had when you released it, and it starts falling downward under gravity. Those two motions never interact — gravity does not slow the horizontal travel, and your throwing speed does not delay the fall. Time of flight is entirely determined by the vertical component.

The vertical motion follows a simple rule: the projectile accelerates downward at 9.81 meters per second every second it is in the air. If you launch upward at an angle, the projectile first fights gravity until it runs out of upward velocity, reaches its peak, then falls back down. The time to peak and the time falling back to ground height add up to total flight time. When you add an initial height above the ground, the projectile gets extra fall distance after returning to launch height, which extends flight time further.

The math behind this is a quadratic equation. Set up the vertical position equation — height equals initial height plus vertical velocity times time minus half of gravity times time squared — and solve for when height equals zero. The quadratic formula gives two solutions; the positive one is your time of flight. Every other output follows from that single number: multiply by horizontal velocity to get range, find the time when vertical velocity hits zero to get peak height, and reconstruct velocity components at impact to get impact speed.

When To Use This
Right tool, right situation

Use this calculator when you need a quick answer to a trajectory question and air resistance is small relative to the forces involved — low-speed launches, dense objects, or when an order-of-magnitude estimate is acceptable. Physics coursework, sports science sanity checks, gaming physics design, and amateur rocketry planning at low altitudes are all good fits.

Also appropriate when comparing trajectories: if you want to know whether angle A or angle B produces greater range given a fixed speed, the vacuum model gives the right ranking even if the absolute numbers are off. Relative comparisons are often useful even when absolute predictions are not.

Do not use this calculator as the sole reference for engineering decisions where impact location precision matters, such as artillery trajectory tables, civil engineering projectile hazard zones, or any application where air resistance, spin, wind, or altitude changes are significant. At speeds above roughly 50 m/s for light objects (baseballs, golf balls), or any speed for very low-density objects (shuttlecocks, foam balls), drag will meaningfully reduce range. In those cases, treat this result as a theoretical ceiling, not a prediction.

Common Mistakes
Why results sometimes look wrong

The most common mistake is confusing total speed with vertical velocity. People intuitively feel that a faster throw means longer air time, but time of flight depends only on the vertical component of velocity. Two throws at 30 m/s — one at 20 degrees, one at 70 degrees — travel the same horizontal distance but the steeper one stays airborne nearly three times longer.

A second frequent error is forgetting that 45 degrees only maximizes range on flat ground from ground level. As soon as you add initial height, the optimal angle drops. Launching from even 2 meters above ground pushes the optimal angle to around 44 degrees; launching from a cliff changes it dramatically. The calculator outputs the true optimal angle for your specific height.

The third mistake is applying vacuum results directly to sporting or engineering problems. A baseball pitcher throwing at 40 m/s sees roughly 15 percent less range than the vacuum prediction due to drag. A shuttlecock at the same speed might lose 50 percent or more. The calculator is accurate for physics problems and useful as an upper bound for real-world problems, but should not be used as a direct engineering specification where drag matters.

The Math
Worked examples and deeper derivation

The core equations use standard kinematic relationships under constant gravitational acceleration.

Vertical position at time t: y(t) = h0 + vy0 * t - (1/2) * g * t squared, where h0 is initial height, vy0 is vertical component of launch velocity (speed times sine of angle), and g is gravitational acceleration. Setting y(t) = 0 and applying the quadratic formula gives time of flight: t = (vy0 + sqrt(vy0 squared + 2 * g * h0)) divided by g.

Horizontal range: R = vx0 * t, where vx0 = speed times cosine of angle. Maximum height occurs when vertical velocity reaches zero: t_peak = vy0 / g, giving max height = h0 + vy0 squared / (2g). Impact speed combines both velocity components at t: impact speed = sqrt(vx0 squared + (vy0 - g * t) squared). Note that horizontal velocity never changes — only vertical velocity accelerates. Impact speed always equals launch speed when initial height is zero, because energy is conserved in the absence of air resistance.

Soccer free kick aimed at goal
Launch speed: 28 m/s, angle: 22 degrees, initial height: 0.3 m, gravity: 9.81 m/s squared
Time of flight is about 2.2 seconds and horizontal range is roughly 57 meters. A regulation soccer pitch is 90-120 m long, so this kick reaches the far end of the penalty box. The low angle keeps the ball below crossbar height for most of its flight, making it a viable shot rather than a lofted clearance.
Cliff launch — projectile fired from elevated position
Launch speed: 30 m/s, angle: 15 degrees, initial height: 45 m, gravity: 9.81 m/s squared
The initial height of 45 m extends time of flight to roughly 4.1 seconds versus 1.6 seconds from ground level at the same speed and angle. Horizontal range reaches about 119 meters. This illustrates why artillery on elevated ground achieves greater range than the same weapon on flat terrain — the extra height buys extra flight time, which converts directly into distance.
Mars rover ballistic payload drop
Launch speed: 12 m/s, angle: 60 degrees, initial height: 0 m, gravity: 3.72 m/s squared
On Mars, with gravity at 3.72 m/s squared, time of flight stretches to 5.6 seconds compared to 2.1 seconds on Earth for identical launch conditions. Horizontal range is about 33 meters. The lower gravity means a lofted trajectory is far more effective on Mars than intuition built from Earth experience would suggest — mission planners routinely need this recalculation for surface operations.
Expert Unlock
The thing most explanations skip

The formula assumes uniform gravitational acceleration, which holds to better than 0.5 percent up to about 20 km altitude. Above that, both g and atmospheric density change enough to matter. The model also treats the Earth as flat — for ranges beyond about 50 km, Earth curvature adds measurable range for ballistic trajectories. At the other extreme, the formula breaks for very short times of flight (under about 10 milliseconds) where structural dynamics and deformation of the projectile interact with trajectory in ways the point-mass model cannot capture.

What does the time of flight result actually tell you?

What is time of flight in projectile motion?
Time of flight is the total duration from launch until the projectile hits the ground or target surface. It depends entirely on vertical motion — gravity pulling the projectile down — not on horizontal speed. A faster horizontal launch at the same angle takes the same time in the air but lands further away.
Why does my projectile have a shorter range than the calculator predicts?
The most common reason is air resistance, which this calculator ignores. Drag acts opposite to velocity and reduces both range and time of flight. A golf ball hit at 60 m/s will travel roughly 20-30 percent less than the vacuum prediction. Other factors include crosswind, spin-induced lift, and variations in gravity with altitude.
Can I use this calculator for a projectile launched horizontally (0 degrees)?
A purely horizontal launch at exactly 0 degrees is a special case where vertical initial velocity is zero and the flight time depends entirely on initial height. The calculator requires a minimum angle of 1 degree to avoid this degenerate case. For a horizontal throw from height h, use the simpler formula: time equals the square root of 2h divided by g.

Need something this doesn't cover?

Suggest a tool — we'll build it →