Calculating gas mileage for taxes means dividing the miles you drove for business, charity, medical, or moving purposes by the gallons of fuel those miles consumed, producing the MPG figure that backs either your standard mileage deduction or your actual expense claim. The arithmetic is the same one you would use to check your car's everyday fuel economy: miles driven divided by gallons burned equals miles per gallon. The IRS and most other tax authorities do not require a specific MPG on the return itself, but they do require a defensible mileage log, and if you elect the actual expense method, the fuel portion of your real car costs depends on an accurate miles-per-gallon figure. A reliable MPG lets you back out the gasoline share of your vehicle expenses, so a lower MPG actually produces a larger deductible fuel cost under that method. The free Gas Mileage Calculator handles the math in imperial or metric units the moment you type the distance and fuel used, returning MPG, L/100km, and km/L together so your tax records match the units your return asks for, and nothing is uploaded while it runs.

Why Gas Mileage Numbers Matter on Your Tax Return
Two paths exist for claiming vehicle costs on a U.S. federal return, and both rely on an honest mileage count. Under the standard mileage rate method, you multiply your business miles by an annual cents-per-mile figure published by the IRS and skip the fuel receipts. Under the actual expense method, you deduct the real costs of running the car — gas, insurance, depreciation, repairs — and to isolate the fuel slice you need to know how many gallons that mileage actually consumed, which is where MPG enters the picture. If you drive a pickup that returns 15 MPG, every business mile cost more in fuel than it would in a 35 MPG compact, so the same mileage produces a larger fuel deduction on the actual expense side. Self-employed filers, gig drivers, and real-estate agents typically see this play out at tax time, since they accumulate enough business miles for the fuel share to matter. Charitable volunteer miles and medical-transport miles lean on the same arithmetic when you want to convert receipts into a usable figure for your records.
Calculate Your MPG for Tax Records in Three Steps
- Choose your unit system: imperial (miles and US gallons) if your tax form asks for miles, or metric (kilometers and liters) if it asks for kilometers and liters.
- Enter the distance you drove and the amount of fuel you used to cover it — for example, 300 miles and 10 US gallons taken straight from a fill-up-to-fill-up log.
- Read your fuel economy instantly below — MPG, L/100km, and km/L are all shown at once, so you can record whichever unit your tax paperwork expects.
The Gas Mileage Calculator does the three unit conversions at the same time, so a single entry feeds an imperial return, a metric tax form, and any reimbursement paperwork. Worked example: 300 miles ÷ 10 US gallons = 30 MPG. Convert that to the metric figure by dividing 235.214583 by 30, giving about 7.84 L/100km. Both numbers describe the same trip; one is the form most U.S. filers copy down, the other is the form a Canadian, European, or international return typically requires. You can paste either figure straight into your mileage log without reaching for a separate unit converter.
Measuring Real Fuel Economy for an Audit-Proof Log
The numbers you type into the calculator only matter if they reflect what your car actually does on the road. The cleanest method is a fill-up-to-fill-up measurement: top off the tank so the pump clicks off, reset the trip odometer or jot down the odometer reading, drive normally until you need fuel again, and refill until the pump clicks off a second time. The gallons shown on that second fill-up are exactly what you burned to cover the miles on the trip meter, and those two values are what you enter. A single tank underestimates how variable real-world driving can be — one short winter commute skews the figure badly — so averaging three or four full tanks is the standard advice for a number that will hold up if a return is ever questioned. Keep the pump receipts with the trip readings; together they document the inputs to your MPG figure and the date range it covers, which is the audit trail a tax reviewer actually looks for.
MPG vs L/100km: Which Number Goes on Your Form
U.S. federal forms expect distance in miles and fuel in gallons, which is why MPG is the natural American figure. Most of the rest of the world quotes fuel consumption instead — liters burned per 100 kilometers driven — so L/100km shows up on Canadian, European, and many cross-border filings. The two describe the same economy from opposite directions: a higher MPG means you went farther on each gallon, while a lower L/100km means you burned less fuel over the same distance. The conversion is fixed, so once you have one figure the other is a single division away.
| Feature | MPG (US) | L/100km |
|---|---|---|
| What it measures | Distance per unit of fuel | Fuel per 100 units of distance |
| Direction that means better | Higher is better | Lower is better |
| Typical on tax forms | United States | Canada, Europe, much of Asia |
| Conversion formula | L/100km = 235.214583 ÷ MPG | MPG = 235.214583 ÷ L/100km |
| Same trip, 300 mi / 10 gal | 30 MPG | ≈ 7.84 L/100km |
Record whichever figure your tax form asks for, then keep the other as a cross-check. If you ever need to compare a quoted vehicle rating across borders, run both sides through the calculator so a 30 US MPG car is not mistaken for a 30 L/100km car — the latter is roughly four times thirstier.
The US Gallon vs UK Gallon Trap on Tax Forms
This calculator uses the US gallon, which is 3.785411784 liters, the same gallon quoted on American window stickers and on EPA fuel-economy ratings. The UK, or Imperial, gallon is larger at 4.54609 liters, about 20 percent more fuel per gallon, and the difference shows up directly in any MPG figure. A car rated 30 US MPG scores roughly 36 UK MPG on the same fuel, and a UK-issued reimbursement form that quotes "36 MPG" is describing an economy equivalent to a much thirstier American 30 MPG car. If your tax paperwork ever crosses a border — for a cross-border commute, an expat assignment, or a multinational employer — confirm which gallon the printed MPG refers to before you multiply miles by any reimbursement rate. Using the wrong gallon can shift the recorded fuel cost by roughly a fifth, which is the same scale of error an auditor would flag.
Improving Your MPG to Lower Your Tax Bill
Under the actual expense method, every mile of business driving produces a deductible fuel cost equal to the per-mile fuel price divided by your real MPG, so a higher MPG shrinks the deduction while a lower MPG grows it. Whichever side of that trade-off you want, the levers are the same. Keep tires inflated to the pressure on the door-jamb sticker, since under-inflated tires add rolling resistance and quietly burn extra fuel. Ease off hard acceleration and late braking, because the energy lost to both comes straight from the tank. Remove roof boxes, bike racks, and any cargo you are not using, since aerodynamic drag scales with speed and weight. Hold steady, moderate speeds on the highway, where economy falls sharply once you climb past about 50 mph. Routine servicing — fresh air filters, the recommended oil grade, properly aligned wheels — keeps the engine near its factory efficiency. None of these steps require a tool; they just raise the MPG you plug into the next tax-year log, and a more honest MPG produces a more defensible return either way.
If you also drive an electric vehicle for business, the fuel-cost share of the actual expense method works out differently, and this MPG-to-business-expenses walkthrough covers how mileage logs translate into deductions on Schedule C.