Free tools · no signup · nothing stored on a server

Freight broker calculators

Six calculators for the numbers a broker runs all day: rate per mile, deadhead cost, margin, detention, fuel surcharge, and break-even. Every formula is printed on the page so you can check the math instead of trusting it.

About the pre-filled numbers: every field starts with a round, made-up placeholder so the page has something to calculate. They are not market rates, benchmarks, or industry averages — overwrite them with your own figures. Nothing here is sent anywhere; your last-used inputs are saved only in this browser.
Calculator 01

Rate per mile

What the load actually pays per mile once you count the miles run empty to get to it — and what you keep if you already know the carrier's buy rate.

Customer rate, excluding accessorials. Enter a number of 0 or more.
Pickup to delivery. Miles cannot be negative.
Empty miles to the pickup. Miles cannot be negative.
Leave 0 to skip the margin lines. Enter a number of 0 or more.

Loaded RPM = linehaul ÷ loaded miles All-in RPM = linehaul ÷ (loaded miles + deadhead miles) Margin $ = linehaul − carrier buy rate Margin % = margin $ ÷ linehaul × 100

Calculator 02

Deadhead cost

What it really costs to reposition a truck empty, and how much extra the loaded rate has to carry to pay for it.

Empty miles to the pickup. Miles cannot be negative.
Your pump price — placeholder only. EIA weekly diesel → Enter a price of 0 or more.
Must be greater than 0. MPG must be greater than 0.
Pay, tires, maintenance — everything except fuel. Enter a cost of 0 or more.
Used only to spread the cost per loaded mile. Miles cannot be negative.

Fuel cost = (deadhead miles ÷ MPG) × fuel price Driver/fixed cost = deadhead miles × cost per mile True deadhead cost = fuel cost + driver/fixed cost Break-even add-on = true deadhead cost ÷ loaded miles ($ per loaded mile the rate must gain)

Calculator 03

Margin / broker spread

Gross margin in dollars and percent, plus the carrier rate you would have to book to hit a target margin on the same customer rate.

What you bill the shipper, all-in. Enter a number of 0 or more.
What you pay the truck, all-in. Enter a number of 0 or more.
Your own goal — editable placeholder, not a benchmark. Enter 0–99.

Gross margin $ = customer rate − carrier rate Gross margin % = gross margin $ ÷ customer rate × 100 Carrier rate to hit target % = customer rate × (1 − target % ÷ 100)

Calculator 04

Detention & accessorials

Billable detention after free time, plus the usual add-ons, totalled into one number you can paste into an invoice dispute.

Per your rate confirmation. Hours cannot be negative.
Check-in to departure. Hours cannot be negative.
Contracted rate — editable placeholder. Enter a rate of 0 or more.
Many contracts cap detention per stop. Enter a number of 0 or more.
Enter a number of 0 or more.
Enter a number of 0 or more.
Truck ordered, not used. Enter a number of 0 or more.
Count cannot be negative.
Editable placeholder. Enter a number of 0 or more.

Billable hours = max(0, time on site − free time) Detention $ = billable hours × detention rate (capped if a cap is set) Accessorials $ = lumper + layover + TONU + (extra stops × rate per stop) Total billable = detention $ + accessorials $

Calculator 05

Fuel surcharge (FSC)

The standard peg-and-divide FSC: everything the current diesel price sits above your contract's base price, divided by the truck's MPG.

The price written into your FSC schedule. Enter a price of 0 or more.
Type this week's figure. EIA weekly on-highway diesel → Enter a price of 0 or more.
The MPG your schedule assumes. MPG must be greater than 0.
Miles the FSC applies to. Miles cannot be negative.

FSC per mile = max(0, DOE price − base price) ÷ MPG FSC per load = FSC per mile × billable miles Below the base price the surcharge is zero (unless your contract runs a negative FSC).

Calculator 06

Break-even load

The lowest rate that still covers the load, and the rate you need for the trip to actually earn your target margin.

Insurance, truck payment, overhead allocated to this load. Enter a number of 0 or more.
Fuel, driver pay, tires, maintenance. Enter a number of 0 or more.
Every mile the truck turns for this load. Miles cannot be negative.
Margin on revenue. Editable placeholder. Enter 0–99.

