Projectile motion calculator
A projectile that leaves from a height h₀ and lands at another height hf, with no air resistance. Type the values you have —the speed and angle, their components, the range, the time of flight, the maximum height or the arrival velocity— and leave empty what you are looking for. The tool splits the motion into a uniform horizontal motion and a vertical one with acceleration −g, picks at each step the equation with a single unknown and solves it with your numbers.
Theory and worked examples: Projectile motion.
What you can do
- Any combination of values, not only v₀ and θ: the components v₀ₓ and v₀ᵧ, the range, the time of flight, the maximum height, the rise time, or the arrival speed and angle.
- Launch and landing at different heights: from a cliff or a table to the ground, from the ground onto a roof, and the horizontal launch (θ = 0).
- Both solutions when there are two —two angles through the same point, or reaching a height on the way up or on the way down—, with a button to show each one.
- Every step names the equation it uses and shows the substitution; if you give more values than needed, it checks that they agree and warns you if they do not.
- If the landing point is out of reach at that speed, the minimum speed needed.
- Position and velocity at any instant, animated, with the vₓ and v_y vectors.
Frequently asked questions
Which launch angle gives the maximum range?
If the projectile lands at the level it was launched from, with no air resistance, 45°. Launched from a height above the ground, the best angle is somewhat less than 45°.
Why are there two angles to hit a point?
At the same speed, a low shot and a high shot can pass through the same point: the trajectory equation is quadratic in tan θ. At 25 m/s, a point 40 m away and 5 m up is hit at 27.73° or at 69.40°. If the discriminant is negative, the point is out of reach at that speed.
What does the time of flight depend on?
Only on the vertical motion: the vertical component v₀ sin θ, the height difference between launch and landing, and g. The horizontal component decides how far the projectile travels in that time.
Can you find v₀ and θ without knowing them?
Yes, from two other values besides the heights. A ball launched from the ground that lands 50 m away after 3 s left at v₀ = 22.23 m/s and θ = 41.44°; with a maximum height of 12 m and a range of 60 m, v₀ = 24.56 m/s and θ = 38.66°. A ball that leaves a 1.2 m table horizontally and lands 2 m away left at 4.04 m/s.
What if the projectile lands on a roof?
The landing point is higher than the launch point, and the time equation has two roots: the projectile passes that height on the way up and on the way down. Launched from the ground at 25 m/s and 50° toward a 10 m roof, it lands on the way down after 3.284 s, 52.76 m away, or on the way up after 0.621 s if the roof is closer.
Guide: projectile motion step by step
A kicked ball, a stone thrown from a cliff or the jet from a hose follow a parabola when air resistance is negligible. The key to solving them is that the horizontal and vertical motions are independent: the horizontal one is uniform and the vertical one is free fall. This guide gives the formulas, explains where they come from and how to solve a problem from any combination of values, and works through examples checked in the tool, with g = 9.81 m/s².
Two motions at once
With initial speed v0, angle θ above the horizontal and initial height h0, the initial velocity has components v0x = v0 cos θ and v0y = v0 sin θ. From then on,
x = v0x·t y = h0 + v0y·t − ½·g·t² vx = v0x vy = v0y − g·t
The horizontal component never changes because there is no horizontal force. Eliminating t between x and y, the height becomes a quadratic function of x: the path is a parabola. The projectile lands at a height hf, which can be the ground (0), a point below the launch or one above it, such as a roof; the height difference is Δy = hf − h0.
Main results
- Maximum height: if v0y > 0, when vy = 0, at tup = v0y/g; it is H = h0 + v0y²/(2g).
- Time of flight: the root of y = hf, tf = [v0y ± √(v0y² − 2g·Δy)]/g. With the + sign it lands on the way down; if the landing point is higher than the launch, the − sign gives the instant it reaches that height on the way up. From ground to ground, tf = 2v0 sin θ/g.
- Range: R = v0x·tf. From ground to ground, R = v0² sin 2θ / g, largest at 45°; two complementary angles give the same range.
- Arrival velocity: vx does not change and vfy = v0y − g·tf. The speed, also without the time, is vf = √(v0² − 2g·Δy), and the angle below the horizontal is φ = arctan(−vfy/v0x).
- Passing through a point: if the landing point is at distance R and height hf, substituting t = R/(v0 cos θ) into the equation for y and using 1/cos²θ = 1 + tan²θ gives a quadratic in tan θ. If its discriminant is positive there are two angles (a low shot and a high one), if it is zero there is only one, and if it is negative the point is out of reach. The minimum speed to get there is the one that makes the discriminant zero.
From any combination of values
You do not need to know v0 and θ. The tool takes the values you type, looks for an equation with only one unknown, solves it and repeats with what it knows now, until it has them all. Besides the ones above it uses tan θ = v0y/v0x, v0² = v0x² + v0y², H = h0 + v0y²/(2g), tup = v0y/g and the trajectory equation, Δy = R tan θ − g·R²/(2v0x²). In general two values of the launch or the landing are enough, plus the two heights; if h0 is not given, heights are measured from the launch point. When an equation has two solutions both are shown, and if there are more values than needed, the tool checks that every equation holds and warns you if one does not.
Worked examples
- From the ground at 20 m/s and 35°. tf = 2·20·sin 35°/9.81 = 2.339 s; R = 20²·sin 70°/9.81 = 38.32 m; H = (20·sin 35°)²/(2·9.81) = 6.707 m.
- Maximum range: 30 m/s at 45°. tf = 4.325 s, R = 30²/9.81 = 91.74 m and H = 22.94 m. At that speed and from the ground, no other angle goes farther.
- Horizontal throw from a 30 m cliff at 15 m/s. Since v0y = 0, the fall time depends only on the height: tf = √(2·30/9.81) = 2.473 s. The range is R = 15·2.473 = 37.10 m, and the projectile lands at 28.52 m/s, 58.27° below the horizontal.
- Hitting a point 40 m away and 5 m up at 25 m/s, from the ground. The equation in tan θ has two roots: θ = 27.73° and θ = 69.40°. Both shots are already coming down when they pass the point, but the high one gets there later and at a steeper angle.
- From the ground at 25 m/s and 50°, onto a 10 m roof. v0y = 25·sin 50° = 19.15 m/s, and 10 = 19.15·t − ½·9.81·t² has two roots. If it lands on the roof on the way down, the time of flight is 3.284 s and the range 52.76 m; the other root, 0.621 s, is the instant it reaches that height on the way up, in case the roof is closer.
- It leaves a 1.2 m table horizontally and lands 2 m away: how fast? With θ = 0, the fall time is √(2·1.2/9.81) = 0.4946 s, and v0 = 2/0.4946 = 4.04 m/s.
- It lands 50 m from the launch point after 3 s, from the ground. The horizontal motion gives v0x = 50/3 = 16.67 m/s, and the vertical one, with Δy = 0, v0y = 9.81·3/2 = 14.715 m/s. Then v0 = √(v0x² + v0y²) = 22.23 m/s and θ = arctan(v0y/v0x) = 41.44°.
- A maximum height of 12 m and a range of 60 m, from the ground. From H = v0y²/(2g), v0y = √(2·9.81·12) = 15.34 m/s; the time of flight is 2·15.34/9.81 = 3.128 s, so v0x = 60/3.128 = 19.18 m/s. Result: v0 = 24.56 m/s and θ = 38.66° (from ground to ground, tan θ = 4H/R = 0.8).
How to use the tool
- Under Launch, type what you know about the launch: the speed v0, the angle θ above the horizontal (negative if thrown downward, 0 for a horizontal launch), the components v0x and v0y, the initial height h0 and gravity g.
- Under Arrival and maximum height, type what you know about the rest: the final height hf (0 if it lands on the ground), the range R, the time of flight, the arrival speed, the arrival angle φ (below the horizontal), the maximum height H or the rise time. Leave empty what you are looking for. Ground to ground sets h0 = hf = 0 and Clear empties the data.
- To hit a point, type its distance as the range R and its height as hf, together with v0, and leave θ empty: both angles appear, each in its own button. If there are none, the tool states the minimum speed needed.
- Move the slider t or press ▶: the projectile travels along the parabola with its vx, vy and v vectors, and the tool gives its position and velocity at that instant.
- Check the step-by-step solution, where every step names the equation it uses, or load another case under Examples.
Common mistakes
- Using R = v0² sin 2θ / g or tf = 2v0 sin θ/g with a height difference. They only hold when the projectile lands at the level it was launched from.
- Keeping only one root when the landing point is higher than the launch: the projectile passes that height on the way up and on the way down, and you have to see which one the problem asks for.
- Thinking the velocity is zero at the maximum height. Only vy is zero; vx stays the same.
- A calculator in radians with the angle in degrees: the sine of 35 radians is not sin 35°.
- Mixing up the components: the time always comes from the vertical motion, and the range from the horizontal one.
- Giving the arrival angle from the vertical when it is asked from the horizontal, or the other way around: the two add up to 90°.
Further reading
The chapter on motion in two dimensions of any university physics textbook. On Simuveliq, the free fall and vertical throw tool studies the vertical part on its own, and the uniform and accelerated motion calculator solves each component separately.
More tools
Versión en español
About Simuveliq · How we verify the calculations · Terms of use · Privacy policy · Contact