Last updated
All 58 jurisdictions · Free · No signup
IFTA Calculator
Enter miles and gallons for each jurisdiction you ran in and this works out your fleet MPG, taxable gallons and the net tax due or credit for the quarter. Diesel and gasoline tax rates fill in from the final quarterly matrix, and a route tool can estimate a trip's miles by state. Export it as a CSV to check against your return.
- Surcharge jurisdictions handled
- Built-in tax rates
- Route miles by state
- CSV export
- No account needed
IFTA quarterly calculator
Miles and gallons by jurisdiction. Fleet MPG, taxable gallons and net tax worked out as you type.
Where the built-in tax rates come from
The rates here come from the final quarterly matrix published by IFTA, Inc. Only quarters IFTA has marked final are built in, for diesel and gasoline, because a rate from the wrong quarter produces a return that is confidently wrong. A quarter that is not built in leaves the rate boxes empty and says why. Enter alternative fuel rates by hand, because jurisdictions measure those fuels in different units.
IFTA, Inc. passes on what each member jurisdiction reports and does not confirm it, and each jurisdiction answers for its own figure. This site is not connected with IFTA, Inc. Treat the rates as a head start, and check them against the official matrix before you file.
The formula, written out
IFTA is not complicated. What trips people up is the order: fleet MPG comes from the entire quarter across every jurisdiction, and only then is each jurisdiction settled against that single figure. Working it out state by state in isolation gives the wrong answer every time. Here is how to calculate IFTA taxes for a quarter, in that order:
- Fleet MPG = total miles in all jurisdictions ÷ total gallons purchased in all jurisdictions.
- Taxable gallons in a jurisdiction = taxable miles there ÷ fleet MPG. This is the fuel you are treated as having burned there.
- Net taxable gallons = taxable gallons − tax-paid gallons you actually bought there.
- Tax due = net taxable gallons × that jurisdiction's rate. A negative figure is a credit.
- Surcharge, where it applies = taxable gallons × the surcharge rate, with no credit for purchases.
- Net position = everything added together. Credits in one jurisdiction offset tax owed in another.
The idea underneath is simple. You pay fuel tax where you burn the fuel, not where you buy it. Buying cheap in a low-tax state and running the miles in a high-tax state does not avoid anything; it just moves the payment from the pump to the quarterly return.
A worked example
A truck runs 9,000 miles in a quarter and buys 1,200 gallons. Fleet MPG is 9,000 ÷ 1,200 = 7.50.
In one jurisdiction it ran 1,800 miles and bought 100 gallons. Taxable gallons there are 1,800 ÷ 7.50 = 240. Net taxable gallons are 240 − 100 = 140. At a rate of $0.29 that is $40.60 owed.
In another it ran 900 miles and bought 300 gallons: a cheap fuel stop on a short leg. Taxable gallons are 900 ÷ 7.50 = 120. Net is 120 − 300 = −180, so at $0.24 that is a credit of $43.20.
Those two net out to a small credit before the rest of the quarter is added. That is the entire mechanism, repeated across every jurisdiction you ran in.
How to get your miles by state
IFTA miles by state come from your ELD or your trip records, not from a route estimate. Many ELDs and telematics systems export a quarterly jurisdiction report listing the miles run in each state, and that report is the quickest way to fill in the rows above. Check it covers every truck on the license for the whole quarter before you trust the total.
Without one, a paper trip sheet does the same job. Record the odometer at the start and end of the trip and at each state line, along with the route, and add the miles up per jurisdiction at quarter end. It takes longer, and it is exactly what an auditor wants to see.
Route planners and online state mileage tools, including the route tool on this page, are useful for checking a trip that looks wrong, but they tell you the route a truck should have taken. An audit asks what it did take, so a planner's figure is a cross-check and not a record. When you finish, the state miles should add up to the miles on your odometer readings. If they do not, find the gap before you file.
How the route miles are worked out
The route tool finds a sensible truck route between your stops and adds up the miles on it by state and province. Type a city and state or a ZIP code, add stops in the order you ran them, and tick round trip if the truck came back the same way. The button under the result drops each state's miles into its row, so several trips build up the quarter, and the tax rates fill in as the rows appear.
It runs on your own device. The road network is a plain file your browser downloads once, about half a megabyte, and the routing happens in this tab. No town, ZIP code or route is sent anywhere, which is the same promise the rest of the calculator makes.
We tested it on 40 lanes it had never seen, against two independent routing engines, OSRM and Valhalla, and measured the gap to whichever engine came closer.
| Lanes tested | Typical gap | Within 2% | Within 5% | Worst |
|---|---|---|---|---|
| 20 main freight lanes between large cities | 0.3% | 19 | 20 | 2.2% |
| 20 rural lanes between small towns | 1.4% | 12 | 18 | 34% |
On main freight lanes the miles land close to both engines. On small-town lanes a route can run long when a road the truck would use is missing from the network: the worst lane, Ely, Nevada to Cedar City, Utah, came out 34% high. The split between states held up too. On 33 of the 40 lanes, less than 5% of the miles landed in a different state than Valhalla's truck route put them.
Two good corridors can split the same trip very differently. Dallas to Chicago comes out at 924 miles through Oklahoma and Missouri. Add a stop at Little Rock and it is 970 miles through Arkansas, which puts different states on your IFTA return. If the result crosses a state your truck did not, add a stop on the road you ran.
The tool does not know weight limits, low bridges, hazmat routes or seasonal closures, so it is not a truck routing or permit tool. Passenger-only parkways were taken out by name. The road data was compiled in October 2020, so a road opened since then is missing, and Mexico is left out. A ferry crossing is not counted in the miles, and miles in Alaska, Washington, DC or the Canadian territories are shown but not added, because those are not IFTA members.
Road network: North American Roads, National Transportation Atlas Database, Bureau of Transportation Statistics. Town locations: GeoNames, under CC BY 4.0. ZIP code locations: U.S. Census Bureau gazetteer.
The records the arithmetic depends on
A calculator is only as good as what goes into it, and IFTA record-keeping is where audits are won or lost. Distance records need to show, per trip: the date, where it started and ended, the route, beginning and ending odometer readings, total trip miles, the miles broken down by jurisdiction, and which vehicle and licensee it belonged to.
Fuel records need the date, the seller's name and location, the number of gallons, the fuel type, the price or total, and the vehicle it went into. A receipt missing the vehicle number is a receipt an auditor can disallow, which turns tax-paid gallons into gallons you cannot claim credit for.
What to keep, for how long, and what auditors actually look at is covered in the IFTA filing guide, along with the four quarterly deadlines and what happens when one is missed.
Where the numbers usually go wrong
- Mixing up miles and gallons columns. It sounds implausible until you have typed fifty rows. An implausible fleet MPG is usually this, and the calculator flags it.
- Counting fuel bought in a jurisdiction you did not run in. Gallons are claimed where they were purchased, but the miles have to exist. A fuel stop just over a state line with no miles recorded there stands out.
- Missing receipts. Every disallowed receipt reduces your tax-paid gallons and increases what you owe. Chase them before you file, not after.
- Forgetting a jurisdiction entirely. Short runs through a corner of a state still count. Total miles on the return should reconcile to total miles on your logs.
- Rounding your own way. The return rounds fleet MPG to two decimals and uses that one figure for every jurisdiction, then works in whole gallons. A spreadsheet that keeps every decimal will not match it to the cent, so the calculator shows both: the exact figures, and the net tax as the return works it out.
- Assuming Oregon works like everywhere else. Oregon runs a weight-mile tax rather than a diesel fuel tax, so its treatment on an IFTA return is not the same as its neighbours. Check the current instructions rather than pattern-matching.
Mileage taxes this calculator does not cover
Four states charge a weight-distance tax that sits outside IFTA, so a clean IFTA return does not settle them. Each runs its own registration, reports and schedule, and the thresholds below are the ones trade compliance sources publish, so confirm yours with the state before you run there.
| State | Tax | Applies to trucks |
|---|---|---|
| Kentucky | KYU weight distance tax | 60,000 lb or more |
| New Mexico | Weight distance tax | Over 26,000 lb |
| New York | Highway Use Tax (HUT) | Over 18,000 lb |
| Oregon | Weight-mile tax | Over 26,000 lb |
These taxes are based on distance rather than fuel, so nothing on the rows above touches them. If you run these states often, carry the cost as its own line in the cost per mile calculator, because it is a real cost of running those miles that an IFTA credit will never offset.
Using the calculator
Add a row per jurisdiction and enter the miles you ran and the gallons you bought there. Choose the quarter and fuel, and the tax rate fills in for diesel and gasoline. Each row shows its own taxable gallons, net gallons and amount as you type, and the summary at the bottom gives the fleet MPG and the net position. If a jurisdiction levies a surcharge, that rate lands in the surcharge column and is calculated on taxable gallons without credit, which is how surcharges work. Take the miles you file from your ELD or your logs: this IFTA mileage calculator can estimate a trip's miles by state with the route tool, but those estimates are for planning and cross-checks.
The fleet MPG it works out is the honest number to use elsewhere, too: the fuel surcharge calculator and the trucking cost per mile calculator both ask for it, and a quarter's real figure beats the one on the dealer's spec sheet.
Export the CSV and open it in a spreadsheet to check line by line against what you are about to file. The file includes the fleet MPG and every intermediate figure, so a disagreement with your return is quick to trace.
Nothing is uploaded: the calculation, the route miles and the CSV are all built in your browser, and unlike the document generators this one is not saved to an account. Nothing is kept between visits, so export before you close the tab.
Limitations
This is a working calculation, not a filed return and not tax advice. It does not know your base jurisdiction's rules, does not handle jurisdiction-specific exemptions, and does not calculate interest or penalties on a late filing. When a rate changes mid-quarter it flags the jurisdiction and gives each period its own row, but dividing the miles and gallons between them is up to you. It also cannot tell whether the miles and gallons you typed match your records.
File through your base jurisdiction, and check the arithmetic against their form before you submit.
Common questions
How is IFTA tax calculated?
Work out one fleet MPG for the whole quarter by dividing total miles by total gallons purchased. Divide each jurisdiction's miles by that MPG to get taxable gallons there. Subtract the gallons you actually bought in that jurisdiction to get net taxable gallons, then multiply by that jurisdiction's tax rate. Add it all up and you have the net due or credit.
Where do the tax rates in this calculator come from?
They come from the final quarterly rate matrix that IFTA, Inc. publishes for its member jurisdictions. Choose the quarter, fuel and jurisdiction, and the rate and any surcharge fill in, in U.S. dollars per U.S. gallon. Only final quarters are built in, for diesel and gasoline, and you can type over any rate. Each jurisdiction answers for the rate it reports, so check your return against the official matrix before you file.
Why are the rates for the current quarter missing?
Because the matrix for a quarter stays open until IFTA marks it final, in the last month of that quarter, and some jurisdictions have not reported before then. A rate that might still change is worse than an empty box, so this calculator waits for the final file. Returns are filed after a quarter ends, so the final rates arrive before you need them, and you can type a rate in by hand at any time.
Can this calculator work out my miles by state?
Yes, as an estimate. Enter where a trip starts and ends, add any stops, and the route tool splits the miles by state and province and adds them to your rows. It picks a sensible truck route, which may not be the road you drove. An IFTA audit asks what the truck actually did, so your ELD report or trip sheets remain the record, and the estimate is for planning and cross-checking.
Which jurisdictions are in IFTA?
The 48 contiguous US states and 10 Canadian provinces, 58 in total. Alaska, Hawaii, the District of Columbia and the Canadian territories are not members, so miles run there are not reported on an IFTA return.
What are taxable miles versus total miles?
Total miles are everything the vehicle ran. Taxable miles exclude any miles a jurisdiction specifically exempts. Some have exemptions for fuel-tax-trip permits, certain off-highway use or particular toll roads. Most fleets find the two figures identical, but check the jurisdictions you run in rather than assuming. Where they differ, enter both: the calculator takes fleet MPG from total miles and tax from taxable miles.
What is an IFTA surcharge?
A few jurisdictions levy an additional per-gallon surcharge that is not collected at the pump. Because you cannot have paid it when you fueled, it is calculated on your taxable gallons with no credit for purchases, and it always comes out as an amount owed. The calculator has a separate surcharge column for that reason.
Do I still file if I owe nothing?
Yes. A zero return is still a return, and so is a quarter where the truck never moved. Not filing is what triggers penalties and, if it keeps happening, a revoked license. File the zero.
What MPG should my fleet show?
Whatever it actually ran. There is no target. What matters is that the figure is plausible for the equipment and consistent quarter to quarter. A heavy truck that suddenly reports MPG far outside its usual range is a well-known audit trigger, and it is almost always a missing fuel receipt or a transposed odometer reading rather than anything sinister.
What are taxable gallons on an IFTA return?
Taxable gallons are the fuel IFTA treats you as having burned in a jurisdiction: the miles you ran there divided by your fleet MPG for the quarter. At 7.50 MPG, 1,800 miles comes to 240 taxable gallons, however much you actually bought there. Subtract the tax-paid gallons you did buy in that jurisdiction and you have net taxable gallons, the figure the rate is applied to.
Does buying fuel in a low-tax state lower my IFTA bill?
Not the tax. IFTA charges fuel tax where the miles were run, so gallons bought in a cheap state simply come back as a credit there and an amount owed wherever you burned them. In the worked example, 300 gallons bought on a 900-mile leg produce a $43.20 credit, and the miles elsewhere still pay at their own rates. Any saving comes from the lower pump price, so compare prices, not tax rates.
Does this file my return for me?
No. It does the arithmetic and exports a CSV you can check against the return. Filing happens through your base jurisdiction's system, and the numbers you submit there are yours to verify.