nz_fuel_cost_calculator
Work out the fuel cost of a trip, and of regular driving, in New Zealand.
Use this for ANY question about what fuel costs: a road trip, a commute, the
running cost of a car, or comparing two vehicles.
Common use cases: 'what does it cost to drive Auckland to Wellington',
'how much fuel money do I spend a year commuting', 'is a 6L/100km car worth
it over an 9L/100km one', 'petrol cost for 400km'.
IMPORTANT about consumption: this takes litres per 100 km, which is how New
Zealand quotes fuel economy and what is printed on a vehicle's fuel economy
label. A LOWER number is a more efficient car. If a user gives miles per
gallon or kilometres per litre, convert it before calling this, or the
answer will be confidently wrong.
Args:
distance_km: Trip distance in kilometres.
consumption_l_per_100km: Fuel consumption in litres per 100 km.
price_per_litre: Pump price in NZD per litre. Around 2.60 to 3.00 for
petrol in 2026; ask the user rather than guessing if it matters.
weekly_km: Kilometres driven in a typical week, for the running costs.
Leave at 0 for a one-off trip, which returns zero for the weekly,
monthly and annual figures rather than an error.
Returns:
Litres used, trip cost, cost per km, cost per 100 km, and weekly,
monthly and annual running costs. cost_per_100km depends only on the
vehicle and the pump price, so it is the figure to compare cars with.
monthly_cost is a twelfth of the annual figure, not weekly x 4.33.
Covers fuel only. Not road user charges, which diesel and electric vehicles
pay by the kilometre, and not servicing, tyres, insurance or depreciation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weekly_km | No | ||
| distance_km | Yes | ||
| price_per_litre | Yes | ||
| consumption_l_per_100km | Yes |