Go straight to the guide
LaneMile

Federal diesel tax: 24.4 cents in your fuel cost

LaneMile Editorial Team · Published · 13 minute read

Sources checked

Scope: use the jurisdiction stated in the guide and its sources.

LaneMile drafting rules: editorial standards.

What the federal tax adds to a gallon

The federal diesel excise tax is 24.4 cents a gallon. To carry it into a mileage rate, divide that 24.4 cents by your miles a gallon. The result is the federal tax a mile. The Ttnews article on dyed diesel relief reports the federal rate.

The rest of the pump price takes more care. Fuel cost for each mile is the price of one gallon divided by your miles a gallon, so the price you choose drives the whole result. A pump price is not one number. It stacks several costs, and taxes are one layer; a separate guide on pump price parts breaks them down. The U.S. Energy Information Administration's Gasoline prices and outlook page includes a section titled "What do I pay for in a gallon of gasoline and diesel fuel?" It is worth reading before you pick the number that goes into your spreadsheet.

The EIA's product list is wide: "Crude oil, gasoline, heating oil, diesel, propane, and other liquids including biofuels and natural gas liquids." Diesel is one product on that list.

State fuel taxes are charged separately by each state and are not part of the federal figure.

This post covers the federal piece and where it sits in your fuel line. It is not a state-by-state fuel tax guide, and it is not tax advice for your operation. A tax professional who knows your operation and the states you run in can confirm the details that apply to you.

Key takeaways

  • Confirm whether your price for one gallon already includes the federal tax, and add the 24.4 cents only when it does not.
  • Divide the price for one gallon by your miles a gallon, using your own fuel and odometer log.
  • Add state fuel tax only where the price leaves it out, using that state's own source.
  • Price standard highway diesel unless you have confirmed authorization for dyed diesel in each jurisdiction on the trip.
  • Recheck the federal rate's end date and any pending legislation before you publish a rate.

Owner-operators and small carriers

An owner-operator who buys all of the fuel usually has one set of fuel invoices and one truck, so the fuel line is simpler. A small carrier with several trucks and drivers buying fuel on company cards has to tie each purchase to a truck and a route. Otherwise the average hides the trucks that run worse.

Both need the same discipline. The fuel cost a mile should come from the same method for every truck you price, so that a rate for one unit compares fairly with another. If one truck gets a mileage figure from a log and another gets a rating from a brochure, the two rates are not comparable. The difference may have nothing to do with the trucks themselves.

What the tax adds to each mile

The federal tax is charged on each gallon, so its effect on your rate depends on how far your truck goes on each gallon. The lower your mileage, the more each gallon's tax weighs on every mile you run.

Two trucks pay the same 24.4 cents at the pump. The one that gets fewer miles a gallon carries a bigger federal tax on each mile, and that difference shows up in the rate you quote for its routes. Run the division with your own mileage rather than a figure from a spec sheet. Carry the result to enough decimal places that rounding does not hide a fraction of a cent. For a worked spreadsheet method, see cost a mile in Excel.

Because the federal rate is set on each gallon, it stays the same amount when the market price of diesel moves, even though its share of your total fuel cost changes. A rate built on the federal tax on each mile therefore needs rechecking when your mileage changes, not only when the tax changes.

Measure your miles a gallon honestly

The tax on each mile depends on your miles a gallon, and the figure on a spec sheet is rarely your real number. Fill-up records give you a better one. Pick a stretch of several weeks, record every fuel purchase with its gallons and the odometer reading, and then divide the miles driven between the first and last readings by the gallons bought in between.

Keep the log separate for loaded and empty runs, and for hilly routes or flat ones, if your work splits that way. A single average can hide a route that runs much worse than the rest of your work. Update the log every month or two, since a change in tires, idling habits, or speed moves the number.

Idling and speed both show up in the result. Long idle time burns fuel without moving the truck, so it lowers miles a gallon and raises your cost a mile on the same route. Driving faster into wind or on grades usually costs mileage too. Track the conditions you can control, and price them honestly rather than assuming the best-case number on a good day.

