Ballistic calculation algorithm

Between the shot breaking and the impact, about twenty quantities move the bullet. Here is everything the EliteRange engine accounts for to compute your firing solution, how much each effect weighs at 1000 m, and how we verified the result.

The method

The trajectory does not come from an approximate formula or a table. It is integrated numerically, step by step, with an adaptive-step Runge-Kutta method: at every instant the engine applies the forces acting on the bullet, then moves forward.

The calculation runs in a native engine embedded in the app. It works offline, and the solution is recomputed as soon as a condition changes.

Environmental parameters

The conditions of the moment

ParameterUnitWhy it matters
Air temperature°CWarm air is less dense: less friction on the bullet, so it slows down less and flies farther at the same speed.
Atmospheric pressurehPaDenser air under high pressure creates more drag. It is one of the three factors that make up air density.
Relative humidity%Counter-intuitively, humid air is slightly less dense than dry air, because water vapour is lighter than air. It also affects the speed of sound.
AltitudemSets the reference pressure when no local measurement is provided, using the standard atmospheric model.
Wind speedm/sPushes the bullet sideways throughout its entire time of flight: the longer the flight, the greater the drift.
Wind direction (relative to the line of sight)°A crosswind drifts the bullet; a head or tail wind mainly changes its residual velocity. The engine breaks the wind vector down along this angle.
Far wind and switch distance (optional)m/s, °, mA second wind for the zone near the target, applied beyond the switch distance, half the shooting distance by default.
GPS latitude°Required to compute the Coriolis effect, the deflection caused by the Earth's rotation: negligible at short range, measurable at very long range.
Firing azimuth (rifle orientation)°Combined with latitude, it determines the direction and magnitude of the Coriolis effect.

Ammunition parameters

The cartridge and its bullet

ParameterUnitWhy it matters
Bullet weightgrainsDetermines inertia: at equal ballistic coefficient, a heavier bullet resists air deceleration better, but reacts less to the same powder energy.
Muzzle velocitym/sThe starting point of the whole trajectory, and the single most decisive variable for range and time of flight.
Ballistic coefficient (BC, G1, G7 or RA4 model)unitlessSums up the bullet's ability to keep its speed against the air. The G7 model represents modern, long, pointed bullets better than G1.
Several BCs by velocityup to 5 pairsSome makers publish one coefficient per velocity band. The engine interpolates between the pairs you enter: the gain shows mostly beyond 1000 m.
Drag curve Cd(Mach)table of pointsWhen available (measured by Doppler radar by the manufacturer, or imported by you), it replaces the BC with actual drag as a function of velocity: more faithful than a single BC, especially in the transonic zone.
Bullet diametermmSets the frontal area exposed to the air, hence drag.
Bullet lengthmmFeeds the gyroscopic stability calculation: a long, slender bullet is harder to stabilise than a short one. Optional: when missing, it is estimated.
Ammunition temperature°CPowder burns faster when hot: with an identical load, a cartridge left in the sun leaves faster than one taken from a cooler.

Weapon parameters

The rifle and its scope

ParameterUnitWhy it matters
Scope height above the boremmThe line of sight and the bullet's actual path do not start from the same point; this offset must be compensated, especially at short range.
Zeroing distancemThe distance at which the scope and the point of impact coincide: it serves as the reference for computing the barrel's launch angle.
Barrel twist (twist rate)inches per turnSets the spin rate given to the bullet as it leaves the barrel, a necessary condition for its stability in flight.
Twist directionright / leftDetermines the direction of the spin drift (right or left), not just its magnitude.

Shot parameters

The geometry of the shot

ParameterUnitWhy it matters
Distance to targetmDefines how far the trajectory integration must be computed.
Look angle (uphill or downhill shot)°A rifle zeroed on flat ground shoots high as soon as it is inclined, uphill or downhill. Ignoring this angle skews the solution in the mountains.

Effects simulated in flight

Orders of magnitude on the reference case described below

EffectWhat the engine does with itAt 1000 m
GravityThe bullet starts falling at the muzzle. On a slope, gravity is resolved along the trajectory, which goes further than the cosine rule.14.3 mrad of elevation
DragThe dominant effect on velocity loss. It comes from the G1, G7 or RA4 ballistic coefficient, from several coefficients by velocity, or from a measured drag curve, and from the air density of the moment.315 m/s left out of 792
Air densityComputed from temperature, station pressure and humidity. On a slope it is recomputed along the shot as the bullet gains or loses altitude.about 2 mrad less at 850 hPa
Speed of sound in humid airIt sets the bullet's Mach number, hence its drag. It is computed for the actual air, water vapour included.0.16 mrad between dry and saturated air at 30 °C
CrosswindIt pushes the bullet for the whole time of flight: drift comes from the lag caused by drag, not from wind speed alone.4 m of drift per 5 m/s
Head or tail windIt changes the bullet's velocity relative to the air, hence its drag. It is not subtracted from muzzle velocity, which is relative to the barrel.±0.22 mrad per 5 m/s
Two-zone windAt long range, the wind near the target is not the wind at the firing position. The calculator applies a first wind up to a switch distance, then a second one beyond it. Checked against an independent integrator.0.001 mrad gap at 800 m on the test case
GustWhen the weather reports a gust stronger than the average wind, the matching drift is given in clicks under the solution, which is still computed with the average wind. The line is not computed when the wind is entered by hand, provided by a Bluetooth device (beta) or in two zones.in clicks, under the solution
Aerodynamic jumpA crosswind at the muzzle, combined with the bullet's spin, deflects the trajectory vertically. It is distinct from wind drift.about 0.1 mrad per 5 m/s of crosswind
Spin driftThe spin that stabilises the bullet also makes it drift towards the side of the twist. It grows faster than distance and cancels at the zero distance, as on a zeroed rifle.about 28 cm
Coriolis effectThe Earth's rotation is integrated on both axes, from latitude and azimuth of fire.9 cm of drift, ±0.09 mrad of elevation at 45° N
Inclined fireThe zero stays that of a rifle zeroed on flat ground; only the shot is inclined.2 mrad less at 30°
Ammunition temperatureWarm powder gives more velocity. Cartridge temperature is entered separately from air temperature and corrects muzzle velocity.
Gyroscopic stabilityThe stability factor is computed with the day's velocity and air density, then stated in one word: cold, dense air demands more stability.
Transonic zoneThe Mach number is tracked at every distance and the transonic transition is flagged in the tables, where a single ballistic coefficient becomes less reliable.

