@squawk
    Preparing search index...
    • Computes the fuel required for a flight leg given distance, ground speed, and fuel burn rate.

      The result is in the same unit as fuelBurnPerHr (gallons, liters, pounds, etc.) - the function is unit-agnostic for fuel quantity.

      Parameters

      • distanceNm: number

        Leg distance in nautical miles.

      • groundSpeedKt: number

        Ground speed in knots.

      • fuelBurnPerHr: number

        Fuel burn rate per hour (in any consistent unit).

      Returns number

      Fuel required for the leg (same unit as fuelBurnPerHr).