If any truck in your fleet runs on natural gas, the California Energy Commission's retail fuel outlet reporting notes that "Natural Gas survey responses are measured in Gasoline Gallon Equivalent (GGE)." Convert those figures to gallon equivalents before you compare them with diesel miles a gallon. A gallon of one fuel is not a gallon of another.

Do not count the tax twice

Before you add the federal tax, find out whether your price already includes it. Read the source of your number. If it is a total you paid at the pump, that total contains the tax. If it is a base price from a supplier quote, a wholesale index, or any figure described as excluding tax, the federal tax is not in it, and you have to add it.

Mixing the two is an easy way to overstate fuel cost. Adding the 24.4 cents to a figure that already includes it counts the tax twice on every gallon. The error then carries into every mile you price on that number.

Illustrative example: one truck

Take a base price of $4 a gallon that excludes the federal tax, and a truck that averages 8 miles a gallon. Add 24.4 cents to get the full price a gallon. Divide the full price by 8 to get the fuel cost a mile with tax, and divide the base price by 8 to get the cost without it. The gap between those two results is the federal tax a mile, which is 24.4 cents divided by 8.

Dyed diesel is a separate question

Red-dyed diesel is a separate question, and it can change what you may run in a highway truck. The article explains that dyed diesel is normally restricted to tax-exempt off-road use. Executive Order 14435 opened the door for dyed diesel to be used in trucks on public highways through December.

The Treasury Department temporarily waived federal penalties for on-highway use of the red-dyed fuel. It also deferred payment of the 24.4-cent federal diesel excise tax through the end of 2026, without interest or penalties.

Two things follow. First, a deferral is about when the tax is paid, not whether it is owed. The reported change concerns deferred payment, so the 24.4 cents still belongs in your cost model. Your cash timing changes, but your cost a gallon does not.

Second, the federal relief does not settle highway use for you. The article notes that carriers still need each jurisdiction's authorization for highway use of dyed diesel, and that other state deadlines vary. Carriers entering Canada would also need authorization from the applicable Canadian jurisdiction, even if all 50 states permitted highway use.

For your rate, that means you should not assume dyed diesel is allowed on every route. Price your fuel as standard highway diesel unless you have confirmed, for each state and any Canadian jurisdiction on the trip, that dyed-fuel use is authorized.

Relief and proposals can change the number

The same coverage describes a different kind of short-term relief: temporarily reducing gasoline and diesel taxes to $0.0001 a gallon and requiring retailers to pass the savings to consumers. A rate built on a temporary cut like that would be wrong for next year. Treat any such change as a dated input, not a permanent one.

The article also describes legislation that would repeal the federal excise tax on diesel and provide a 5-cent-a-gallon production credit for gasoline and diesel to expand domestic refining capacity. That is a proposal, not current law, so it does not belong in a rate you publish today. Keep the 24.4-cent federal rate in place, and rerun the math if the law changes.

Timing matters as well. The deferral runs through the end of 2026, and the executive order's window runs through December. If you are setting a rate for next year, check both before you assume the federal treatment you used this year still applies.

State taxes go on their own line

Each state that charges its own fuel tax adds that charge separately from the federal number. Use that state's rate from that state's own source, not a national average or a figure you saw on a forum. For a multi-state route, your cost a mile depends on where you buy, so keep fuel purchases tagged by state and date.

Check the state rules that apply to your trips with the state agencies involved or with your tax adviser. Keep the fuel invoices that show gallons, price, date, and location. Those records let you tie a number back to a source when a rate is questioned later.

How small price moves change the rate

Once you have a fuel cost a mile, test how much a price move changes it. That result is the price for one gallon divided by miles a gallon, so a change of one cent a gallon moves the result by one cent divided by your mileage. The higher your mileage, the smaller that effect on each mile.

Mileage matters as much as price. If your miles a gallon falls, both the federal tax a mile and the total fuel cost a mile rise, even when the pump price stays flat. A drop in mileage from a bad season, a heavier load, or a change in routes can move your rate more than a modest change in diesel prices.

