Documentation / @interstellar-tools/equations / thrustToWeight
Function: thrustToWeight()
ts
function thrustToWeight(F: number, m: number, g: number): number;Defined in: manoeuvres/thrust-to-weight.ts:56
Compute the thrust-to-weight ratio of a vehicle in a gravity field.
Where:
is the thrust (N) is the vehicle's mass (kg) is the local gravitational acceleration (m/s²)
Units
- Inputs:
Fin N,min kg,gin m/s². - Output: dimensionless ratio.
Notes
- A vehicle can only lift off vertically when
. - Use the local
, e.g. for the body you're on, not standard gravity. - The ratio grows during a burn as propellant is used up; pass the current mass.
In practiceApollo 11's lunar module, leaving the Moon
1.94
Ascent stage at liftoff, in the Moon's 1.62 m/s² gravity
On Earth the same stage would manage only 0.32: too little to lift off.
ts
thrustToWeight(15_409, 4888, 1.624); // ≈ 1.94Parameters
| Parameter | Type | Description |
|---|---|---|
F | number | Thrust |
m | number | Mass |
g | number | Local gravitational acceleration |
Returns
number
Thrust-to-weight ratio (dimensionless).
Throws
- If any input is not a finite number.
- If
F < 0,m <= 0org <= 0.
Example
ts
// A 2000 kg lander with a 45 kN engine on Mars (g ≈ 3.71 m/s²)
const tw = thrustToWeight(45_000, 2000, 3.71);
// tw ≈ 6.06