Gas Mileage Calculator
Estimate Gas Mileage by entering distance, fuel efficiency, and price per litre or gallon. See total fuel cost and CO₂ emissions for any journey.
Calculator
Adjust values & calculateYour Efficiency Breakdown
Formula
Divide the total miles driven by the gallons of fuel consumed to get miles per gallon (MPG). Cost per mile equals total fuel cost divided by miles driven. For the metric equivalent, convert to liters per 100 kilometers using: L/100km = 235.215 ÷ MPG. Annual cost is estimated based on 12,000 miles driven per year.
Last reviewed: December 2025
Worked Examples
Example 1: Daily Commute Efficiency
Example 2: Road Trip Calculation
Background & Theory
The Gas Mileage Calculator — Mpg, Cost Per Mile & Annual Fuel Cost applies the following established principles and formulas. Everyday life arithmetic underpins a vast range of routine financial and practical decisions that most adults encounter on a daily or weekly basis. At its core, consumer mathematics involves applying straightforward formulas to real-world quantities, but accuracy and convenience are essential when money is involved. Tip calculation follows the simple relationship tip = bill × rate, where rate is typically expressed as a decimal (0.15 for 15%, 0.20 for 20%). When dining in groups, the split total is computed as (bill + tip) / n, where n is the number of diners, though tax is sometimes included before or after the split depending on local convention. Percentage and discount arithmetic is equally fundamental. A discount of 20% on a $45 item is computed as 45 × (1 − 0.20) = $36, and stacked discounts require sequential multiplication rather than addition of percentages. Fuel cost estimation uses the formula cost = (distance / mpg) × price per gallon, allowing drivers to budget road trips or compare vehicle efficiency. Electricity billing relies on unit conversion: kilowatt-hours equal watts × hours / 1000, and the cost is then kWh × the utility rate. A 100-watt bulb left on for 10 hours consumes one kWh, which at a rate of $0.13 amounts to 13 cents. Loan payment calculations typically apply the standard amortisation formula, where monthly payment depends on principal, interest rate per period, and number of periods. Understanding this formula helps consumers evaluate mortgage offers or auto loans without relying solely on lender summaries. Unit price comparison, dividing total price by quantity or weight, is the most direct tool for supermarket decisions and is often more revealing than advertised sale prices. Sales tax, typically a percentage added to a pretax subtotal, varies by jurisdiction and product category. Together, these calculations constitute a practical numeracy toolkit that reduces reliance on guesswork and supports more informed consumer behaviour across every domain of daily spending.
History
The history behind the Gas Mileage Calculator — Mpg, Cost Per Mile & Annual Fuel Cost traces back through the following developments. The history of everyday consumer arithmetic is inseparable from the broader story of commercial society and the gradual democratisation of mathematical tools. In pre-industrial economies, most transactions occurred in kind or relied on weights and measures governed by local custom rather than standardised formulas. The shift toward decimal currency, pioneered by the United States in 1792 and gradually adopted by European nations through the 19th and 20th centuries, made percentage calculations far more intuitive and accessible to ordinary citizens. The rise of the modern supermarket in the mid-20th century created a new demand for practical price comparison skills. Early consumer protection advocates in the 1960s and 1970s pushed for unit pricing legislation, recognising that larger packages were not always cheaper per ounce and that shoppers needed standardised information to compare products fairly. The US Fair Packaging and Labeling Act of 1966 was an early legislative response to these concerns. Personal finance software emerged in the early 1980s as home computers became affordable. Quicken, launched in 1983, was among the first widely adopted tools that automated bill tracking, loan amortisation, and budget projection for ordinary households. It shifted the culture from paper ledgers and mental arithmetic toward software-assisted financial management. The internet era brought free tools and comparison engines that extended these capabilities further. Mint, launched in 2006, aggregated bank and credit card data to provide automatic categorisation of spending, making budget tracking nearly effortless. Smartphone calculator apps, present on virtually every mobile device by 2010, placed instant arithmetic in every pocket. E-commerce platforms subsequently embedded tax calculators, shipping cost estimators, and instalment payment breakdowns directly into checkout flows, normalising real-time financial calculation as part of the purchasing experience. Today, the expectation that digital tools will perform these calculations instantly has become universal, yet understanding the underlying arithmetic remains valuable for interpreting results, catching errors, and making informed comparisons when automated tools are absent or misleading.
Key Features
- Calculate tip amounts and split any restaurant or shared bill evenly among any number of people, including handling unequal splits when individuals order different amounts.
- Compute the final sale price after applying single or stacked discounts, and reverse-calculate the original price from a marked-down amount.
- Determine monthly loan payments given principal, interest rate, and term length, and check whether a payment fits within a target budget as an affordability check.
- Calculate fuel economy in MPG or L/100km, estimate total fuel cost for any road trip by distance and current price per gallon or litre, and find cost-per-mile for vehicle comparison.
- Compare grocery items by unit price across different package sizes and units of measure, instantly identifying the best-value option regardless of how the price is listed.
- Estimate monthly electricity, gas, or water bills by entering appliance wattage and usage hours, helping you identify high-consumption devices and project annual utility costs.
- Convert between major world currencies using a specified exchange rate for quick travel budgeting, and calculate how much local currency you receive after exchange fees.
- Compute percentage increase or decrease between two values, and calculate markup or markdown amounts for pricing decisions or tracking financial changes over time.
Frequently Asked Questions
Sources & References
Reviewed by Daniel Agrici, Founder & Lead Developer · Editorial policy
Gas Mileage Calculator Formula
MPG = Miles Driven ÷ Gallons Used
Divide the total miles driven by the gallons of fuel consumed to get miles per gallon (MPG). Cost per mile equals total fuel cost divided by miles driven. For the metric equivalent, convert to liters per 100 kilometers using: L/100km = 235.215 ÷ MPG. Annual cost is estimated based on 12,000 miles driven per year.
Gas Mileage Calculator — Worked Examples
Example 1: Daily Commute Efficiency
Problem: You drove 350 miles on 12 gallons of gas at $3.50/gallon. What is your fuel efficiency?
Solution: MPG = 350 / 12 = 29.2 MPG\nCost per mile = (12 × $3.50) / 350 = $0.120/mile\nL/100km = 235.215 / 29.2 = 8.1 L/100km\nAnnual cost (12k mi) = (12,000 / 29.2) × $3.50 = $1,438
Result: 29.2 MPG | $0.120/mile | 8.1 L/100km | $1,438/year
Example 2: Road Trip Calculation
Problem: A 600-mile road trip used 20 gallons at $3.80/gallon.
Solution: MPG = 600 / 20 = 30.0 MPG\nCost per mile = (20 × $3.80) / 600 = $0.127/mile\nTotal trip cost = 20 × $3.80 = $76.00\nL/100km = 235.215 / 30 = 7.8 L/100km
Result: 30.0 MPG | $0.127/mile | Trip cost: $76.00
Gas Mileage Calculator — Frequently Asked Questions
How can I improve my car's gas mileage?
Several driving habits and maintenance practices can improve fuel economy by 10-30%. Drive at moderate speeds — fuel efficiency drops significantly above 50 mph (each 5 mph over 50 is like paying an extra $0.20-0.30 per gallon). Avoid aggressive acceleration and hard braking; use cruise control on highways. Keep tires properly inflated (under-inflation by 1 psi reduces efficiency by 0.2%). Remove excess weight and roof cargo carriers when not in use. Keep up with maintenance: clean air filters, fresh spark plugs, and proper oil improve efficiency. Use the recommended octane fuel — premium does not help if your car does not require it.
How much does driving speed affect gas mileage?
Speed has a dramatic effect on fuel economy due to aerodynamic drag, which increases with the square of velocity. Most cars achieve peak fuel efficiency between 35-55 mph. Above 55 mph, efficiency drops rapidly: driving at 65 mph uses about 8% more fuel than 55 mph, 75 mph uses about 20% more, and 85 mph uses about 35% more. In practical terms, slowing from 75 to 65 mph on a highway trip can save about 15% on fuel. City driving is less efficient than highway due to frequent stops, idling, and acceleration, which is why hybrid vehicles excel in city conditions with regenerative braking.
How accurate are the results from Gas Mileage Calculator?
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
Why might my result differ from another tool or reference?
Differences typically arise from rounding conventions, the specific version of a formula (for example, simple vs compound interest), or unit inconsistencies between inputs. Check that both tools are using the same formula variant and the same units. The References section links to the authoritative source behind the formula used here.
How do I get the most accurate result?
Enter values as precisely as possible using the correct units for each field. Check that you have selected the right unit (e.g. kilograms vs pounds, meters vs feet) before calculating. Rounding inputs early can reduce output precision.
How do I verify Gas Mileage Calculator's result independently?
The Formula section on this page shows the equation used. You can reproduce the calculation manually or in a spreadsheet using those steps. Compare your answer against the worked examples in the Examples section, which use known reference values so you can confirm the calculator is behaving as expected.