# Trajectory Calculator

Use this trajectory calculator to find the flight path of a projectile. Type in three values: velocity, angle and initial height, and in no time you'll find the trajectory formula and its shape. Keep reading if you want to check the trajectory definition as well as a simple example of calculations.

## Trajectory definition

Trajectory, also called a flight path, is **the path followed by a moving object under the action of gravity**. Usually, the term is used when we're talking about projectiles or satellites (where the regularly repeating trajectory is called an orbit). In an object is thrown for short distances, then a parabola is a good approximation of trajectory shape.

Some examples of projectile motion are:

- ice hockey puck, baseball or golf ball in flight ⚾
- a bullet fired from a weapon 🔫
- a jet of water from a fountain ⛲
- object thrown from a table / plane / building / bridge ✈️

## Trajectory formula

Now as you know the trajectory definition, let's check how trajectory formula looks like.

- Let's start from equations of motion:

`x = Vx * t`

`y = h + Vy * t - g * t² / 2`

- As we know that three vectors -
`V₀`

,`Vx`

and`Vy`

- form a right triangle, we can write that:

- The horizontal velocity component
`Vx`

is equal to`V₀ * cos(α)`

. - The vertical velocity component
`Vy = V₀ * sin(α)`

.

- Then, we combine the equations of motion and velocity components into one formula:

`x = Vx * t`

`=>`

`t = x / Vx`

`y = h + Vy * t - g * t² / 2 = h + x * Vy / Vx - g * (x / Vx)² / 2`

`y = h + x * (V₀ * sin(α)) / (V₀ * cos(α)) - g * (x / V₀ * cos(α))² / 2`

And as we know, sine over cosine is a definition of tangent. So, the final trajectory formula may be expressed as:

`y = h + x * tan(α) - g * x² / 2 * V₀ * cos²(α)`

If you're interested in different aspects of projectile motion, check out our other dedicated tools to calculate:

## Trajectory calculator: how to use

Let's check out the trajectory of water from a water fountain:

**Type in the velocity**. Assume that it's equal to 5 ft/s.**Enter the angle**. For example, 60°.**Choose initial height**. Let's pick 5 inches.- Here you are!
**Trajectory calculator displays the formula and the flight path!**

The critical thing to notice is the possible difference in axes scaling, so the angle may not look like on the chart as it should. Remember that in all calculations, air resistance is neglected.