Mileage Calculator

Enter a distance, your fuel economy and the price of fuel to get the trip cost and cost per mile.

Quick answer

A mileage calculator works out the fuel cost of a trip. Divide the distance by your miles per gallon to get the gallons used, then multiply by the price per gallon. A 300-mile trip at 32 mpg uses about 9.4 gallons; at $3.50 a gallon that is roughly $32.81, or about $0.11 per mile.

Updated 2026-09-04Reviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Trip Fuel Cost
Trip distance in miles.
Your vehicle miles per gallon.
$
Price per gallon of fuel.

Fuel cost for trip

--
Fuel used--
Cost per mile--

Calculations run entirely in your browser. Nothing you enter is stored or sent anywhere.

What This Mileage Calculator Shows

This tool estimates the fuel cost of a journey. It answers the everyday question of what a trip will cost to drive, based on three things you can look up: the distance, how many miles your vehicle gets per gallon, and the current price of fuel.

It also shows the cost per mile, which is handy for comparing vehicles or deciding whether a longer route is worth it.

How to Calculate Trip Mileage Cost

Formula: Cost = (Distance / MPG) x Price per gallon

Divide the distance by your miles per gallon to find the fuel used, then multiply by the price per gallon. A 300-mile trip in a car doing 32 mpg uses about 9.4 gallons; at $3.50 a gallon that is roughly $32.81, or about $0.11 per mile.

How to Read Your Result

The main figure is the fuel cost for the whole trip. The fuel-used box shows the gallons burned, and the cost-per-mile box breaks it down to a single mile, which is the fairest way to compare two vehicles or two routes.

More detail

Fuel Cost vs Mileage Reimbursement

This estimates actual fuel cost. If you are claiming business mileage instead, multiply your miles by the flat per-mile rate your employer or tax authority sets, which is meant to cover fuel plus wear and running costs, so it is usually higher than fuel alone.

For the wider cost of getting around, the commute cost calculator looks at a full year of travel, and the salary calculator helps you weigh travel time against pay.

Getting an Accurate Estimate

Real economy varies with speed, load, terrain and weather, so use a realistic mpg rather than the sticker figure. Fuel prices change often, so check a current local price. If the trip is part of running a vehicle you are financing, factor in the payment from the auto loan calculator too.

Does this work with litres and kilometres?

It is set up for miles, gallons and miles per gallon. If you use litres per 100 km, convert your economy to mpg first, or multiply litres used by price per litre for the same idea.

What is a typical cost per mile?

For fuel alone it is often between 8 and 20 cents a mile, depending on the vehicle and fuel price. Total running cost, including wear, insurance and depreciation, is much higher.

How is this different from mileage reimbursement?

This estimates actual fuel cost. Reimbursement uses a flat per-mile rate set by an employer or tax authority that also covers wear and running costs, so it is usually higher than fuel alone.

Why does my real economy differ from the sticker mpg?

Speed, acceleration, load, terrain, weather and tyre pressure all affect economy, so real-world mpg is often lower than the official figure. Use a number based on your own driving.

Is my data saved?

No. The calculation runs in your browser and nothing you enter is stored.

Sources

Related calculators

Looking for more money and everyday tools?

Explore all finance calculators

Reviewed by Prof. Dr. Khalil Mudassar, PhD
The formula and worked example on this page are checked for accuracy against standard references. View profile

This calculator is for general information and planning only and is not financial, tax, accounting or legal advice. Results are estimates based on the figures you enter. Confirm important decisions with a qualified professional. Spotted an error? Let us know.

Creator

Hamza-Shakeel
Chief Technology Officer (CTO) at  ~ Web ~  More Posts

Hamza Shakeel is the Chief Technology Officer at MultiCalculators.com, responsible for the platform's technical architecture, calculator engine performance, and infrastructure reliability. He leads engineering efforts focused on site speed, mobile responsiveness, Core Web Vitals optimization, and security. Hamza ensures every calculation runs accurately and instantly across all devices, while maintaining the platform's stability and scalability as it grows. His work directly supports the seamless, trustworthy experience users expect from MultiCalculators.com.

Areas of Expertise: Web Engineering, Core Web Vitals, Site Performance, Calculator Logic, Cloud Infrastructure, Security