Result
Result reflects the current submitted inputs.
- Risk A
- Reviewed 2026-05-26
- 2 sources
Breakdown
- Distance
- 100 mi
- Fuel used
- 4 U.S. gal
- Fuel unit U.S. gal means U.S. liquid gallon, not Imperial gallon.
- Distance and fuel used must both be greater than 0.
- The calculator estimates measured trip fuel economy from user-entered distance and fuel, not official EPA label values.
- Fuel cost, emissions, vehicle condition, route, traffic, and city/highway weighting are excluded.
- Intermediate values are not rounded; displayed fuel economy values round to 2 decimals.
Accuracy notes
- Risk level
- A
- Reviewed
- 2026-05-26
- Sources
- 2
- Primary result
- Fuel economy
Formula logic is kept in a pure calculator module with fixtures, source notes, and page-visible assumptions.
What the result means
Use Fuel economy as the headline answer for gas mileage. Miles traveled per U.S. gallon of fuel. Read the converted value first, then verify the source unit, target unit, and factor before reusing the number. Use fuel consumption to explain why fuel economy moved when an input changed. Keep the original value next to the converted value when using it in a workflow. Check source unit, target unit, dimension compatibility, exchange or conversion rate, and rounding precision before treating the result as final.
Use the result this way
- Start with Fuel economy, then use supporting outputs only to explain the primary answer.
- Verify distance traveled, distance unit, and fuel used before copying the result.
- Choose the mode or method first because it can change which formula is applied and stay within the documented minimum and maximum ranges.
- Keep the original value next to the converted value when using it in a workflow.
User job
How to use this calculator
Use Gas Mileage Calculator when you need fuel economy, then use fuel economy and fuel consumption to check the context for unit checks, engineering notes, recipes, travel, shopping, and measurement cleanup.
Best for
- Converting compatible units
- Auditing the factor used for a repeated conversion
- Reviewing a default example before entering your own distance traveled and distance unit.
Check before relying
- Make sure the source and target units measure the same kind of quantity.
- Fuel unit U.S. gal means U.S. liquid gallon, not Imperial gallon.
- Distance and fuel used must both be greater than 0.
- Source context: U.S. Environmental Protection Agency, reviewed 2026-05-26.
Next useful step
- Speed CalculatorUse next when you need distance from solve for and distance after checking fuel economy.
- Bandwidth CalculatorUse next when you need transfer time from calculation mode and data amount after checking fuel economy.
- Density CalculatorUse next when you need mass from solve for and mass after checking fuel economy.
Formula
Fuel economy equals distance divided by fuel used after converting distance to miles/kilometers and fuel to U.S. gallons/liters. Key assumptions: Fuel unit U.S. gal means U.S. liquid gallon, not Imperial gallon. Distance and fuel used must both be greater than 0. The calculator estimates measured trip fuel economy from user-entered distance and fuel, not official EPA label values.
- Fuel economy equals distance divided by fuel used after converting distance to miles/kilometers and fuel to U.S. gallons/liters.
- Fuel unit U.S. gal means U.S. liquid gallon, not Imperial gallon.
- Distance and fuel used must both be greater than 0.
- Primary source context: U.S. Environmental Protection Agency.
Inputs
Enter distance traveled, distance unit, fuel used, and fuel unit for unit checks, engineering notes, recipes, travel, and measurement cleanup. Before calculating, choose the mode or method first because it can change which formula is applied and stay within the documented minimum and maximum ranges. Distance traveled: Trip distance. Must be greater than 0 for fuel economy. Distance unit: Unit for the distance input. Fuel used: Fuel consumed for the same trip distance. Must be greater than 0. Fuel unit: U.S. gallons or liters. Imperial gallons are not included.
Example
Using the default inputs, Gas Mileage Calculator returns fuel economy of 25 mpg. Adjust distance traveled, distance unit, fuel used, and fuel unit to match your own scenario.
FAQ
How is fuel economy calculated here?
Fuel economy equals distance divided by fuel used after converting distance to miles/kilometers and fuel to U.S. gallons/liters. The first assumption to check is: Fuel unit U.S. gal means U.S. liquid gallon, not Imperial gallon.
What does Fuel economy mean for gas mileage?
Read the converted value first, then verify the source unit, target unit, and factor before reusing the number. Secondary values such as fuel consumption are there to explain the primary answer, not to replace it.
What should I enter for Distance traveled?
Trip distance. Must be greater than 0 for fuel economy. Choose the mode or method first because it can change which formula is applied and stay within the documented minimum and maximum ranges.
How does Distance unit change fuel economy?
Unit for the distance input. Changing it can alter fuel economy because the formula uses the submitted inputs together. Also compare source unit, target unit, dimension compatibility, exchange or conversion rate, and rounding precision.
Why does the gas mileage example show 25 mpg for fuel economy?
The default inputs produce 25 mpg for fuel economy. Treat that as a format and scale check, then replace every default value with your own inputs.
How do I avoid a gas mileage unit-direction mistake?
Keep the original value beside the converted value, confirm both units measure the same quantity, and check whether rounding is acceptable for the task.
Sources
Last reviewed: 2026-05-26
- Reviewed 2026-05-26Miles Per Gallon (MPG) MathU.S. Environmental Protection Agency. Miles per gallon as a fuel economy measure and representative calculations such as annual miles divided by gallons used.
- Scope
- Official U.S. fuel economy education page with MPG examples and fuel-use reasoning.
- Supports
- Miles per gallon as a fuel economy measure and representative calculations such as annual miles divided by gallons used.
- Reviewed 2026-05-26NIST Guide to the SI, Appendix B.8: Factors for Units Listed AlphabeticallyNational Institute of Standards and Technology. Mile-to-kilometer, U.S.-gallon-to-liter, mpg-to-km/L, and mpg-to-L/100 km conversion checks.
- Scope
- Official conversion factors for mile, kilometer, U.S. gallon, liter, miles per gallon, kilometers per liter, and liters per 100 kilometers.
- Supports
- Mile-to-kilometer, U.S.-gallon-to-liter, mpg-to-km/L, and mpg-to-L/100 km conversion checks.