Skip to main content

MPG Calculator & Cost Estimator

Calculate your vehicle's miles per gallon and estimate your mpg calculator cost for any journey. Find out your exact gas cost per mile, total trip cost, and convert between US MPG, UK Imperial MPG, and km/L.

MPG Calculator Miles Per Gallon & Cost

Calculate vehicle MPG, gas cost per mile, and road trip fuel expenses

Instant MPG & Gas Cost Calculation

Enter trip miles, vehicle MPG, and gas price to calculate total trip gas cost, cost per mile, and distance benchmarks.

Formula: MPG Cost = (Trip Distance ÷ MPG) × Gas Price
NextCodeHub MPG EngineUS & Imperial Support

MPG Calculator Cost: How to Calculate Gas Cost from MPG

To calculate your total trip gas cost from your vehicle's miles per gallon (MPG), you need three figures: your trip distance (miles), your vehicle's fuel efficiency (MPG), and the gas price ($/gallon).

Step 1: Fuel Needed

Gallons = Miles ÷ MPG

Example: 450 mi ÷ 30 MPG = 15.0 Gal

Step 2: Total Cost

Cost = Gallons × Gas Price

Example: 15.0 × $3.50 = $52.50

Step 3: Cost Per Mile

Cost/Mile = Price ÷ MPG

Example: $3.50 ÷ 30 = $0.117/mi

Worked Example: 450-Mile Road Trip

Suppose you are driving 450 miles in a car that averages 30 MPG, with regular gasoline costing $3.50 per gallon:

  • • Gallons of gasoline required: 450 ÷ 30 = 15.0 gallons
  • • Total MPG gas cost: 15.0 × $3.50 = $52.50
  • • Cost per passenger (3 people split): $52.50 ÷ 3 = $17.50 per person
  • • Fuel cost per mile: $3.50 ÷ 30 = 11.7 cents per mile

MPG Trip Cost Lookup Table (Calculated at $3.50/Gallon)

Vehicle EfficiencyCost / Mile100 Miles300 Miles500 Miles1,000 Miles
20 MPG (Truck / Large SUV)$0.175$17.50$52.50$87.50$175.00
25 MPG (Midsize Crossover)$0.140$14.00$42.00$70.00$140.00
30 MPG (Standard Sedan)$0.117$11.67$35.00$58.33$116.67
35 MPG (Compact Car)$0.100$10.00$30.00$50.00$100.00
45 MPG (Full Hybrid)$0.078$7.78$23.33$38.89$77.78
55 MPG (Plug-in / Eco Hybrid)$0.064$6.36$19.09$31.82$63.64

*Gas prices vary by region. Multiply the gallons needed by your local price per gallon for exact figures.

MPG Conversion Table (US MPG ⇄ UK MPG ⇄ km/L ⇄ L/100km)

Need to convert between American MPG, British Imperial MPG, and metric fuel figures? Use this instant conversion chart:

US MPGUK Imperial MPGMetric (km/L)Metric (L/100km)
15 MPG18.0 UK MPG6.38 km/L15.68 L/100km
20 MPG24.0 UK MPG8.50 km/L11.76 L/100km
25 MPG30.0 UK MPG10.63 km/L9.41 L/100km
30 MPG36.0 UK MPG12.75 km/L7.84 L/100km
35 MPG42.0 UK MPG14.88 km/L6.72 L/100km
40 MPG48.0 UK MPG17.01 km/L5.88 L/100km
45 MPG54.0 UK MPG19.13 km/L5.23 L/100km
50 MPG60.0 UK MPG21.26 km/L4.70 L/100km
55 MPG66.1 UK MPG23.38 km/L4.28 L/100km

• US MPG to km/L: km/L = US MPG ÷ 2.352

• US MPG to L/100km: L/100km = 235.215 ÷ US MPG

• UK MPG to US MPG: US MPG = UK MPG × 0.8327

• km/L to US MPG: US MPG = km/L × 2.352

What is MPG (Miles Per Gallon)?

Miles per gallon (MPG) is the standard measure of fuel efficiency used in the United States and United Kingdom. It tells you how many miles your vehicle can travel on one gallon of fuel. A higher MPG means your car is more fuel efficient and costs less to run.

The EPA (Environmental Protection Agency) tests every new car sold in the US and provides city and highway MPG ratings. Our MPG calculator lets you measure your real-world miles per gallon based on actual fuel fill-ups.

MPG Formula

MPG = Miles Driven ÷ Gallons of Gas Used

Example: 300 miles ÷ 10 gallons = 30 MPG

MPG Benchmarks by Vehicle Class

Vehicle ClassCity MPGHighway MPGRating
Electric VehicleN/AN/A⭐⭐⭐⭐⭐ Excellent
Hybrid Car40 – 5545 – 60⭐⭐⭐⭐⭐ Excellent
Compact Car28 – 3535 – 45⭐⭐⭐⭐ Great
Midsize Sedan22 – 3030 – 40⭐⭐⭐ Average
SUV / Crossover18 – 2525 – 32⭐⭐ Below Avg
Full-Size Truck14 – 2018 – 26⭐ Poor

US MPG vs UK MPG Explained

🇺🇸 US Gallon (3.785 L)

Standard US MPG uses the US liquid gallon. Most American cars, trucks, and gas stations use this measurement.

30 US MPG = 36.04 UK MPG

