Compute the maximum height, flight time, horizontal range, and landing velocity for a projectile launched with initial speed, angle, and elevation. Now with linear air resistance modelling, animation, and data export. Perfect for physics students, ballistics engineers, sports analysts, and curious minds.
In classical mechanics, projectile motion describes the motion of an object launched into the air and subject only to the force of gravity (and air resistance, when neglected). The maximum height — often denoted H or ymax — is the highest vertical position reached by the projectile during its flight. This occurs at the instant when the vertical component of velocity becomes zero: vy = 0.
H = y0 + ½ · (v0·sin θ)² / g
where v0 is initial speed, θ is launch angle, g is gravitational acceleration, and y0 is the initial height.
This elegant formula emerges from the kinematic equations of motion under constant acceleration. The vertical motion is independent of the horizontal motion — a foundational principle of Galilean relativity first articulated by Galileo Galilei in the early 17th century. The maximum height is directly proportional to the square of the initial speed and the square of the sine of the launch angle, and inversely proportional to gravity.
The motion is decomposed into horizontal and vertical components. Assuming no air resistance, the horizontal velocity vx remains constant throughout the flight, while the vertical velocity vy changes uniformly under gravity.
Step 1 — Velocity components:
Step 2 — Time to peak:
Step 3 — Maximum height:
Step 4 — Total flight time:
Step 5 — Horizontal range:
Step 6 — Impact velocity:
When linear air resistance is enabled, the equations become:
With drag coefficient k (1/s):
Maximum height and flight time are computed numerically (using Brent's method) for the drag case.
A soccer player takes a penalty kick from the penalty spot (11 m from the goal line). The goal is 2.44 m high, and the player wants to shoot the ball over the wall (which is 9.15 m away) and under the crossbar. Using this calculator, the player can test different launch speeds and angles. For example, with v₀ = 25 m/s, θ = 25°, and h₀ = 0.2 m (the ball's height at contact), the ball reaches a maximum height of about 5.7 m at a horizontal distance of 12.8 m — clearing the wall and dipping into the goal. The tool's visual trajectory helps the player understand the flight path intuitively.
All values computed with the same physics model used in this tool (no drag).
| Scenario | v₀ (m/s) | θ (°) | h₀ (m) | g (m/s²) | Max Height (m) | Range (m) |
|---|---|---|---|---|---|---|
| Golf drive | 45 | 12 | 0.05 | 9.81 | 4.45 | 84.2 |
| Baseball home run | 42 | 30 | 1.0 | 9.81 | 23.5 | 161.8 |
| Javelin throw | 30 | 38 | 1.8 | 9.81 | 18.7 | 92.3 |
| Long jump | 9.5 | 22 | 0.5 | 9.81 | 1.21 | 8.24 |
| Water fountain | 12 | 55 | 0.3 | 9.81 | 5.52 | 13.9 |
| Lunar landing | 20 | 30 | 2.0 | 1.62 | 33.2 | 219.6 |