Guides / Mechanics

Projectile motion: equations and a worked example

Anything thrown, kicked or launched that then flies under gravity alone is a projectile. The trick to every projectile problem is the same: split the motion into a sideways part and an up-and-down part, and solve each one on its own.

The idea in one picture

Once a ball leaves your hand, nothing pushes it sideways, so its horizontal speed never changes. Gravity only pulls down, so the vertical speed changes by every second. The curved path you see is just those two simple motions happening at the same time.

These equations assume two things: air resistance is small enough to ignore, and is constant (true for anything that stays near the ground). That covers almost every textbook and exam problem.

Step 1: split the launch speed into components

The launch velocity is a vector: it has a size, the speed , and a direction, the angle above the horizontal. Its horizontal and vertical components are:

stays the same for the whole flight. starts positive, shrinks to zero at the top, then grows negative on the way down.

Step 2: position and velocity at any time

Starting from the origin, after time :

The horizontal equation has no acceleration term. The vertical one is just the kinematic equation with .

Step 3: the three answers people usually want

When the projectile lands at the same height it was launched from, setting and gives three handy results.

Time of flight

Range (how far it goes)

Maximum height

Worked example: a ball launched at 20 m/s and 35°

A ball leaves the ground at , aimed above level ground. How long is it in the air, how far does it go, and how high does it get? Here's the whole problem as it looks in Newtonpad. The givens go in Knowns, and every line computes with its units.

Knowns
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
Open this example in Newtonpad Change any number and every answer updates.

So the ball flies for about , lands away and peaks at . Notice the units come out right on their own: is seconds, and is metres. If a unit ever comes out strange, something in the setup is off.

Why 45° goes the farthest

The range formula has in it, and a sine is biggest (equal to 1) at . So , or , gives the longest range for a given launch speed:

A neat side effect: angles that add up to land in the same spot. A ball launched at and one launched at with the same speed travel the same distance. The one just goes higher and stays up longer.

Launching from a height

If the projectile starts at height above where it lands (off a cliff or a table), the range and flight time formulas above don't apply. Instead, solve the vertical equation for when it hits the ground:

Then the horizontal distance is still . For something rolled straight off a table, and this simplifies to .

Common mistakes

Quick reference

QuantityEquationUnits
Horizontal speedm/s
Initial vertical speedm/s
Time of flights
Rangem
Maximum heightm

Try your own numbers

Open the example above, change the speed or the angle in Knowns, and watch the range and height update.

More guides