Gas Mileage Calculator

Calculate your fuel efficiency (MPG or L/100 km), estimate trip fuel costs, and find your cost per mile — with CO₂ emission estimates.

Units:

Save Money on Gas

Find the cheapest gas stations near you and get roadside assistance when you need it.

How the Gas Mileage Calculator Works

This calculator helps you understand your vehicle's fuel consumption in three ways: calculating fuel efficiency, estimating trip costs, and finding your per-mile fuel expense. All modes include CO₂ emission estimates and support both imperial and metric units.

Calculating MPG (Miles Per Gallon)

Enter the miles you drove and the gallons of gas used to fill up. The calculator divides distance by fuel to give you MPG. It also converts to L/100 km for metric comparison. A higher MPG means better fuel efficiency and lower costs.

Estimating Trip Fuel Cost

Planning a road trip? Enter the total distance, your vehicle's MPG, and the current gas price. The calculator determines how many gallons you'll need and the total fuel cost. Great for budgeting before a long drive.

Cost Per Mile Breakdown

Knowing your fuel cost per mile is essential for freelancers, delivery drivers, and anyone tracking mileage expenses. Simply enter the gas price and your MPG to see what each mile costs in fuel. Compare this against the IRS standard mileage rate for deductions.

CO₂ Emissions

Every gallon of gasoline burned produces approximately 8.887 kg (19.6 lbs) of CO₂. The calculator estimates your carbon footprint based on fuel consumed, helping you understand the environmental impact of your driving.

Imperial vs. Metric

Toggle between imperial (miles, gallons, MPG) and metric (kilometers, liters, L/100 km) units. The calculator automatically adjusts all labels, calculations, and results to match your preferred system.

Tips to Improve Fuel Efficiency

Frequently Asked Questions

How do I calculate my car's MPG?
Fill your tank, reset the trip odometer, and drive normally. At the next fill-up, divide the miles driven by the gallons used. For example, 300 miles ÷ 10 gallons = 30 MPG.
What is a good MPG for a car?
The average new car gets about 25–30 MPG combined. Hybrids typically achieve 40–60 MPG, while EVs use kWh instead. Above 30 MPG is generally considered fuel-efficient for a gasoline vehicle.
How do I convert MPG to liters per 100 km?
Divide 235.215 by your MPG. For example, 30 MPG = 235.215 ÷ 30 ≈ 7.84 L/100 km. Our calculator does this conversion automatically.
How much CO2 does my car produce?
Burning one gallon of gasoline produces about 8.887 kg (19.6 lbs) of CO₂. Our calculator estimates your trip or per-mile CO₂ emissions based on your fuel consumption.
How can I improve my gas mileage?
Keep tires properly inflated, avoid aggressive acceleration and braking, remove excess weight, use cruise control on highways, and keep up with regular maintenance like air filter and oil changes.
What affects fuel cost on a road trip?
Total distance, your vehicle's fuel efficiency (MPG), and the price of gas per gallon. Highway vs. city driving also matters — highway MPG is usually 20–30% better than city.
Is premium gas worth the extra cost?
Only if your vehicle requires it. Most cars run fine on regular (87 octane). Using premium in a car designed for regular provides no MPG or performance benefit and just costs more.

Related Calculators

More free tools for everyday calculations.

Methodology, Assumptions, and Limitations

About this page: Gas Mileage Calculator — MPG, Trip Cost & More is designed to help visitors make faster, better-informed decisions without creating an account or giving up personal data.

This page is designed for fast educational estimates. Results depend on the assumptions and inputs shown on the page and may differ from official statements, provider systems, or professional advice tailored to your situation.

Worked example: Example: run one conservative scenario and one aggressive scenario so you can understand the range of outcomes instead of relying on a single point estimate.

Source References

Editorial Transparency

Last updated: March 9, 2026 · Author: CalcSharp Editorial Team · Reviewed by: CalcSharp Finance Review Desk

CalcSharp publishes free educational calculators and guides. We prioritize plain-English explanations, visible assumptions, and links to primary or official references wherever practical.

Percentage CalculatorBlogAbout CalcSharp