Price the fuel line as a range when prices are moving. Set a base case, a higher case, and a lower case, and see which one your rate can absorb. You can then decide whether the rate needs a fuel adjustment clause or a shorter review cycle. For a practical check on how much a price move can shift a rate, see how to test a diesel price margin. The point is to know how much of your margin depends on diesel, not to predict where diesel goes.

What the federal number leaves out

The 24.4-cent federal tax is one input. It does not include the cost of the fuel itself, which moves with the market and with where and when you buy. It does not include state fuel taxes, which are separate. It also says nothing about which fuel a given trip may use, which is the dyed diesel question covered above.

Other fuel-related items also sit outside this number. Discounts from a fuel card, a volume rebate, or a surcharge program change what you actually pay. They belong in your fuel line only if you apply them the same way every time. Count a discount once, and only where you can show it on a statement.

Where the base price comes from

The base price in your fuel line can come from three places: what you actually paid, a price you expect on your usual routes, or a published average. Each has a job. Paid prices tell you what your fuel has cost. Expected prices let you quote a rate before the next fill-up. Published averages give a neutral reference when you have little history. Use them for different purposes rather than mixing them into one number.

Whichever source you use, write down which kind it is. A published average may or may not include tax, and an average of fuel you paid for is a different thing from a base price. The tax step in the formula depends on that answer, which is why the source check comes before any math.

Putting the line together

The fuel line in your mileage rate comes down to one calculation. Start with the price for one gallon from your source. Add the federal tax only if that price leaves it out. Then divide the total by your miles a gallon. Run the result for each kind of route you price, because mileage changes with load, terrain, and speed.

Lay out the rate sheet so the tax shows

Put the federal tax on its own line in your fuel build-up rather than burying it in a single diesel price. A separate line shows what the tax contributes. When the federal rate changes, you can update one input instead of rebuilding the whole number. It also makes review easier for anyone who checks your math.

If your base price excludes the tax, show the federal tax as its own line. If your price already includes it, show the price with a note that the tax is inside it.

The table below sets out one truck's build-up. Each line has one input and one source.

Line What goes in it Where the input comes from
Base price for one gallon Price before federal tax, or the full price if tax is already inside Fuel invoice, supplier quote, or published average
Federal tax for one gallon 24.4 cents, added only when the base price excludes it Federal rate, with the date you checked it
State tax for one gallon Rate for each state the trip buys in, added only when the base price excludes it That state's own agency or source
Total for one gallon The sum of the lines above Calculated from the lines above
Miles a gallon Average from your own log Fuel and odometer log for the truck
Fuel cost a mile Total for one gallon divided by miles a gallon Calculated from the lines above

A reviewer should be able to change a single input and see the rate move by the right amount.

Keep records that hold up

A fuel line is only useful if you can explain it later. Keep a dated record of each input: the price source, the price, the federal rate you used, the state rates, and the miles a gallon figure and the log it came from. When a number changes, you will know which input moved and why.

Save a copy of each rate you send, with the date it went out. If a customer or a dispatcher asks why a quote moved, you can show the version that applied on that date. Put the source link next to each figure and write down when you checked it, so anyone reviewing the rate can see where it came from.

Store the records where you can find them in a few minutes, not in a drawer of paper invoices. Digital copies with dates in the file name are enough for many small operations. A paper copy of the federal and state rates you used is cheap insurance.

Your next step today

Today, pick one truck and run its fuel line through the table above, checking each input against its source.

Related guides: Fuel card cashback: 4 figures to net from diesel cost · Fuel tax report penalties in Washington: $100 fee, 7 rules.

Frequently asked questions

Is the federal diesel tax already in the pump price?

Yes, when the figure is a total you paid at the pump. A supplier quote or published base price may leave it out, so check the source before you add the tax.

Does dyed diesel change the tax in my rate?

Not directly. Dyed diesel is a separate question about which fuel you may run on public highways, so price standard highway diesel unless dyed use is authorized in every jurisdiction on the trip.

When should I update the rate?

Recheck it whenever your mileage, the federal rate, or a relief or deferral date changes.

Sources for this guide

This guide provides general information, not legal, tax, financial or safety advice. LaneMile is not a regulator, load broker, dispatch service or compliance certifier. Apply the authority and vendor guidance for your own operation.