Skip to main content
general Tool

MPG Fuel Cost Calculator

Calculate cost from distance, MPG, and fuel price.

MPG Fuel Cost Calculator: inputs

Instant Real-Time calculation
miles
MPG
$/gal
Results auto-update instantly as numbers are typed.
Calculated ResultLive
--
$
Applied Formula
(Distance / MPG) × Fuel Price
Standard trip gas expenditure derived directly by dividing overall distance by vehicle fuel efficiency, then multiplying gallons consumed by pump price.

How MPG Fuel Cost Calculator Works?

This tool works in 4 steps: enter the distance, enter the miles per gallon (MPG) rating, enter the fuel price, and read the total cost. The tool divides distance by MPG to get gallons burned, then multiplies gallons by the pump price.

  1. Enter the distance

    Type the miles you plan to drive. A 250-mile (402 km) drive is the default value, which matches a typical weekend getaway.

  2. Enter the MPG rating

    Use the combined Environmental Protection Agency (EPA) rating from the window sticker or your own measured MPG. Measured MPG gives a closer estimate for older vehicles.

  3. Enter the fuel price

    Type the price per gallon (3.785 liters) you pay at the pump, for example $3.65/gal for regular unleaded.

  4. Read the total fuel cost

    The result box updates on every keystroke and shows the dollar cost of fuel for the full distance, with no page reload.

MPG Fuel Cost Calculator Formula

The formula is Fuel Cost = (Distance ÷ MPG) × Fuel Price. The first part returns gallons used, and the second part converts gallons into dollars.

Formula
Fuel Cost = (Distance ÷ MPG) × Fuel Price

Formula variables

Distance
Total miles driven. Multiply kilometers by 0.621 to get miles.
MPG
Miles the vehicle travels on 1 US gallon (3.785 L) of fuel.
Fuel Price
Dollars paid per US gallon at the pump.

Worked example

  • Distance: 250 miles
  • Fuel Efficiency: 30 MPG
  • Fuel Price: $3.65/gal
  1. Divide 250 miles by 30 MPG: 250 ÷ 30 = 8.33 gallons (31.5 liters).
  2. Multiply 8.33 gallons by $3.65: 8.33 × $3.65 = $30.42.

Result: $30.42

Fuel cost changes in direct proportion to distance and fuel price, and in inverse proportion to MPG. Doubling the distance doubles the cost, while raising MPG from 30 to 40 cuts the same 250-mile cost from $30.42 to $22.81.

MPG Fuel Cost Calculator Conversion Table

The table lists fuel cost for 5 distances across 5 MPG ratings at $3.65 per gallon. Read across a row to see how a more efficient vehicle lowers the cost of the same drive.

Rows: Distance (miles). Columns: Fuel Efficiency (MPG). Cells: $.

MPG Fuel Cost Calculator conversion table
miles20 MPG25 MPG30 MPG40 MPG50 MPG
50 miles$9.13$7.30$6.08$4.56$3.65
100 miles$18.25$14.60$12.17$9.13$7.30
250 miles$45.63$36.50$30.42$22.81$18.25
500 miles$91.25$73.00$60.83$45.63$36.50
1,000 miles$182.50$146.00$121.67$91.25$73.00

Values held constant: Fuel Price = $3.65/gal.

A 1,000-mile (1,609 km) drive costs $182.50 at 20 MPG and $73.00 at 50 MPG, a gap of $109.50 for the same route.

What is MPG Fuel Cost Calculator?

The MPG Fuel Cost Calculator is a free online tool that converts distance, fuel economy, and fuel price into a total dollar cost for fuel. Drivers use the tool to price any drive before leaving home.

The calculator accepts 3 inputs: distance in miles, fuel economy in miles per gallon (MPG), and fuel price in dollars per gallon. The output is a single dollar figure rounded to 2 decimal places.

The tool covers gasoline, diesel, and hybrid vehicles, since all 3 report fuel economy in MPG. Electric vehicles (EVs) use miles per gallon equivalent (MPGe) and kilowatt-hours, so EV costs fit the EV vs Gasoline Cost Calculator better.

What are the uses of MPG Fuel Cost Calculator?

There are 5 main uses of the MPG Fuel Cost Calculator: pricing a single drive, comparing vehicles, checking gas budgets, splitting fuel bills, and logging business travel.

  • Pricing a single drive

    Drivers get the exact fuel cost of a 50-mile errand or a 500-mile visit before starting the engine.

  • Comparing vehicles

    Shoppers enter the same distance with 2 different MPG ratings to see the dollar gap between a sedan and a pickup truck.

  • Checking gas budgets

    Households test whether a planned drive fits inside a weekly or monthly fuel allowance.

  • Splitting fuel bills

    Friends divide the total fuel cost by the number of riders to settle shared travel costs fairly.

  • Logging business travel

    Freelancers record the fuel portion of client visits for expense records and tax files.

Need every metric in one place? Open the main MPG Cost Calculator or browse all 101 fuel calculators.

More tools for MPG Fuel Cost Calculator

View All (101) →