Home / Science / Physics / Classical mechanics / Projectile and drag simulatorTool #901

Projectile motion calculator with air resistance and wind: trajectory, range, max height and time of flight

Launch a ball at any speed, angle and height and see its real path through the air: quadratic drag from its size, mass and drag coefficient, a head- or tailwind, the range, highest point, time of flight, landing speed, the best angle for distance and how much the air costs compared with a vacuum.

Keep it one tap away for everyday use.

Bookmark Projectile and drag simulator?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Launch
  2. Path
  3. Range
  4. Best angle
Nothing is uploadedWorks offline once open

Launch

Cd: how "draggy" the shape is (a smooth sphere is about 0.1 to 0.5 depending on speed and surface; 0 switches drag off). Air density 1.225 kg/m³ is sea level at 15 °C (rounded); it is about 1.0 at 2,000 m. Gravity: 9.80665 on Earth, about 1.62 on the Moon. The objects are made-up, rounded examples; change any number.

Flight

A point mass with drag proportional to the square of the speed through the air, a steady horizontal wind and flat ground; no spin (Magnus lift), no change of Cd with speed. Integrated with fourth-order Runge-Kutta in 2,000 steps. For study and planning, not a substitute for professional judgement.

Download

What it does

In a school textbook a thrown ball follows a perfect parabola and goes furthest at 45°. In real air it does not: drag slows it all the way, the path comes down more steeply than it went up, and the best angle is usually lower. This simulator works out the real path of a ball (or any roughly round object) with air drag that grows with the square of the speed, a steady wind along the direction of the throw, and a launch from any height.

It gives the range, the highest point and where it happens, the time of flight, the landing speed and angle, the path without air for comparison, the launch angle that gives the longest range with your drag and wind, and the terminal speed (the fastest the object could ever fall). It draws the path and the speed against time, and you can download the whole path as a CSV file for your own plots.

How to use it

  1. Pick an object to fill in its mass, size and drag coefficient, or type your own (the list switches to Custom).
  2. Type the launch speed and angle above level. A negative angle throws downwards (only from a height).
  3. Launch height is how far above the landing ground it leaves the hand or launcher.
  4. Mass and diameter set how much the air matters: a light, large object slows quickly; a heavy, small one hardly notices.
  5. Cd is the drag coefficient. Smooth spheres are roughly 0.1 to 0.5 depending on speed and surface. Set it to 0 to switch drag off and get the textbook parabola.
  6. Wind: positive is a tailwind (pushing the object along), negative a headwind.
  7. Air density (thinner air at altitude means less drag) and gravity (try 1.62 for the Moon).

How it works

The drag force is ½ ρ Cd A |v − w|² and points against the velocity relative to the air (v − w), where A is the frontal area from the diameter. Dividing by the mass gives the drag constant k = ρ Cd A / 2m: the slowing is k times the square of the air speed. The equations of motion have no closed-form solution, so the page steps them forward in time with the fourth-order Runge-Kutta method in 2,000 steps, and pins down the landing and the highest point exactly by bisection within the last step. The best angle is found by a golden-section search between 0.5° and 89.5°.

Worked example

The made-up small ball (145 g, 7.4 cm across, Cd 0.35) is thrown at 40 m/s at 35° from 1 m up in still air at sea level. The page shows a range of 94.85 m, a highest point of 21.25 m reached 51.75 m out after 1.91 s, and 4.102 s in the air. It lands at 24.8 m/s, 47.7° below level, much steeper than it was thrown. Without air the same throw would go 154.7 m and reach 27.84 m, so drag takes 38.7 % off the range. The best angle with this drag is 40.6°, giving 96.28 m. The terminal speed is 39.3 m/s, about the launch speed, which is why drag matters so much here. Type −5 in the wind box (a 5 m/s headwind) and the range drops to 84.41 m.

Tips

  • If the terminal speed is far above the launch speed, drag is small and the no-drag answer is close. If it is near or below the launch speed, drag dominates.
  • Real balls spin, and spin adds lift (the Magnus effect) that this model leaves out; golf and table-tennis balls are strongly affected.
  • To compare with a video of a real throw, measure the path with a video or graph-digitising tool and overlay it on the downloaded CSV.

FAQ

Why is the best angle below 45°? Drag punishes long, high flights, so a flatter, faster path wins. A launch height also lowers the best angle, even without air.

Why does the ball come down steeper than it went up? It has lost horizontal speed to drag by the time it falls, so the descending path is more vertical.

Is the drag coefficient fixed? Here, yes. In reality Cd changes with speed (a sharp drop called the drag crisis for balls near 20 to 40 m/s, depending on roughness). Use a value suited to your speed range.

Is this accurate enough for sport or engineering? It is a sound physics model for study and planning, not a substitute for professional judgement or for measurements.

Where the numbers come from

  • Newton's second law with quadratic drag F = ½ ρ Cd A v² and the fourth-order Runge-Kutta method: standard results in any classical mechanics or numerical methods text.
  • Checked against an independent SciPy solve_ivp integration (relative tolerance 10⁻¹²) with event detection for landing and the highest point, and against the closed-form no-drag formulas.
  • Air density 1.225 kg/m³ and standard gravity 9.80665 m/s² are rounded general values. The three example objects are made up.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Pendulum lab analyser #902 Paste your pendulum lengths and periods (or times for 10 swings) and get g with its uncertainty from a straight-line fit of T² against L, the exact correction for large swings, an optional unknown-length offset, residuals, and how far the small-angle formula is off at any amplitude. Two-body orbit sandbox #903 Give two bodies a mass, a starting position and a velocity and watch them orbit their centre of mass. Get the shape, eccentricity, semi-major axis, closest and farthest approach and period, with an independent numerical check that energy and angular momentum are conserved. Moment of inertia builder #904 Build a body from simple uniform parts (rod, disc or cylinder, tube, ring, sphere, shell, box, point mass, and holes), place each one relative to the axis, and get the total moment of inertia with every step shown, the radius of gyration, the centre of mass, the moment about it and the spin energy at any rpm. Collision calculator #905 Work out the velocities after two bodies collide, in a line or at a glancing angle, for any coefficient of restitution from perfectly elastic to sticking together. See the momentum and energy before and after, the impulse, a before-and-after momentum diagram, or find e from your own air-track measurements. Video motion tracker #906 Open a phone video, set the scale with a ruler in the shot, click the object in each frame and get x(t), y(t), velocity and acceleration, with straight-line and parabola fits (g from a thrown ball). The video is played in your browser and never uploaded. Graph digitiser #26 Open a picture or screenshot of a graph, mark the axes, then click the points or let it trace a curve by colour. Get the numbers as a table to copy or download. The image never leaves your device. Rocket equation and delta-v calculator #46 Enter each stage's dry mass, propellant and Isp and get the delta-v of every stage and the whole rocket, the payload fraction, and how it compares with the delta-v needed for orbit, the Moon or Mars. Uncertainty propagation calculator #25 Type your formula and your measurements with their uncertainties, or paste repeated readings. Get the result with its uncertainty, which input matters most, and a Monte Carlo check. Publication plot maker #27 Paste columns or open a CSV or Excel file and get a clean scientific figure with error bars, sized for a journal column. Download vector SVG or PDF, or PNG at 300 or 600 dpi. Your data stays in your browser.