Methodology and sources
Every constant, formula and government source used across PumpMath calculators and reports.
Last verified against primary sources: .
Statutory unit constants
UK motoring uses imperial gallons and miles alongside metric litres at the pump. PumpMath uses exact statutory definitions with no intermediate rounding.
- 1 UK imperial gallon (Weights and Measures Act 1985, Schedule 1)
- 4.54609 litres
- 1 US liquid gallon (NIST SP 811, Appendix B.8)
- 3.785411784 litres
- 1 mile (1,760 yards × 0.9144 m)
- 1.609344 km
- UK MPG ↔ l/100km constant
- 282.481
- US mpg ↔ l/100km constant
- 235.215
The litres to gallons converter and the MPG to l/100km converter use these constants.
Calculator formulas
Every calculator keeps full floating-point precision inside the calculation and rounds only the displayed figure.
- Journey fuel cost: (miles ÷ MPG) × 4.54609 × pence/litre ÷ 100pounds
- Real MPG from fill-up: miles ÷ (litres ÷ 4.54609)UK mpg
- Fuel cost per mile: pence/litre × 4.54609 ÷ MPGpence
- Diesel break-even MPG: petrol MPG × (diesel price ÷ petrol price)UK mpg
- VAT inside pump price: price × VAT% ÷ (100 + VAT%)pence/litre
UK weekly road fuel prices (DESNZ)
Default pump prices come from the Department for Energy Security and Net Zero (DESNZ) accredited weekly road fuel prices dataset. Six fuel companies report each Monday: four oil companies and two supermarkets.
- Series span
- 9 Jun 2003 to 23 Nov 2026
- Weeks included
- 1,225
- Latest DESNZ publication
- 24 November 2026
- Licence
- Open Government Licence v3.0
DESNZ figures are national weighted averages, not the price at your nearest forecourt. We do not publish individual station prices or scrape supermarket websites. Access to the statutory UK Fuel Finder data needs a GOV.UK One Login. The full weekly series is free to download from the reports page.
HMRC mileage and advisory fuel rates
The mileage allowance calculator follows HMRC rules for Approved Mileage Allowance Payments (AMAP) and Mileage Allowance Relief (MAR). It also applies the National Insurance limits. The advisory fuel rates calculator uses HMRC’s quarterly Advisory Fuel Rates (AFR).
- AMAP car rate (2026 to 2027, first 10,000 miles)
- 55p / 25p after
- AMAP verification date
- 26 November 2026
- Latest AFR quarter in database
- From 1 December 2026
- AFR review schedule
- 1 Mar, 1 Jun, 1 Sep, 1 Dec
- AFR verification date
- 26 November 2026
For National Insurance, HMRC applies the first-tier rate to every business mile with no 10,000-mile drop. For AFR, HMRC publishes mean MPG to one decimal place while rounding rates from unrounded figures.
What PumpMath does not cover
- Individual forecourt or live local station prices.
- Electric vehicle home charging tariffs, Vehicle Excise Duty (VED) or Benefit-in-Kind tax.
- Income Tax bands, Personal Allowance or formal tax advice.
All results run locally in your browser. Spot a changed rate or mismatch against GOV.UK? Email us on the contact page with the official link. Who runs PumpMath and how it is funded is on the about page.
Sources
- DESNZ: Weekly road fuel prices (accredited official statistics)
- HMRC: Excise Duty, hydrocarbon oils rates (fuel duty)
- DESNZ: Fuel Finder, latest fuel prices and forecourt data
- HMRC: Advisory fuel rates
- HMRC: Business travel mileage, rules for tax
- HMRC: Business travel mileage, rules for National Insurance
- HMRC: Passenger payments
- HMRC: Travel, mileage and fuel rates and allowances
- GOV.UK: Claim tax relief for vehicles you use for work
- GOV.UK: Simplified expenses for vehicles (self-employed)
- Weights and Measures Act 1985, Schedule 1 (gallon and mile)
- NIST SP 811, Appendix B.8 (US gallon in litres)
Checked against these pages on .
Other tools
- Fuel costCost of a journey from miles, MPG and pence per litre.
- MPGYour real MPG from one brim-to-brim fill-up.
- Cost per mileFuel cost per mile, per 100 miles and per year.
- Petrol vs dieselWhich car costs less to fuel at this week’s prices.
- Mileage allowanceHMRC approved amount, tax relief and NI for business miles.
- Advisory fuel ratesHMRC company car fuel rate and what to reimburse.
- Litres to gallonsLitres, UK gallons and US gallons both ways.
- MPG to l/100kmUK mpg, US mpg, l/100km and km/l.
- Fuel pricesUK average petrol and diesel prices from DESNZ, weekly since 2003.
Last updated: .