Projectile Motion Calculator

Last updated: 2026-09-01

Projectile Motion Calculator — Calculate projectile motion parameters.
Inputs
Result
Enter values and press Calculate
Common Examples — Click to Fill
Initial velocityLaunch angleInitial height
Escala laboratorio 8180.4
Uso domestico 1431.50.7
Aplicacion industrial 20451
Ingenieria civil 3067.51.5
Escala cientifica 50112.52.5

TL;DR: To calculate projectile motion, use the formula Range = (v₀² × sin(2 × θ)) / g for a flat surface, where you input the initial velocity (v₀) in m/s, the launch angle (θ) in degrees, and the initial height (h₀) in meters; for launches from a height, solve the quadratic equation h₀ + (v₀ × sin(θ) × t) - (0.5 × g × t²) = 0 to find the flight time, then multiply by horizontal velocity (v₀ × cos(θ)) to get the range.

What Is the Projectile Motion Calculator?

The Projectile Motion Calculator is a physics tool designed to compute the key kinematic parameters of an object launched into the air under the influence of gravity alone. It eliminates the need for manual algebraic manipulation, providing instant results for range, flight time, maximum height, and impact velocity. This calculator is essential for students taking introductory physics or AP Mechanics courses, engineers designing ballistic trajectories, sports scientists analyzing throwing or kicking techniques, and hobbyists launching model rockets or water balloons.

Unlike simple speed-distance calculators, this tool handles two-dimensional motion. It decomposes the initial velocity into horizontal and vertical components, treating them independently. The horizontal component remains constant (ignoring air resistance), while the vertical component is affected by gravity. By inputting the initial speed, the launch angle relative to the horizontal, and the starting height above the ground, the calculator solves the standard kinematic equations. The primary output is the range — the total horizontal distance the projectile travels before hitting the ground — but it also provides time-of-flight and maximum altitude, which are critical for understanding trajectory shape.

How to Use the Calculator

Using this tool requires only three inputs. Follow these steps precisely to obtain accurate results:

  1. Enter the initial velocity (v₀): Type the launch speed in meters per second (m/s). For example, enter '20' for a speed of 20 m/s. This is the magnitude of the velocity vector at the moment of release.
  2. Enter the launch angle (θ): Input the angle in degrees relative to the horizontal. A flat throw is 0°, a straight-up throw is 90°, and a 45° angle gives maximum range on level ground. Enter '45' for a 45-degree launch.
  3. Enter the initial height (h₀): Specify the starting elevation of the projectile above the landing surface, in meters. If launching from ground level, enter '0'. If throwing from a 1.5 m tall platform, enter '1.5'.
  4. Click the Calculate button: The calculator processes the three inputs and displays the primary result — the range in meters. It simultaneously computes and displays the flight time (seconds) and maximum height (meters) for a complete analysis.

The order of inputs matters for clarity, but not for the math — the formulas are commutative with respect to input order. However, ensure you use consistent units (meters for distance, seconds for time) to avoid numerical errors.

Formula and Calculation Method

The calculator uses the standard kinematic equations for constant acceleration. The core method involves splitting the initial velocity into components, determining the time of flight, and then computing horizontal displacement.

Step 1: Resolve the velocity.
The horizontal velocity (vₓ) is constant and equals v₀ × cos(θ). The vertical velocity (v_y) at launch equals v₀ × sin(θ). Gravity (g) acts downward at 9.81 m/s².

Step 2: Find the time of flight (t).
The vertical position equation is: h(t) = h₀ + (v₀ × sin(θ) × t) - (0.5 × g × t²). Set h(t) = 0 (ground level) and solve the quadratic for t. The positive root is the flight time. For h₀ = 0, this simplifies to t = (2 × v₀ × sin(θ)) / g.

Step 3: Calculate the range (R).
Multiply horizontal velocity by flight time: R = vₓ × t = v₀ × cos(θ) × t. For h₀ = 0, this reduces to R = (v₀² × sin(2θ)) / g.

Worked example with real numbers:
Given: v₀ = 20 m/s, θ = 45°, h₀ = 0 m.
1. vₓ = 20 × cos(45°) = 20 × 0.7071 = 14.14 m/s.
2. v_y = 20 × sin(45°) = 14.14 m/s.
3. Flight time = (2 × 14.14) / 9.81 = 28.28 / 9.81 = 2.88 seconds.
4. Range = 14.14 × 2.88 = 40.7 meters.
Notice that 45 degrees maximizes range for ground-level launches because sin(2 × 45°) = sin(90°) = 1, the maximum sine value.

Practical Examples

Here are three realistic scenarios to illustrate how different inputs affect the results. Each uses the same calculator but with varying parameters.

Scenariov₀ (m/s)Angle (°)h₀ (m)Range (m)Flight Time (s)Max Height (m)
Ground-level baseball throw2530055.22.557.96
Cliff launch (arrow shot)301050112.63.8151.4
Vertical mortar fire40600141.47.0661.2

In the cliff launch scenario, the initial height adds significant range compared to a ground-level launch with the same velocity and angle — a ground-level 30 m/s throw at 10° only reaches 31.5 m. The height extends the flight time, allowing the projectile to travel further horizontally. The mortar example demonstrates that a steeper angle produces higher maximum altitude but shorter range than 45° (which would yield 163 m for 40 m/s).