Total cost = fixed cost + (variable cost per mile × total miles) Break-even rate = total cost (margin = 0) Minimum rate = total cost ÷ (1 − target % ÷ 100) Minimum RPM = minimum rate ÷ total miles Dividing by (1 − margin) is deliberate: margin is measured against revenue, not cost.

Built by the same person who built FreightDesk

Get the numbers, then get the hours back.

These six calculators cover the math. They don't touch the part that actually eats the day — the POD requests, the invoice disputes, the rate reconciliations and the 30-day past-due chases sitting in your billing inbox right now.

That's what FreightDesk AI is: an AI back-office clerk that reads the AR inbox, classifies each email, and drafts the reply with the right numbers attached — running on a local model on your own machine, so rates and margins never leave the building.

  • It is new. There are no clients yet — the first pilots are being taken now, which is exactly why founding-client pricing exists ($999 setup + $249/mo).
  • No usage figures, time savings, or ROI numbers are claimed here, because none have been measured in production yet.
  • If it isn't a fit, the calculators above stay free and unchanged. No email required to use them.

Notes on the math

Why "all-in" rate per mile matters

Loaded RPM flatters every load. A 400-mile run at $2.50 loaded that needed 150 empty miles to reach is really paying $1.82 across the miles the truck actually turned. Deadhead is the difference between a lane looking good and being good.

Margin on revenue vs. markup on cost

A $400 spread on a $2,000 customer rate is a 20% margin, but a 25% markup on the $1,600 carrier rate. Both numbers are correct and they are not the same number. Every margin figure on this page is measured against the customer rate, which is the convention on a brokerage P&L.

Fuel surcharge is a formula, not a price

The common FSC method pegs a base diesel price, takes the amount current diesel exceeds it, and divides by an assumed MPG to get cents per mile. Nothing on this page hardcodes a diesel price — enter the current figure from the EIA weekly on-highway diesel report, which is the source most FSC schedules reference. Contracts vary: some use a regional average, some step in half-cent brackets rather than a straight divide.

These are estimators, not your contract

Detention rules, caps, free time, and accessorial definitions live in your rate confirmation and customer contract. When the calculator and the contract disagree, the contract wins.


FAQ

Common questions

Longer version, with every formula worked out: Freight broker margin & rate per mile →

How do you calculate rate per mile for a freight load?

Rate per mile = total linehaul rate / total loaded miles. A $2,400 load running 1,200 miles is $2.00 per mile. If you include deadhead miles in the denominator you get the all-in rate per mile, which is the number that actually reflects what the truck earned.

How do you calculate a freight broker's margin?

Margin dollars = customer rate minus carrier pay. Margin percent = margin dollars / customer rate. A load billed at $2,400 with $2,000 to the carrier earns $400, a 16.7% margin. The free margin calculator at https://yusuf-gadelrab.github.io/freight-tools.html shows both figures.

What is deadhead and how much does it cost?

Deadhead is the empty miles a truck runs to reach a pickup. Its cost is deadhead miles x operating cost per mile, and it comes straight out of the load's profit. Adding deadhead to loaded miles gives the true all-in rate per mile.

How is a fuel surcharge (FSC) calculated?

FSC per mile = (current diesel price minus the base fuel price) / the truck's miles per gallon. Multiply by total miles for the surcharge on a load. The base price and MPG are set by contract, so both need to be agreed with the customer up front.

What is detention pay in trucking?

Detention is what a carrier bills when a shipper or receiver holds the truck beyond the free time, usually two hours. It is billed per hour after free time, often with a daily cap. The detention calculator handles free time, hourly rate, and caps together with other accessorials.

Are these freight calculators free?

Yes — six calculators, no signup, no account. The page is static and runs in your browser, so nothing you type is transmitted or stored anywhere.

Estimates Only

Every calculator on this page produces an estimate from the numbers you type in. Outputs are illustrative math, not a quote, a rate confirmation, an accounting figure or a projection of your results. No usage, time-savings or ROI figures here have been measured across customers. Nothing on this page is financial, tax, legal or business advice — check your own rates, costs and contracts before acting.

Terms of Use · Privacy Policy