Physics & Mechanics

Projectile Motion Calculator

Calculate the full trajectory, maximum height, time of flight, and horizontal range of a projectile given its initial velocity and launch angle.

m/s
degrees
m
Time of Flight
2.884
Maximum Height10.197 m
Horizontal Range40.789 m

Calculated locally in your browser. Fast, secure, and private.

The Physics of Projectile Motion

When an object is launched into the air and allowed to move freely under the influence of gravity alone, it is in a state of projectile motion. Whether it's a baseball thrown across a field, a missile launched from a silo, or water spraying from a hose, the fundamental physics governing their path (the trajectory) are identical.

Projectile motion is a classic example of two-dimensional kinematics. The brilliant insight of classical mechanics is that horizontal motion and vertical motion are completely independent of each other.

  1. Horizontal Motion: In an idealized vacuum (ignoring air resistance), there are no horizontal forces acting on the projectile once it's launched. Therefore, its horizontal velocity ($v_x$) remains absolutely constant throughout the entire flight.
  2. Vertical Motion: Vertically, the projectile is constantly subjected to the downward force of gravity. This means its vertical velocity ($v_y$) is constantly changing—slowing down as it rises, stopping momentarily at its peak, and accelerating as it falls back to earth.

Calculating the Trajectory

To determine exactly where a projectile will land, how high it will go, and how long it will stay in the air, we must first break the initial launch velocity down into its horizontal and vertical components using trigonometry.

  • $v_{0x} = v_0 \cdot \cos(\theta)$
  • $v_{0y} = v_0 \cdot \sin(\theta)$

Once we have these components, we can calculate the Time of Flight ($t$), the Maximum Height ($h$), and the Horizontal Range ($R$).

The Formulas

t=[v0y+v0y2+2gh0]/g(Time)\nh=h0+v0y2/(2g)(Max Height)\nR=v0xt(Range)\scriptsize \begin{aligned} t = [v_{0y} + \sqrt{v_{0y}^2 + 2g h_0}] / g \quad \text{(Time)}\n h = h_0 + v_{0y}^2 / (2g) \quad \text{(Max Height)}\n R = v_{0x} \cdot t \quad \text{(Range)} \end{aligned}

Where:
v0v_0=
Initial Launch Velocity
θ\theta=
Launch Angle
h0h_0=
Initial Launch Height
g=
Acceleration due to gravity (9.81 m/s²)

Example Calculation

Imagine a cannon fires a ball with an initial velocity of $20 , \text{m/s}$ at an angle of $45^\circ$ from flat ground (initial height = 0).

  1. Initial Components: $v_{0y} = 20 \cdot \sin(45^\circ) = 14.14 , \text{m/s}$ $v_{0x} = 20 \cdot \cos(45^\circ) = 14.14 , \text{m/s}$
  2. Time of Flight: $t = \frac{2 \cdot 14.14}{9.80665} = 2.88 , \text{seconds}$
  3. Maximum Height: $h = \frac{14.14^2}{2 \cdot 9.80665} = 10.19 , \text{meters}$
  4. Range: $R = 14.14 \cdot 2.88 = 40.72 , \text{meters}$

The 45-Degree Rule

If you want to achieve the absolute maximum horizontal distance (range) for a given launch speed on flat ground, you must launch the projectile at exactly $45^\circ$.

  • If you launch higher than $45^\circ$, the projectile spends more time in the air but doesn't have enough horizontal speed to cover distance.
  • If you launch lower than $45^\circ$, it has great horizontal speed but hits the ground too quickly.

Frequently Asked Questions

No. This calculator assumes an idealized vacuum environment, which is standard for introductory physics. In reality, air resistance (aerodynamic drag) significantly reduces both the maximum height and the horizontal range of a projectile.

In a vacuum, absolutely not. Because gravity accelerates all objects equally regardless of mass, a bowling ball and a feather launched at the exact same speed and angle will follow the exact same trajectory and hit the ground at the same time.

This is the standard acceleration due to Earth's gravity ($g$) near the surface. While it varies slightly depending on your altitude and latitude, 9.80665 m/s² is the internationally accepted standard value for physics calculations.