The choices that make the difference

Where two calculators fed the same data do not give the same answer

  • The zero is solved in zeroing conditions

    A rifle is zeroed on flat ground with no wind, then fired in the conditions of the day. The engine therefore solves the zero separately: the slope, wind and aerodynamic jump of the moment apply in full to the solution instead of being absorbed by the zero.

  • The zero uses the ammunition's reference velocity

    The powder temperature correction applies to the shot, not to the zero. Mixing the two shifts the solution by 0.04 mrad for a 100 m zero and by 0.15 mrad for a 300 m zero, with a 20 m/s velocity difference.

  • Air changes along an inclined shot

    At 30° over 1000 m, the target is 500 m above the shooter and the air there is nearly 5% lighter. The engine accounts for it all along the flight.

  • Pressure is station pressure

    The iPhone barometer gives the actual pressure. A weather pressure, reduced to sea level, is converted to the shooter's altitude before entering the calculation.

  • Measured drag comes before the coefficient

    When an ammunition has a Doppler radar drag curve, it replaces the ballistic coefficient. You can also import your own curve. The provenance is shown on every solution.

  • Each coefficient is read in its own model

    A ballistic coefficient only makes sense in the model it is published in: G1 or G7, and RA4 for .22 LR ammunition whose maker publishes it. Entered in another one, it gives a wrong drop. When the maker publishes one coefficient per velocity band, up to five velocity and BC pairs are interpolated during the flight. A computed curve carries the name of its model, never that of a radar measurement.

  • The model is trued on your shots

    Truing corrects muzzle velocity or ballistic coefficient from the offset of your group at a known distance. No model replaces recorded live fire.

  • An impossible calculation is reported as impossible

    If the zero cannot be reached with the data entered, the app says so. It never shows 0 clicks instead.

How the calculation was verified

Two confrontations, and their limits

Reference case: .308 Winchester, 175 gr bullet, G7 0.243, 792 m/s (2600 ft/s), 1:12 right-hand twist, 44.5 mm scope height, 100 m zero, 15 °C, 1013 hPa, dry air.

Against the market's reference calculator

Same inputs in both solvers, results compared figure by figure at 1000 m.

Quantity at 1000 mEliteRangeReferenceGap
Elevation14.256 mrad14.279 mrad0.023 mrad
Wind drift, 5 m/s crosswind397.4 cm398.0 cm0.2%
Elevation, 30° inclined shot12.262 mrad12.202 mrad0.060 mrad

On a slope the gap is expected: the reference applies the cosine rule, whereas EliteRange integrates gravity along the trajectory and the air thinning with altitude.

Against live fire

We used shots measured round by round at Aberdeen Proving Ground in 1950, published in a publicly released report. The ballistic coefficient is fitted on 7 shots at 600 yards, then the engine predicts the time of flight of 17 shots at 1000 yards, on another day, in air of a different density, with the bullet going transonic between the two distances. Result: within 1%, inside measurement noise. With a drag law unsuited to that bullet, the gap exceeds 2%: the test can therefore see an error.

What these checks do not prove

  • Live fire validates drag and integration, through time of flight. It validates neither drop on target nor drift.

  • We found no public measurement of spin drift in flat fire. Its level is set on the field's published reference, itself fitted on live fire.

  • A solution is only as good as its inputs: chronographed velocity, actual ballistic coefficient, estimated wind. Check your solution with a shot at a known distance, then true.

Automatically computed values

Results, not inputs

  • Current Mach number

    at each distance

  • Residual velocity

    of the bullet at each distance

  • Time of flight

  • Remaining kinetic energy

  • Barrel launch angle

    solved automatically so the bullet passes through the zero point, recomputed when conditions change

  • Gyroscopic stability factor

    at the moment the shot breaks

  • Correction per unit of wind

    for a full-value crosswind, (1 m/s, 1 mph or 5 km/h), in the table and on the range card

  • Gust drift

    when the weather reports a gust

Tables, tuning constants and the detail of the numerical methods are not published.

Check it against your own shots

EliteRange is free, with no account and no ads. Enter your rifle and ammunition, and compare the solution with your data book.

Download on the App Store