Fuel Cost Calculator
Checked 15 October 2026 NIST Special Publication 811 Formula Tested
Work out how much fuel a trip uses and what it costs, from the distance, your car's fuel economy (km per litre, litres per 100 km or miles per gallon) and the fuel price.
- Fuel cost · in your currency
- –
Formula: Fuel (litres) = distance in km ÷ km per litreChecked 15 October 2026Tested: 4 casesSources: NIST Special Publication 811
- Fuel needed
- –
- Cost per km or mile (your distance unit)
- –
Select the text below and copy it
Assumptions (2)
- The fuel economy you enter holds for the whole trip.
- One fuel price for every litre.
Show working
- Fuel (litres) = distance in km ÷ km per litre
- Cost = litres × price per litre
- Conversions: L/100 km → km/L = 100 ÷ value; mpg (US) → km/L = mpg × 1.609344 ÷ 3.785411784; mpg (UK) → km/L = mpg × 1.609344 ÷ 4.54609
Worked example
A 500 km trip in a car that does 12 km per litre, fuel at 270 a litre.
| You enter | |
|---|---|
| Distance | 500 |
| Distance unit | Kilometres |
| Fuel economy | 12 |
| Fuel economy unit | km per litre |
| Fuel price | 270 |
| Price is per | Litre |
| You get | |
| Fuel cost | 11,250 |
| Fuel needed | 41.67 L |
| Cost per km or mile (your distance unit) | 22.5 |
500 km uses about 41.67 litres of fuel, costing 11,250 (22.5 per km).
Sources and checks
NIST Special Publication 811 · Checked 15 October 2026
Your numbers stay on your device unless you share them.
Real fuel use depends on traffic, speed, load and air conditioning. Use your own average for the best estimate. Results are estimates for information only and are not financial, tax or legal advice. Check important figures with a qualified professional before you act on them.