🇬🇧 UK Imperial Gallon (4.546 L)

UK MPG uses the larger imperial gallon. British fuel economy figures are typically higher than US MPG for the same vehicle.

30 UK MPG = 24.95 US MPG

Frequently Asked Questions

How do I calculate miles per gallon (MPG)?

Divide miles driven by gallons used: 300 miles ÷ 10 gallons = 30 MPG. Or simply use our MPG calculator above.

What is a good MPG for a car?

30–40 MPG is considered good for highway driving in a regular car. Above 40 MPG is fuel efficient. Hybrids achieve 50+ MPG.

How do I improve my MPG?

Maintain proper tire pressure, reduce highway speed to 60 mph, avoid rapid acceleration, remove unnecessary weight, and service your engine regularly.

What is the difference between US MPG and UK MPG?

US MPG uses a 3.785L gallon; UK MPG uses a 4.546L imperial gallon. A car at 30 US MPG equals ~36 UK MPG.

Cost Per Mile by MPG & Gas Price

Understanding your cost per mile is critical for budgeting commutes, road trips, and business mileage reimbursements. The table below shows fuel cost per mile at various MPG ratings and gas prices:

Your MPGAt $3.00/galAt $4.00/galAt $5.00/gal
15 MPG$0.20/mi$0.27/mi$0.33/mi
20 MPG$0.15/mi$0.20/mi$0.25/mi
25 MPG$0.12/mi$0.16/mi$0.20/mi
30 MPG$0.10/mi$0.13/mi$0.17/mi
40 MPG$0.08/mi$0.10/mi$0.13/mi
50 MPG$0.06/mi$0.08/mi$0.10/mi

*The IRS standard mileage rate for 2024 is 67 cents/mile, which includes fuel, maintenance, and depreciation costs.

Real-World MPG vs EPA Rated MPG: What to Expect

The MPG rating on your vehicle's window sticker is measured under controlled laboratory conditions. Your real-world miles per gallon will vary significantly based on how and where you drive. Here's what affects the gap between official and real-world MPG:

Highway Speed

EPA tests at 48 mph avg; real highways are 65–75 mph

📉 Real MPG 10–25% lower

Air Conditioning

EPA test has limited AC usage; real-world AC is constant

📉 Real MPG 5–20% lower

Cold Weather

EPA tests in controlled temperature; winter affects combustion

📉 Real MPG 10–30% lower

Traffic & Idling

EPA uses standardized cycles; real traffic varies greatly

📉 Real MPG 15–40% lower in cities

Cargo Load

EPA tests empty vehicles; real cars carry passengers/cargo

📉 Real MPG 2–5% lower per 100 lbs

Tire Condition

EPA uses new tires at correct pressure; real-world varies

📉 Real MPG up to 3% lower

💡 Pro Tip: Use our miles per gallon calculator

Always measure your real-world MPG using our calculator rather than relying on the window sticker figure. Your actual fuel budget should be based on measured results from at least 3 consecutive fill-up cycles.

MPG Calculator for Rideshare Drivers & Business Mileage

Rideshare drivers (Uber, Lyft) and self-employed professionals need accurate MPG calculations for tax deduction purposes. The IRS and HMRC allow deductions based on business miles driven. Here's how to use our MPG calculator for business purposes:

Track Your Real MPG Monthly

Record your odometer and fuel receipts every fill-up. Input the data into our MPG calculator to get your exact miles per gallon for the month. This is more accurate than any dash display.

Calculate Your Fuel Cost Per Mile

Once you know your MPG, divide your fuel price per gallon by your MPG. At $4.00/gallon and 30 MPG, your fuel cost is $0.133 per mile. Track this monthly for accurate expense reporting.

Compare to IRS Mileage Rate

The IRS standard mileage rate (67 cents/mile in 2024) covers all vehicle costs including fuel. If your actual cost per mile exceeds this, it may be better to deduct actual expenses instead.

Document for Tax Purposes

Keep your MPG calculator results alongside mileage logs for tax documentation. For business trips, document date, destination, purpose, and total miles to validate your fuel expense claims.

Everything You Need to Know About MPG

❓ What does MPG stand for?

MPG stands for Miles Per Gallon — the standard unit for measuring vehicle fuel efficiency in the US and UK. It tells you how many miles your car travels on one gallon of fuel.

❓ How do I calculate MPG manually?

Fill your tank, note the odometer. Drive until you refuel. Note gallons added and miles since last fill-up. Divide miles by gallons = MPG. E.g., 320 miles ÷ 11 gallons = 29 MPG.

❓ What is combined MPG?

Combined MPG is a weighted average of city and highway fuel economy (usually 55% city, 45% highway). It's the most relevant figure for everyday driving.

❓ Why does my MPG drop in winter?

Cold weather increases engine warm-up time, thickens fluids, reduces tire pressure, and requires more energy for heating. Winter MPG can be 10–30% lower than summer MPG.

❓ What is mpge (MPG equivalent)?

MPGe (miles per gallon equivalent) is used for electric and plug-in hybrid vehicles to compare their efficiency to gasoline cars. 33.7 kWh of electricity equals one gallon of gasoline.

❓ What MPG do I need to drive 500 miles?

It depends on your tank size. At 25 MPG with a 20-gallon tank (500-mile range), you can do it on one tank. At 15 MPG with the same tank, you'll need to refuel mid-trip.