Facebook tracking pixel

Freight cost calculator

A freight cost calculator adds up what a load costs and the price to quote. Add the linehaul, the fuel surcharge and any extra charges, then divide by one minus your margin. A 500 mile load at $2.20 per mile with fuel and extras costs $1,375.00, and a 15% margin quotes it at $1,617.65.

Enter the miles and the rate you pay the carrier, add fuel and extra charges, and set your margin to see the cost of the load and the price to quote. This free calculator is an estimate. No signup.

Formula
Cost = linehaul + fuel surcharge + extra charges. Price to quote = cost / (1 - margin).
Example
500 miles at $2.20 per mile, $0.40 per mile of fuel, $75 of extras: cost $1,375.00, quote $1,617.65 at a 15% margin
Best for
Freight brokers, dispatchers and shippers pricing a load. Free, no signup, from Hey Bubba!, the AI back office for trucking.
Last updated
November 18, 2026
The load

The loaded miles and the linehaul rate you pay the carrier.

Loaded miles
mi
Linehaul
Rate per mile
$/mi
Fuel and extra charges

Both are optional.

Fuel surcharge
$/mi
Extra charges
$
Your margin

The share of the price you want to keep. Leave it blank to see the cost only.

Margin
%

Quote at different margins

The same $1,375.00 load at five margins. The margins are examples.

Price to quote, profit and markup at different margins for a load that costs $1,375
MarginPrice to quoteProfitSame as a markup of
10%$1,527.78$152.7811.1%
12%$1,562.50$187.5013.6%
15%$1,617.65$242.6517.6%
18%$1,676.83$301.8322.0%
20%$1,718.75$343.7525.0%

How to use the freight cost calculator

Have the carrier's rate and any fuel or extra charges ready.

  1. Enter the loaded miles

    Type the miles from pickup to delivery.

  2. Enter the linehaul

    Pick a rate per mile or a flat rate for the whole load, and type the rate.

  3. Add fuel and extra charges

    Type the fuel surcharge per mile and any detention, lumper or other charges for the load. Both are optional.

  4. Set your margin

    Type the share of the price you want to keep. Leave it blank to see the cost only.

  5. Read the cost and the quote

    See the cost of the load, the cost per mile, your margin in dollars, and the price to quote.

Freight cost estimator: how the cost of a load is calculated

The cost of a load is the linehaul plus everything added to it. The linehaul is the miles times the rate per mile, or one flat price. The fuel surcharge is charged per mile, and extra charges such as detention, lumper fees or a liftgate are added as dollars.

To quote a price, divide the cost by one minus your margin. Margin is a share of the price, so the same dollars of profit look smaller as a margin than they do as a markup on the cost.

See also: Fuel surcharge calculator · Freight rate per mile calculator · Load profitability calculator

Margin vs markup on a freight quote

Both describe profit, but they start from different numbers, which is a common source of mistakes when quoting.

  • Margin = profit / price. A 15% margin on a $1,617.65 quote is $242.65.
  • Markup = profit / cost. The same $242.65 on a $1,375 cost is a 17.6% markup.
  • To keep a target margin, divide the cost by one minus the margin. Don't just add the percent to the cost.

Using the quote with your lane and your customer

The result is a clear starting point built from your own numbers. Market conditions, the customer, the lane and the equipment can all move the price you actually win the load at, so use the margin as your floor and adjust from there.

FAQ's

Add the linehaul, the fuel surcharge and any extra charges. For a full truckload the linehaul is usually the miles times a rate per mile, or a flat price for the lane. Our $1,375.00 example is a 500 mile truckload. LTL freight is priced differently, by weight, class and distance.