Flight: DEFRA πŸ‡¬πŸ‡§

Calculate passenger flight emissions with the UK government's DEFRA Conversion Factors, pinned to a factor year or using the latest supported one.

type flightmethodology DEFRASupports audit mode

The UK Department for Environment, Food and Rural Affairs (DEFRA) provides a standardised way to evaluate the emissions of passenger air travel. Its methodology takes into account the aircraft's fuel consumption, flight distance, aircraft type and the indirect effects of high-altitude emissions.

Versioning

Add methodology_version to pin a specific Conversion Factors year (for example "2024"). If you leave it out, SQUAKE uses the latest supported year.

Sample requests

Send a quote while the traveller is still choosing a flight, then repeat the call with audit set to true once the booking is final. The body is otherwise identical.

{
  "expand": ["items"],
  "items": [{
    "audit": false,
    "type": "flight",
    "methodology": "DEFRA",
    "external_reference": "test_4",
    "number_of_travelers": 2,
    "origin": "LON",
    "destination": "LAX",
    "booking_class": "first",
    "aircraft_type": "737",
    "radiative_forcing_index": true,
    "energy_scope": "wtw",
    "methodology_version": "2024"
  }]
}

audit_for is optional

Pass the ID of an auditable entity when you calculate on behalf of that entity. Otherwise, leave it out.

Defaults

When a field is missing, SQUAKE fills it in before calculating.

FieldDefaultApplies when
booking_classaverageNo booking_class is sent and none can be resolved from fare_class and airline
energy_scopewtwNo energy_scope is sent
radiative_forcing_indextrueNo radiative_forcing_index is sent
methodology_versionLatest supported DEFRA yearNo methodology_version is sent

How it's calculated

  • An 8% uplift is applied to the great-circle distance (GCD) to account for indirect paths, delays and similar factors.
  • If you send both distance_in_km and origin/destination, distance_in_km takes precedence.

Request fields

typestringrequired

flight

methodologystringrequired

DEFRA

methodology_versionstring

DEFRA Conversion Factors year, for example "2024". Optional. If you leave it out, SQUAKE uses the latest supported year.

originstring

IATA/ICAO airport code (MUC), UN/LOCODE for other locations (DEHAM), or latitude and longitude (+40.712,-74.006). For multi-leg trips, use routing instead.

destinationstring

Same formats as origin.

routingstring

Hyphen-separated airports for multi-leg itineraries, instead of origin and destination. See Flight: Routing (multi-leg).

distance_in_kmnumber

Overrides the distance resolved from origin and destination. With routing, it isn't used as the routed total.

booking_classenum

If you leave it out, send fare_class and airline so SQUAKE can resolve it. Defaults to average.

fare_classstring

Together with airline, mutually exclusive with booking_class.

airlinestring

Together with fare_class, mutually exclusive with booking_class.

aircraft_typestring

IATA/ICAO code. Applied only when at least one airport is in the UK. See Aircraft type distribution.

radiative_forcing_indexboolean

Applies the high-altitude climate impact multiplier. Defaults to true.

energy_scopeenum

wtw or ttw. Defaults to wtw.

number_of_travelersinteger

Minimum 1. Defaults to 1.

external_referencestring

Your identifier for the item, up to 128 characters.

sustainable_fuelsboolean

Marks the use of sustainable aviation fuel (SAF). This lowers the emissions SQUAKE calculates, but isn't part of the official DEFRA factors.

carbon_reduction_percentage_of_totalnumber

Share of emissions reduced by SAF, from 0 to 1. Defaults to 0.

auditboolean

Set to true to create immutable audit records for finalised calculations. Must be enabled for your account.

See every field of POST /v2/calculations in the API reference

Aircraft type distribution

DomesticShort-haulLong-haul
32N32N32N
32Q32Q32Q
319318320
320319321
321320332
AT4321333
AT5332339
AT7333343
738359359
D38AT7338
ER37M87M8
ER47M9738
E70733752
E90734763
E95735764
J41736772
SF3737773
73877F
73977W
752788
753789
763781
772
77W
788
789
221
223
CR9
DH8
E70

Sample response

200 OKapplication/json
{
  "carbon_quantity": 15273823,
  "carbon_unit": "gram",
  "items": [{
    "carbon_quantity": 15273823,
    "carbon_unit": "gram",
    "external_reference": "test_4",
    "type": "flight",
    "methodology": "DEFRA",
    "methodology_version": "2024",
    "distance": 8804.0,
    "distance_unit": "kilometer"
  }]
}

Versions

If methodology_version is left out, SQUAKE applies the latest supported DEFRA Conversion Factors year. Pin a year for reproducibility and audit readiness.

Bibliography

  • UK Government. Greenhouse gas emissions: research and statistics. gov.uk
  • Bramwell, R., et al. (2024). Government Greenhouse Gas Conversion Factors for Company Reporting: Methodology. Methodology paper (PDF).

On this page