CalcaTools
menu_book

How to Calculate MPG (Miles Per Gallon)

person calcatools calendar_today Updated: July 21, 2026 schedule 6 min read

Want to know how much gas your car actually uses? Calculating your car’s Miles Per Gallon (MPG) helps you figure this out. It’s simple: you just divide the miles you drove by the gallons of gas you used. This number tells you how fuel-efficient your car is. Knowing your MPG can help you save money on gas.

Every driver should know how to calculate MPG. Maybe you’re planning a road trip. Or you just want to see how your car is doing each day. This simple math gives you a lot of helpful info about your car’s fuel use. You only need two things: how far you drove and how much gas you burned. This guide will show you the exact steps. I’ll give you the formula, show examples, and even help with different units like liters or kilometers. You’ll be able to find your car’s MPG no matter what!

The Simple MPG Formula

The formula for finding your Miles Per Gallon is very easy:

MPG = Miles Driven / Gallons Used

To use this formula, you need two key pieces of information:

  • Miles Driven: This is how far your car went since the last time you filled up your tank.
  • Gallons Used: This is how much gas (in gallons) your car burned to go that distance.

Step-by-Step Example

Let’s walk through a common example to calculate MPG:

  1. Fill your gas tank all the way up: This is where you start. Write down the number on your odometer. Let’s say it reads 35,000 miles.
  2. Drive your car like normal: Keep driving until your gas tank is pretty low, or whenever you decide to get gas again.
  3. Fill your gas tank all the way up again: Note your new odometer reading. Also, write down the exact amount of gas (in gallons) you added to fill the tank.
    • New Odometer Reading: 35,350 miles
    • Gallons Added to Refill: 10.5 gallons
  4. Figure out your Miles Driven: Subtract your first odometer reading from the new one.
    • Miles Driven = New Odometer Reading - Initial Odometer Reading
    • Miles Driven = 35,350 miles - 35,000 miles = 350 miles
  5. Use the MPG Formula: Divide the miles you drove by the gallons you used.
    • MPG = 350 miles / 10.5 gallons
    • MPG ≈ 33.33 MPG

So, in this example, your car got about 33.33 miles per gallon. Not bad!

Calculating MPG with Different Units (Liters, Kilometers)

MPG is common in the United States. But other places use different ways to measure distance and gas. They might use kilometers for distance and liters for fuel. You often need to change these units to MPG. This helps you compare cars or track your own fuel use. The main idea is still the same: distance divided by gas used. You just need to add some conversion numbers.

Here are the common conversion numbers you’ll need:

  • 1 gallon ≈ 3.78541 liters
  • 1 mile ≈ 1.60934 kilometers

How to Change Liters per 100 km (L/100km) to MPG

Many parts of the world use Liters per 100 kilometers (L/100km) to measure fuel use. A smaller L/100km number means the car uses less fuel.

Here’s how to change L/100km to MPG:

MPG = 235.214583 / (Liters per 100 km)

Let’s say a car uses 7.5 L/100km:

MPG = 235.214583 / 7.5

MPG ≈ 31.36 MPG

How to Change Kilometers per Liter (km/L) to MPG

Some countries, especially in Asia, use Kilometers per Liter (km/L). A higher km/L number means the car uses fuel more efficiently.

Here’s the formula to change km/L to MPG:

MPG = km/L * 2.35214583

Let’s say a car gets 15 km/L:

MPG = 15 * 2.35214583

MPG ≈ 35.28 MPG

How to Change MPG to Kilometers per Liter (km/L)

Sometimes you might need to change your MPG number into km/L.

Here’s how to change MPG to km/L:

km/L = MPG / 2.35214583

Let’s say your car gets 30 MPG:

km/L = 30 / 2.35214583

km/L ≈ 12.75 km/L

Tips for Tracking Your MPG

I’ve been tracking my MPG for years, and these tips really help get good numbers and keep your car running well:

  • Always fill up the same way: For the best results, always fill your tank completely when you measure. Just stop at the first click of the gas pump. Don’t try to add more.
  • Take several readings: Don’t just rely on one calculation. Your fuel use changes with how you drive (city vs. highway), the weather, how much air is in your tires, and your driving style. Get a few readings over time and average them. This gives you a better idea.
  • Use your trip odometer: After each fill-up, reset your car’s trip odometer. This makes it super easy to see how many miles you drove on that tank of gas.
  • Keep your car maintained: Simple things like having the right tire pressure, clean air filters, and regular oil changes can really help your MPG. I always check my tire pressure once a month.
  • Drive smoothly: Punching the gas and slamming on the brakes uses a lot more fuel. Try to accelerate gently and look ahead in traffic. This can greatly improve your MPG.

If you want to do more complex calculations, like figuring out fuel costs for different trips, try an online Fuel Cost Calculator. You can put in your car’s MPG, the gas price, and how far you’re going. It will tell you how much your trip will cost. This helps with planning and budgeting.

MPG Conversion and Calculation Examples

This table gives you quick ways to convert and see examples for different fuel efficiency numbers. It answers common questions people have.

What I Know How I Calculate It My Result (MPG) Notes
Miles Driven: 300 miles
Gallons Used: 10 gallons
300 miles / 10 gallons 30 MPG Standard MPG calculation
Miles Driven: 450 miles
Gallons Used: 12.5 gallons
450 miles / 12.5 gallons 36 MPG How to figure your mpg
Miles Driven: 280 miles
Gallons Used: 8 gallons
280 miles / 8 gallons 35 MPG How do you calculate your miles per gallon
Fuel Economy: 8 L/100km 235.214583 / 8 29.40 MPG Liters per 100 km to mpg
Fuel Economy: 6.5 L/100km 235.214583 / 6.5 36.19 MPG Liters per km to miles per gallon
Fuel Economy: 18 km/L 18 * 2.35214583 42.34 MPG Km per liter to miles per gallon
Fuel Economy: 13 km/L 13 * 2.35214583 30.58 MPG How to convert km/L to MPG
Target MPG: 25 MPG
(Convert to km/L)
25 / 2.35214583 10.63 km/L Miles per gallon to kilometer per liter
Target MPG: 40 MPG
(Convert to L/100km)
235.214583 / 40 5.88 L/100km How to convert MPG to L/100km

Frequently Asked Questions (FAQ)

What is a good MPG?

What’s considered “good” MPG really depends on the type of car you have and how old it is. Generally, for a regular car that’s not a hybrid, anything over 30 MPG is pretty good. Hybrids and smaller cars can often get 40-60 MPG or even better.

How often should I calculate my MPG?

It’s a good idea to calculate your MPG every few times you fill up, or at least once a month. This gives you a clear average. It also helps you spot any sudden drops in fuel efficiency. A sudden drop could mean there’s a problem with your car.

Does city driving or highway driving affect MPG differently?

Yes, definitely! Driving in the city usually gives you lower MPG. That’s because you’re often stopping, starting, and idling in traffic. Highway driving, where you can keep a steady speed, almost always gives you better MPG.

verified_user Editorial Guidelines

Written by real humans with real-world experience. Our content at CalcaTools prioritizes factual accuracy, usability, and your privacy. We continuously review our articles to ensure they meet modern E-E-A-T (Experience, Expertise, Authoritativeness, and Trustworthiness) standards.