What this calculator does
This tool models ideal projectile motion: an object launched from ground level at a given initial speed and angle, moving under constant gravity with no air resistance. It tabulates the trajectory — the height and horizontal distance — across a sequence of times (or across a sequence of horizontal distances) and reports the headline quantities: time of flight, maximum height and maximum range. The physics is universal Newtonian mechanics, identical everywhere.
How to use it
Enter the initial speed v and choose its unit (m/s or km/h). Set the launch angle θ in degrees (0 to 90) and the gravitational acceleration g (default 9.80665 m/s² for Earth standard gravity). Pick the sweep variable: Time generates rows at \(t = \text{start} + n \times \text{increment}\), while Distance generates rows at \(l = \text{start} + n \times \text{increment}\) and solves for the time and height at each distance. Adjust the start value, increment and repeat count to control table resolution.
The formula explained
The launch velocity splits into a horizontal component \(v_x = v\cdot\cos\theta\) and a vertical component \(v_y = v\cdot\sin\theta\). The horizontal motion is uniform, \(l(t) = v_x\cdot t\), while the vertical motion is uniformly decelerated, \(h(t) = v_y\cdot t - \tfrac{1}{2}g\cdot t^{2}\). Eliminating time gives the parabola $$h(l) = l\cdot\tan\theta - \frac{g\cdot l^{2}}{2v^{2}\cos^{2}\theta}.$$ The projectile returns to launch height after \(T = 2v\cdot\sin\theta/g\), peaks at \(H = v^{2}\sin^{2}\theta/(2g)\), and lands a distance \(R = v^{2}\sin(2\theta)/g\) away.
Worked example
With \(v = 30\ \text{m/s}\), \(\theta = 60\degree\) and \(g = 9.80665\ \text{m/s}^2\): \(v_x = 15\ \text{m/s}\) and \(v_y = 25.98\ \text{m/s}\). At \(t = 0.1\ \text{s}\) the object is at \(l = 1.5\ \text{m}\) and \(h = 2.549\ \text{m}\). The time of flight is $$T = 2\times25.98/9.80665 = 5.299\ \text{s},$$ the maximum height is $$H = 25.98^{2}/(2\times9.80665) = 34.41\ \text{m},$$ and the maximum range is $$R = 900\times\sin(120\degree)/9.80665 = 79.48\ \text{m}.$$
Range and Height at Different Launch Angles
The table fixes the initial speed at v = 30 m/s and g = 9.80665 m/s² (standard gravity), with no air resistance and launch and landing at the same height. It uses \(T = \frac{2v\sin\theta}{g}\), \(H = \frac{v^2\sin^2\theta}{2g}\) and \(R = \frac{v^2\sin 2\theta}{g}\). Here \(v^2/g \approx 91.774\) m.
| Launch angle θ | Time of flight T (s) | Max height H (m) | Range R (m) |
|---|---|---|---|
| 15° | 1.584 | 3.07 | 45.89 |
| 30° | 3.059 | 11.47 | 79.48 |
| 45° | 4.326 | 22.94 | 91.77 |
| 60° | 5.299 | 34.42 | 79.48 |
| 75° | 5.910 | 42.81 | 45.89 |
| 90° | 6.118 | 45.89 | 0 |
- Complementary angles (30° and 60°, or 15° and 75°) give the same range, because \(\sin 2\theta = \sin(180^\circ - 2\theta)\).
- 45° gives the maximum range, since \(\sin 90^\circ = 1\).
- The steeper angle of a complementary pair has a much longer flight time and a greater peak height.
- At 90° the projectile goes straight up and comes straight back down, so the range is zero (\(\sin 180^\circ = 0\)).
Example for 30°: \(R = \frac{30^2 \cdot \sin 60^\circ}{9.80665} = \frac{900 \times 0.866025}{9.80665} \approx 79.48\) m.
Gravitational Acceleration Values
| Body | g (m/s²) |
|---|---|
| Earth (standard gravity) | 9.80665 (exact by definition) |
| Moon | ≈ 1.62 |
| Mars | ≈ 3.71 |
| Venus | ≈ 8.87 |
| Jupiter (1-bar level) | ≈ 24.79 |
The actual surface g on Earth varies from about 9.78 to 9.83 m/s² with latitude and altitude. It is lowest near the equator and at high altitude, and highest near the poles. The standard value 9.80665 m/s² is a conventional reference.
Range and height scale as 1/g. With the same launch speed and angle, a projectile on the Moon travels about six times farther than on Earth, ignoring air resistance.
Speed conversion: to convert km/h to m/s, divide by 3.6. For example, 108 km/h ÷ 3.6 = 30 m/s.
Key Terms and Variables
- Initial speed (v): the magnitude of the velocity at launch, in m/s.
- Launch angle (θ): the angle of the initial velocity above the horizontal, in degrees. The formulas convert it to radians with \(\theta \times \pi/180\).
- Gravitational acceleration (g): the constant downward acceleration, in m/s². On Earth it is about 9.80665 m/s².
- Horizontal component (vx): \(v_x = v\cos\theta\), in m/s. With no air resistance it stays constant during flight.
- Vertical component (vy): \(v_y = v\sin\theta\) at launch, in m/s. It changes at rate g, as \(v_y(t) = v\sin\theta - g t\).
- Time of flight (T): the time from launch until the projectile returns to launch height, in seconds. \(T = 2v\sin\theta / g\).
- Maximum height (H, apex): the highest point above the launch level, in metres, reached when \(v_y = 0\). \(H = v^2\sin^2\theta / (2g)\).
- Range (R): the horizontal distance covered by the time of flight, in metres. \(R = v^2\sin 2\theta / g\).
- Trajectory: the path of the projectile, a parabola described by height h(t) and horizontal distance l(t) as functions of time.
- No-air-resistance assumption: drag, wind and the Earth's curvature and rotation are ignored, and g is treated as constant. Real projectiles, especially fast or light ones, fall shorter than these formulas predict.
FAQ
Does it include air resistance? No. It assumes a vacuum (drag-free) projectile, so real-world ranges are typically shorter.
What happens at \(\theta = 90\degree\)? The object goes straight up: \(v_x = 0\), so horizontal distance stays 0. In distance-sweep mode it never reaches any nonzero distance, so heights are reported as 0.
Why do some heights become negative? After the time of flight the projectile has fallen below the launch level; the table keeps listing those values as it descends.