# Fuel cost calculator

> What a trip costs in fuel, split between passengers, in miles per gallon or liters per 100 km.

Category: Everyday · Web page: https://plumcalc.com/fuel-cost/ · Last reviewed: November 19, 2026

## How to use

1. Enter your numbers: Units, Distance (one way), Round trip, Fuel efficiency (mpg), Price per gallon, People sharing. Example figures are filled in to start.
2. Read your result instantly: the trip fuel cost appears in the results panel, with a full breakdown underneath.
3. Save as PDF, copy the results, or save a scenario to compare different inputs side by side.

## Inputs

| Key | Field | Type | Default | Notes |
|---|---|---|---|---|
| `un` | Units | choice | us | options: `us` (US (miles, mpg, price per gallon)), `m` (Metric (km, L/100 km, price per liter)) |
| `dist` | Distance (one way) | number | 300 |  |
| `rt` | Round trip | choice | no | options: `no` (No), `yes` (Yes) |
| `eff` | Fuel efficiency (mpg) | number | 30 |  |
| `price` | Price per gallon | number | 3.5 | currency |
| `ppl` | People sharing | number | 1 |  |

## Worked example (default inputs)

- Units: US (miles, mpg, price per gallon)
- Distance (one way): 300
- Round trip: No
- Fuel efficiency (mpg): 30
- Price per gallon: $3.5
- People sharing: 1

**Trip fuel cost: $35.00** (300 mi in total)

- Distance: 300 mi
- Fuel used: 10 gallons
- Cost per mile: $0.117
- Cost per person: $35.00

## How it's calculated

US: gallons = miles ÷ mpg. Metric: liters = km × (L/100 km) ÷ 100. Cost = fuel used × price, divided by the number of people sharing.

## Frequently asked questions

### How do I calculate the gas cost of a trip?

Divide the distance by your car's miles per gallon to get gallons used, then multiply by the price per gallon. A 300-mile trip at 30 mpg and $3.50 a gallon costs $35.

### How do I convert mpg to L/100 km?

Divide 235.215 by the mpg figure. For example, 30 mpg is about 7.8 L/100 km.

### Does the calculator handle round trips and splitting costs?

Yes. Choose round trip to double the distance, and enter the number of people sharing to see the cost per person.

## Related calculators

- [Percentage calculator](https://plumcalc.com/percentage/): Seven percentage tools in one: percent of, percent change, increase, decrease, reverse and difference.
- [Tip calculator](https://plumcalc.com/tip/): Tip on the pre-tax amount, split the bill, round up, and compare common tip rates.
- [Discount & sales tax calculator](https://plumcalc.com/discount/): Sale prices with stacked discounts, coupons, quantity and sales tax.
- [Age & date calculator](https://plumcalc.com/date-diff/): Exact age or time between dates, business days, next anniversary, or add and subtract time from a date.
- [Unit converter](https://plumcalc.com/unit-converter/): Over 50 conversions for length, weight, cooking, volume, area, speed, temperature, energy, pressure and data.
---

PlumCalc (https://plumcalc.com) · Free, private online calculators. All calculations run in the user's browser; inputs are never sent to a server. Results are estimates for planning and education, not financial, tax, legal or medical advice.

For AI agents: MCP server at https://plumcalc.com/mcp (tools: list_calculators, calculate, evaluate_expression) · [Server card](https://plumcalc.com/.well-known/mcp/server-card.json) · [llms.txt](https://plumcalc.com/llms.txt) · [About](https://plumcalc.com/about) · [Contact](https://plumcalc.com/contact) · [Privacy Policy](https://plumcalc.com/privacy-policy) · [Terms of Service](https://plumcalc.com/terms-of-service)
