# Fuel Cost Calculator

- **URL:** https://codeasystem.com/calculators/everyday/fuel-cost-calculator/
- **Category:** everyday
- **Description:** Work out the fuel needed and total cost of any trip, then split the cost between passengers.
- **Primary output:** Total fuel cost: $70.00

## Inputs
- Units (name: `mode`, type: select)
- Distance (name: `distance`, type: number, example: 500)
- Vehicle efficiency (name: `efficiency`, type: number, example: 25)
- Fuel price (name: `price`, type: number, prefix: $, example: 3.50)
- Split between (name: `people`, type: number, example: 1)

## Outputs
- Total fuel cost: $70.00
- Fuel needed: 20 gallons
- Cost per person (split 1 way): $70.00

## Formula / methodology
```
Imperial: gallons = miles ÷ mpg   Metric: liters = km × L/100km ÷ 100
Total cost = fuel needed × price   Per person = total ÷ people
```

In imperial mode the trip distance divided by your car’s mpg gives gallons burned; in metric mode, kilometers multiplied by L/100km over 100 gives liters. Multiplying fuel by its price gives the trip cost, which we divide evenly across passengers.

## Assumptions & limitations
- Efficiency stays constant across the trip; highway beats city driving.
- Price is the same at every fill-up.
- The per-person split divides evenly with no rounding up.

## How to use
1. **Pick your units**; Choose imperial for miles/mpg/$-per-gallon, or metric for kilometers/L-per-100km/$-per-liter.
2. **Enter the trip details**; Add the one-way or round-trip distance, your vehicle’s efficiency and the current fuel price.
3. **Split if needed**; Set the number of people sharing the cost to see what each person owes.

## Example
A 500-mile trip in a 25 mpg car at $3.50 per gallon burns 20 gallons and costs $70.00; just $70.00 each when traveling solo.

Result for these inputs:

```
Total fuel cost: $70.00
```

## About this calculator
### Where road-trip money actually goes

Fuel is usually the second-largest road-trip expense after lodging. Because cost scales linearly with distance, doubling the trip doubles the bill; but efficiency improvements help too: trading 20 mpg for 25 mpg cuts fuel use by 20% on the same route.

### Metric versus imperial efficiency

The two conventions run in opposite directions: higher mpg is better, while lower L/100km is better. Convert between them mentally with 235.215 ÷ mpg ≈ L/100km, or use our dedicated fuel economy converter.

### Fair splitting

Even splits ignore who drove, but they keep group trips friendly. If one person lends the car, splitting fuel only; not wear, insurance or depreciation; is the customary courtesy.

## FAQs
### Should I use my car’s rated mpg?

Real-world driving usually lands 10–15% below the window sticker, mostly city driving and heavy loads. Use your own fill-up math via the gas mileage calculator for accuracy.

### Does this include tolls or wear?

No; fuel only. For an employer-grade rate that covers depreciation and insurance, see the mileage reimbursement calculator.

### What about electric cars?

Use the electricity cost calculator instead: treat kWh consumed as “fuel” and your price per kWh as the energy price.

## Related calculators
- [Gas Mileage Calculator](https://codeasystem.com/calculators/everyday/gas-mileage-calculator/)
- [Mileage Reimbursement Calculator](https://codeasystem.com/calculators/everyday/mileage-reimbursement-calculator/)
- [Fuel Economy Converter](https://codeasystem.com/calculators/conversion/fuel-economy-converter/)

---
Last updated: 2026-08-23 · Version: 1.0.0 · [HTML version](https://codeasystem.com/calculators/everyday/fuel-cost-calculator/)
