Skip to content

Documentation / @interstellar-tools/equations / initialMassForDeltaV

Function: initialMassForDeltaV() ​

ts
function initialMassForDeltaV(
  mf: number,
  dv: number,
  Isp: number,
  g0?: number
): number;

Defined in: manoeuvres/initial-mass-for-delta-v.ts:59

Compute the mass needed at ignition to give a final mass a delta-v: the rocket equation solved for m0.

m0=mfeΔv/(Ispg0)

Where:

  • mf is the mass left after the burn (kg)
  • Δv is the delta-v of the burn (m/s)
  • Isp is the specific impulse (s)
  • g0 is standard gravity (m/s²)

Units

  • Inputs: mf in kg, dv in m/s, Isp in s, g0 in m/s².
  • Output: m0 in kg.

Notes

  • The factor eΔv/(Ispg0) is the price of the burn: every kilogram left after it costs that many kilograms before it.
  • For a sequence of burns, work backwards from the last one: each burn's m0 is the previous burn's mf.
  • This is the ideal rocket equation: the result counts propellant, not the tanks and engines that hold and burn it.
In practiceApollo 11's lunar module, before landing

9 905 kg

To land with a 4 888 kg ascent stage, for 2 112.3 m/s at 305 s

The real lunar module weighed 15 279 kg at undocking: the rest is the descent stage's own structure, engine and legs.

ts
initialMassForDeltaV(4888, 2112.3, 305); // ≈ 9905 kg

Parameters ​

ParameterTypeDefault valueDescription
mfnumberundefinedMass after the burn mf in kg (finite, > 0).
dvnumberundefinedDelta-v of the burn Δv in m/s (finite, >= 0).
IspnumberundefinedSpecific impulse Isp in seconds (finite, > 0).
g0?number9.80665Standard gravity g0 in m/s² (finite, > 0). Defaults to 9.80665.

Returns ​

number

Mass at ignition m0 in kg.

Throws ​

  • If any input is not a finite number.
  • If mf <= 0, dv < 0, Isp <= 0 or g0 <= 0.

Example ​

ts
// 800 kg left after a 1270 m/s burn at Isp = 320 s
const m0 = initialMassForDeltaV(800, 1270, 320);
// m0 ≈ 800 * e^(1270 / 3138.1) ≈ 1200 kg

See ​