Mathematics
Ideal projectile motion
Calculate ideal projectile motion without air resistance: flight time, range and peak height, plus position and velocity at a chosen time.
The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. JSON, HTML and TXT downloads keep your inputs and all result rows, with exact values where available. Automatic recalculation after editing is off unless you switch it on. Nothing is saved, imported or sent automatically.
Result
Formula / calculation:
SI units and degrees; angle -90 to 90, launch height at or above zero, entered gravity positive. Ground y=0, no air resistance, wind, Earth curvature or changing gravity. The chosen time must be within calculated flight. Downward launches are supported; peak height is at launch when already moving down. Educational point-particle arithmetic, not a aiming, throwing, sport, weapon or safety recommendation. Nonzero input magnitudes below 1e-30 or above 1e9 are refused. A separate UK escape-speed form takes entered positive mu=GM and distance from the centre outside the body. Exact squared speed and approximate rounded m/s retain original inputs in their own CSV/TXT notebook. No body lookup or surface validation, changing-body or mission prediction; no automatic transfer from the projectile inputs.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
Explicit geometry and ideal-model arithmetic; angles in degrees, entered dimensions and rates, or SI motion units. SI units and degrees; angle -90 to 90, launch height at or above zero, entered gravity positive. Ground y=0, no air resistance, wind, Earth curvature or changing gravity. The chosen time must be within calculated flight. Downward launches are supported; peak height is at launch when already moving down. Educational point-particle arithmetic, not a aiming, throwing, sport, weapon or safety recommendation. Nonzero input magnitudes below 1e-30 or above 1e9 are refused. A separate UK form uses entered positive mu=GM in m^3/s^2 and distance r in m from the centre outside the body: v=sqrt(2*mu/r). The squared speed is exact; the unchanged positive square root and rounded m/s are numerical approximations, not certified exact-root digits. Original inputs and scope have a separate current/saved CSV/TXT notebook. Exterior spherical or point-mass Newtonian model only; no body data, surface validation, atmosphere, rotation, multiple bodies, relativity or trajectory prediction.
Worked example
With these example values the calculator gives the result below. You can change any value in the form above.
Inputs
- Initial speed (m/s)
- 20
- Angle above horizontal (degrees)
- 45
- Launch height above ground (m)
- 0
- Entered gravity magnitude (m/s²)
- 10
- Chosen evaluation time (s)
- 0
Result
- Horizontal initial velocity (m/s)
- 14.1421356237
- Vertical initial velocity (m/s)
- 14.1421356237
- Calculated flight time (s)
- 2.82842712475
- Horizontal displacement at ground (m)
- 40
- Time of peak height (s)
- 1.41421356237
- Peak height above ground (m)
- 10
- Horizontal position at chosen time (m)
- 0
- Height at chosen time (m)
- 0
- Vertical velocity at chosen time (m/s)
- 14.1421356237
- Ideal speed at ground (m/s)
- 20
Frequently asked questions
How do I calculate projectile flight time and range?
Enter initial speed, angle, launch height and gravity. For 20 m/s at 45 degrees from the ground with g = 10, the flight time is about 2.83 s and the horizontal displacement is 40 m.
Which formulas does the projectile calculator use?
vx = v0·cos(angle), vy = v0·sin(angle), x = vx·t and y = h0 + vy·t − g·t²/2. Flight ends at y = 0.
Does the calculator include air resistance?
No. It assumes constant entered gravity with no air resistance, wind, Earth curvature or changing gravity.
What angle and height ranges are allowed?
The angle is from -90 to 90 degrees, the launch height at or above zero, and gravity must be positive. Downward launches are supported.
Can I get position at a chosen time?
Yes, as long as the chosen time is within the calculated flight. It gives horizontal position, height and vertical velocity at that time.
Can it work out escape speed?
A separate form takes an entered positive mu = GM and distance from the centre, with no body lookup or surface validation.