Tips for Accurate Results

To get reliable outputs from this calculator, follow these practical guidelines:

  • Verify realistic input ranges: For most human-powered throws, v₀ is between 5 and 45 m/s. A professional baseball pitch is ~45 m/s, a jogger's throw ~15 m/s. For angles, 0° to 90° are physically possible; negative angles are only valid if launching downhill. For heights, h₀ is typically 0 to 2 m for human throws, but can be hundreds of meters for artillery from a cliff.
  • Never input zero or negative values where positive numbers are required: A zero initial velocity will always produce a range of 0 m (the object drops straight down). A negative angle is mathematically valid but physically represents launching into the ground — the calculator will return a range of 0 or an error. A negative height is impossible in standard scenarios.
  • Do not round intermediate results: If you manually verify calculations, keep at least 4 significant digits (e.g., cos(45°) = 0.7071, not 0.7). Premature rounding of the sine or cosine values can shift the final range by 5–10%, making your results look incorrect or causing design errors in real applications.
  • Use the correct units: The calculator assumes m/s for velocity, degrees for angle, and meters for height. If you input ft/s or km/h, the output will be nonsense. Convert first: 1 m/s = 3.28084 ft/s, 1 km/h = 0.27778 m/s.
  • Understand air resistance limitations: This calculator assumes a vacuum. For slow, dense objects (e.g., a steel ball), results are accurate to ~95%. For fast, light objects (e.g., a ping-pong ball at 30 m/s), the actual range will be 20–40% shorter because drag slows the projectile.

Frequently Asked Questions

Q1: What is the optimal angle for maximum range in projectile motion?
For a projectile launched from the ground (h₀ = 0) in a vacuum, the optimal angle is exactly 45 degrees. This is because the range formula R = (v₀² × sin(2θ)) / g is maximized when sin(2θ) = 1, which occurs at 2θ = 90°, hence θ = 45°. However, if you launch from an elevated position (h₀ > 0), the optimal angle shifts slightly lower, typically 40–44°. For h₀ = 10 m and v₀ = 20 m/s, the optimal angle is about 41°. Launching from a height allows a flatter trajectory to add extra flight time, so you don't need to maximize vertical velocity as much.

Q2: How do I calculate the time of flight using this calculator's method?
The calculator automatically computes flight time, but you can do it manually. First, resolve the vertical component: v_y = v₀ × sin(θ). Then, if h₀ = 0, use t = (2 × v_y) / g. For example, v₀ = 20 m/s at 30°, v_y = 10 m/s, so t = (2 × 10) / 9.81 = 2.04 s. If h₀ > 0, use the quadratic formula: t = [v_y + sqrt(v_y² + 2 × g × h₀)] / g. For v₀ = 20 m/s, θ = 30°, h₀ = 5 m: v_y = 10 m/s, so t = [10 + sqrt(100 + 2 × 9.81 × 5)] / 9.81 = [10 + sqrt(198.1)] / 9.81 = (10 + 14.07) / 9.81 = 2.45 s. This extra 0.41 s of flight time increases the range by 0.41 × (20 × cos(30°)) = 7.1 m.

Q3: Why does the calculator show a range when I input 90 degrees?
At a 90° launch angle, the horizontal velocity is zero (cos(90°) = 0). The projectile goes straight up and falls straight back down, resulting in a range of exactly 0 meters. The calculator will display a range of 0.00 m, a flight time of (2 × v₀) / g, and a maximum height of v₀² / (2g). For example, with v₀ = 20 m/s and θ = 90°, the flight time is 4.08 s and the max height is 20.4 m, but the range is zero. This is a valid result — it means the projectile doesn't travel horizontally at all. If you expected a non-zero range, your angle input is probably incorrect for your intended scenario.

FAQ

What does the Projectile Motion Calculator calculate?

The Projectile Motion Calculator computes key parameters of a projectile's flight, including time of flight, maximum height, horizontal range, and final velocity components, given an initial velocity, launch angle, and initial height (if non-zero). It assumes ideal conditions with no air resistance and constant gravitational acceleration, typically 9.81 m/s² on Earth.

How do I input the launch angle and initial speed?

You must enter the initial speed in meters per second (m/s) and the launch angle in degrees relative to the horizontal, where 0° is flat and 90° is straight up. The calculator uses trigonometric functions to decompose the velocity into horizontal and vertical components, so ensure the angle is between 0° and 90° for a standard upward launch; angles beyond this will produce unrealistic results.

Does the calculator account for initial height above the ground?

Yes, the calculator accepts an optional initial height, measured in meters, which represents the vertical distance from the launch point to the ground below. If you set this to zero, it assumes the projectile starts and ends at the same ground level; if you enter a positive height, the calculator will compute a longer flight time and greater range because the projectile falls from a higher elevation.

Why do I sometimes get a negative time or range result?

A negative time of flight or range can occur if the initial vertical velocity is too low to lift the projectile above the ground, or if the launch angle is set to 0° with zero initial height, causing the projectile to immediately hit the ground. In such cases, check that the angle is above 0° and that the initial speed is sufficient; the calculator is designed for realistic physics, so invalid inputs (like negative speed or angles outside 0–90°) should be corrected before interpreting results.