# Trajectory Calculator

Created by Luis Fernando
Last updated: Jun 26, 2022

Welcome to our trajectory calculator, where you'll be able to find the projectile motion given the angle of trajectory, initial height, and initial velocity (or simply, speed).

This calculator focuses on finding the whole trajectory of a projectile using the trajectory formula and gives you the vertical position as a function of the horizontal .

## Trajectory formula

The formula with which this tool calculates the trajectory of a projectile is:

$y = h + x \tan{\alpha} - \frac{g x^2}{2 V_\text{0} ^2 cos^2{\alpha}}$

where:

• $h$ — Initial projectile height;
• $x$ — Horizontal component of the projectile position;
• $y$ — Projectile height (vertical position) at a specific horizontal distance $x$;
• $\alpha$ — Angle of launch (initial angle of trajectory);
• $g$ — Gravity acceleration; and
• $V_\text{0}$ — Launch velocity. As you can note, this is a vertical distance formula in terms of the horizontal distance $x$.

## Trajectory formula derivation

Where does the vertical distance formula come from?

• First, let's remember the equations of motion for the horizontal ($x$) and vertical ($y$) positions:

• $x = V_x t$
• $y = h + V_y t - g t^2/2$
• As the launch velocity ($V_\text{0}$) and its horizontal and vertical components ($V_x$ and $V_y$) form a right triangle, we can say:

• $V_x = V_\text{0}\cos{\alpha}$
• $V_y = V_\text{0}\sin{\alpha}$
• Now, let's solve for $t$ in the $V_x$ equation and express it in terms of $V_\text{0}$:

• $x = V_x t$$t = \frac{x}{V_x} = \frac{x}{V_\text{0}\cos{\alpha}}$
• Replacing $t$ and $V_y$ in the $y$ equation:

• $y = h + (V_\text{0}\sin{\alpha}) (\frac{x}{V_\text{0}\cos{\alpha}}) - g (\frac{x}{V_\text{0}\cos{\alpha}})^2/2$
• $y = h + x\frac{\sin{\alpha}}{\cos{\alpha}} - \frac{g x^2}{2 V_\text{0} ^2 \cos^2{\alpha}}$
• As $\frac{\sin{\alpha}}{\cos{\alpha}} = \tan{\alpha}$, then:

• $y = h + x\tan{\alpha} - \frac{g x^2}{2 V_\text{0} ^2 \cos^2{\alpha}}$

That's it! We've derived the trajectory formula.

## How to use this trajectory calculator?

Imagine you have the parabolic water jet of the following image and want to calculate its trajectory.

Suppose the launch velocity of the water jet is 2 m/s, with a 50° angle and an initial height of 5 cm. Follow these steps to calculate the trajectory:

1. Input 0.5 m/s in the "Velocity" box.
2. For "Angle of launch," input 50 deg.
3. In the "Initial height" box, select cm as the length unit and input 5 cm.
4. That's it! The trajectory calculator should show you a plot with the height as a function of horizontal displacement, representing the projectile motion.

The trajectory of projectile motion is a simple quadratic relationship between height and distance. You can analyze this kind of curve and determine its features with the polynomial graph calculator.

Luis Fernando
Velocity
ft/s
Angle of launch
deg
Initial height
ft
Trajectory formula:
y = h + xtan(α) - gx²/2V₀²cos²(α) People also viewed…

### Displacement

The displacement calculator is a tool prepared to estimate displacement with three various methods.

### Velocity

Check the velocity calculator to determine how quickly an item moves using various methods. 