How IFTA Tax Calculations Work

IFTA calculations look complicated, but they follow a simple formula. Here's how it works, a worked example, and what you need to get it right.

The Core Formula

IFTA calculates how much fuel tax you owe (or are owed) in each state. The formula has three parts:

1. Overall MPG = Total Miles ÷ Total Gallons

2. Taxable Gallons per State = State Miles ÷ Overall MPG

3. Net Tax = (Taxable Gallons − Gallons Purchased in State) × State Tax Rate

If the result is positive, you owe tax to that state. If negative, that state owes you a credit.

What You Need to Calculate IFTA

  • Total miles driven — across all jurisdictions for the quarter
  • Miles per state — broken down by each IFTA jurisdiction you entered
  • Total gallons purchased — all fuel bought during the quarter
  • Gallons per state — where each fuel purchase was made (state of the pump, not where you burned it)
  • Current tax rates — each state sets its own fuel tax rate, updated quarterly

Pro Tip

Your ELD (Motive, Samsara) tracks miles by state. Your fuel card (EFS, Comdata, RTS) tracks gallons by state. With both connected to OTR, all five inputs are collected automatically.

Worked Example

Say you drove 30,000 miles and bought 5,000 gallons in Q1:

  • Overall MPG: 30,000 ÷ 5,000 = 6.0 MPG
  • Texas: 8,000 miles ÷ 6.0 = 1,333 taxable gallons. You bought 1,500 gallons in TX. Credit of 167 gallons × TX rate.
  • Oklahoma: 4,000 miles ÷ 6.0 = 667 taxable gallons. You bought 200 gallons in OK. Owe tax on 467 gallons × OK rate.
  • Illinois: 3,000 miles ÷ 6.0 = 500 taxable gallons. You bought 0 gallons in IL. Owe full tax on 500 gallons × IL rate.

The net across all states is what you owe (or are refunded) for the quarter. States where you fueled heavily give you credits; states you drove through without fueling generate tax bills.

Where Tax Rates Come From

Each IFTA jurisdiction publishes tax rates quarterly. Rates include a base rate plus surcharges (like environmental or underground storage tank fees). Rates change — so using last quarter's rates will produce incorrect results.

For reference, diesel tax rates range from about $0.12/gallon (Oklahoma) to $0.65+/gallon (Pennsylvania, California). The spread matters: driving through high-tax states without fueling there creates a larger tax bill.

Common Errors That Change Your Tax Bill

  • Wrong MPG: Even a 0.5 MPG error cascades across every state. If you calculate 6.5 instead of 6.0, every state's taxable gallons changes.
  • Fuel in the wrong state: Assigning a purchase to the wrong jurisdiction shifts credits. Fuel is taxed where you pumped it, not where you used it.
  • Deadhead miles: Empty miles still count toward state mileage totals. Skipping them underreports miles and increases your apparent MPG — which reduces taxable gallons and could trigger an audit adjustment.
  • Toll bypass miles: Transponder data may not match actual miles driven. Use ELD data, not toll records, for mileage.
  • Mixing diesel types: Reefer fuel and regular diesel are reported separately in some jurisdictions.
Download an example IFTA calculation (PDF)

How OTR handles this

IFTA calculated automatically from your existing data

  • Miles by state pulled from your loads and Motive ELD
  • Fuel purchases imported from EFS, Comdata, or RTS by state
  • Current quarterly tax rates applied automatically — never stale
  • One-click PDF export ready for your base state filing
Try it free for 14 days
OTR IFTA page showing auto-calculated state-by-state fuel tax breakdown with miles, gallons, tax rates, and net tax per jurisdiction

What OTR saves owner-operators

$400+
Saved per quarter on IFTA alone
10hrs
Saved per week on paperwork
<10s
Photo to invoice

OTR handles all of this automatically

IFTA, invoicing, compliance, and cash flow — in one app. 14-day free trial. No credit card required for the first step.