Projectile Motion: Velocity & Angle from Max Height and Range
Solve the inverse projectile problem: enter a desired maximum height and range to calculate the exact initial velocity and launch angle required.
Inputs
Results
Inverse projectile motion
Inverse projectile motion is the problem of recovering the launch conditions — initial velocity and launch angle — from the trajectory they produce, specified here by a maximum height and a horizontal range. The forward problem starts from a known speed and angle and asks where the projectile lands; the inverse problem starts from a desired peak height and range and asks what initial velocity and launch angle are required to hit them. For any feasible pair of target values there is exactly one launch velocity and one launch angle that produce both simultaneously.
How the two targets fix the launch
The vacuum projectile model describes the motion with two relationships. For the symmetric ground-to-ground case (initial height ):
where is maximum height, is range, is initial speed, is launch angle from horizontal, and is gravity. These are two equations in the two unknowns and , so a known pair determines both.
Taking the ratio eliminates :
which isolates the angle:
Substituting back into the height equation gives the speed:
The derivation reduces to two steps: solve for the angle from the height-to-range ratio, then solve for the speed.
How angle responds to the height-to-range ratio
The relation has a direct geometric reading: the height of the trajectory's peak relative to the range sets the launch angle. The table below lists the angle for several ratios.
| H / R ratio | Required angle θ | Trajectory shape |
|---|---|---|
| 0.05 | 11.3° | Very flat |
| 0.10 | 21.8° | Flat shot — a baseball line drive |
| 0.25 | 45.0° | The classic max-range angle |
| 0.50 | 63.4° | Lobbed — basketball arc |
| 1.00 | 76.0° | Nearly vertical |
The 0.25 row recovers the familiar 45° result from the other direction: at 45° the apex sits exactly above the ground.
Worked example
Consider an arrow that must clear a 6 m wall and land 30 m away. With $H = 6$ and $R = 30$, the calculator returns and a velocity around 17.4 m/sa 20 ft wall and land 100 ft away. With $H = 20$ ft and $R = 100$ ft (or 6 m and 30 m), the calculator returns and a velocity around 17.5 m/s ≈ 57.4 ft/s (on Earth). The angle follows from , and the speed from substituting that angle into the height equation.
Variations and edge cases
- Non-zero initial height. When the launch sits above the landing surface — a cliff, a table edge, or a basketball release point — the maximum height is still measured from the landing surface, so it must be at least as large as the initial height. With the angle generalises to ; the simple relation is the special case . A higher launch reaches the same and with a flatter angle. For landings on a sloped surface rather than flat ground at a different elevation, use the incline calculator instead.
- Single solution per target. Each feasible pair maps to exactly one and one . When is large — for instance , which pushes past 45° — the math still resolves, but the trajectory becomes increasingly steep and, in reality, increasingly dominated by drag.
Applications and limits
The same target can be reached two ways — a flat fast trajectory or a high slow one — which makes the inverse view useful for teaching the range-versus-height trade-off: holding fixed and varying shows the angle climb from a flat shot toward a near-vertical lob, with velocity increasing in both directions away from the optimum 45°.
The inverse calculation also appears in reverse-engineering recorded motion. A long jumper's hang time and distance are public: hang time gives flight time and distance gives range, from which takeoff velocity and angle can be recovered and compared across athletes. Mike Powell's 1991 world-record long jump (8.95 m, ≈1.0 s in the air, peak ~0.5 m) yields a takeoff angle around 12.6° and ~14.4 m/s under the vacuum model. The model overstates speed and flattens the angle relative to tracked biomechanics data — a reminder of how much air resistance and the body's lift profile affect a real athlete.
Pre-1900 field-artillery doctrine relied on charts performing this same calculation by hand: given a desired ridgeline clearance (maximum height) and a target distance, the gunner read off elevation and powder charge. The vacuum approximation the calculator reproduces is the classical core of those tables, which then corrected heavily for drag, wind, and Earth rotation.
These results assume the vacuum model. Real projectiles deviate substantially: a baseball loses 20–40% of its vacuum range to drag, while a dense bullet loses much less by mass though still a measurable amount. For ballistics, sports analysis, or engineering work where precision matters, use a model that incorporates drag.
Frequently Asked Questions (FAQ)
How can two unknowns (velocity and angle) be solved from two inputs?
Maximum height H and range R give two equations in v₀ and θ. Taking the ratio H/R eliminates v₀ and yields tan θ = 4H/R, so the angle drops out directly. Plugging θ back into either original equation then gives v₀. There is exactly one solution per (H, R) pair.
What is the relationship between H/R and launch angle?
For a ground-to-ground throw (initial height = 0), tan θ = 4H/R. At θ = 45° the apex sits exactly at H = R/4. With a non-zero initial height h₀ (and H measured from the ground), the relation generalises to tan θ = 2·((H − h₀) + √(H·(H − h₀))) / R — a higher launch lets you reach the same H and R with a flatter angle.
Does this calculator account for air resistance?
No. It uses the vacuum model. Real projectiles experience drag, which reduces both range and peak height. A baseball or arrow can lose 20–40% of its vacuum range to air resistance; bullets and dense projectiles less so.
Can I use this for a launch from a hill or cliff?
Yes. Set initial height to the launch elevation above the landing surface; max height is then measured from that same landing surface (so it must be at least as large as the initial height). The calculator handles asymmetric launch/landing altitudes directly. For launches onto a sloped surface (rather than a flat ground at a different altitude), use the incline-projectile calculator instead.
Disclaimer
This is a vacuum model and ignores air resistance, wind, the Magnus effect, and Earth rotation. For ballistics, sports analysis, or engineering work where precision matters, use a model that incorporates drag.