How Freight Rates Are Actually Calculated
Most online "freight calculators" plug your miles into a flat $/mile and call it done. Real rates aren't built that way. Here's the full math behind every TruckRate Pro quote — fuel, tolls, linehaul, and the regional adjustments that change the number by 30% or more.
The big-picture formula
Every quote you see on TruckRate Pro is built from three components, then a margin is applied on top:
That's the high-level. The work is in calculating each of those three numbers honestly, which is where most rate calculators fall apart.
1. Fuel cost
Fuel is usually the most predictable component — if you have good price data and an honest MPG assumption.
The formula
Distance
Distance comes from Google Maps Directions API using truck-routable roads. This is route mileage, not straight-line mileage — which can differ by 15–25% on hilly or congested routes.
MPG (fuel economy)
Default: 6.5 MPG for a standard Class 8 semi. The real-world fleet average is 6.0–7.0 MPG; we use the middle. Adjust on a per-quote basis if your fleet runs lighter loads or newer aero-tractors (some run 7.5+ MPG empty).
Diesel price
Prices come from the U.S. Energy Information Administration (EIA) weekly retail survey, by state. The EIA samples ~350 retail outlets nationally; their numbers run ~18% below real truck-stop pump prices because the sample includes pricing fleets get on contract. We apply a +18% correction so the displayed price reflects what a driver actually pays at the pump.
In May 2026, the EIA national diesel average was $5.64/gal. Georgia retail typically runs 8–12% below national; our adjusted Georgia price was $5.11/gal — within $0.03 of actual Atlanta-area truck stops.
2. Tolls
Tolls are highly variable by state and route. We use TollGuru for real-time toll calculation with 5-axle truck classification — the same data source used by major TMS platforms.
Why tolls vary
Even for the same physical route, tolls can swing by 20–30% based on:
- Cash vs. transponder. E-ZPass and other transponder discounts are typically 15–30% lower than cash-by-plate.
- Time of day. The PA Turnpike and some Texas roads have peak/off-peak pricing.
- HOT/HOV lane usage. Some routes have optional managed-lane segments that aren't always taken.
- Exit selection. Skipping one exit and using a parallel route can save $30+ on long hauls.
Our quote reflects the standard mainline toll route with a 5-axle truck. Actual cost depends on which transponder discount your fleet uses.
3. Linehaul
This is where most rate calculators fall apart. Linehaul isn't "$2.50/mi flat" — it varies by region, equipment type, lane direction, distance, and origin/destination ZIP density.
The DAT corridor approach
Our linehaul base comes from DAT Freight & Analytics corridor rates — the industry's most widely-used spot market data. DAT samples thousands of broker-carrier transactions weekly across nine US regions (Northeast, Southeast, Deep South, Midwest, Southwest, South Central, Mountain, West Coast, plus a national average).
Equipment-specific rate tables
Each equipment type has its own [low, mid, high] $/mile table per region. For example, in May 2026:
| Equipment | Southeast Mid $/mi | Midwest Mid $/mi | West Coast Mid $/mi |
|---|---|---|---|
| Dry Van | $2.48 | $2.62 | $3.12 |
| Reefer | $2.88 | $3.04 | $3.58 |
| Flatbed | $2.68 | $2.82 | $3.32 |
| Step Deck | $3.02 | $3.18 | $3.64 |
| Tanker | $3.12 | $3.28 | $3.74 |
| Container (40ft) | $2.09 | $2.22 | $2.66 |
| Rail TOFC | $1.60 | $1.72 | $2.02 |
Distance multiplier — short hauls cost more per mile
Sub-200-mile loads carry a 22% premium because drivers can't make up downtime with longer wheel-turns. Long hauls (1,000+ mi) get a small per-mile discount because the deadhead and dwell cost gets amortized across more miles.
| Distance | Multiplier | Reason |
|---|---|---|
| < 200 mi | ×1.22 | Short-haul premium — driver can't recover deadhead time |
| 200–349 mi | ×1.12 | Short-haul, partial recovery |
| 350–499 mi | ×1.05 | Slight premium |
| 500–799 mi | ×1.00 | Baseline rate (the DAT "average" lane) |
| 800–1199 mi | ×0.97 | Long-haul discount |
| 1200+ mi | ×0.94 | Coast-to-coast discount, fixed costs spread further |
ZIP-tier sub-regional adjustment
Atlanta dry-van rates don't equal rural-Georgia dry-van rates, even on the same lane. We classify every origin and destination ZIP into three tiers:
- Tier 1 (Metro) — major freight hubs (Atlanta 303-308, Chicago 606, Newark 071, LA 900-908). +10–12% premium.
- Tier 2 (Mid-market) — secondary cities (Macon, Birmingham, Tulsa). Baseline rate.
- Tier 3 (Rural) — sparse population, low truck density (most of west Texas, rural Mississippi, eastern Montana). −6–8% discount because carriers prefer dense lanes.
The blend is 55% origin tier + 45% destination tier — origin matters slightly more because that's where the truck has to come from.
The market boost
After all the above, we apply a 1.22× market boost. Why? DAT spot rates reflect what brokers clear loads at today. Contract rates run 15–25% higher because they're locked for 6–12 months with carriers who give shippers capacity stability.
TruckRate Pro shows both prices — Mid (contract) for users negotiating annual rates, Spot Mid for users comparing against load-board references.
Base Southeast dry van mid = $2.48/mi.
× 1.22 short-haul multiplier = $3.03/mi.
× 1.04 ZIP blend (Atlanta metro origin → Macon mid-market dest) = $3.15/mi.
× 1.22 contract market boost = $3.84/mi → $380 linehaul.
Without the boost (spot rate): $3.15/mi → $312 linehaul.
4. Margin and total quote
Once total cost is computed (Fuel + Tolls + Linehaul), the user sets a target margin — typically 15–25% for brokers, 8–15% for asset-based carriers. The margin is applied to total cost:
This is the price shown to the customer. Margin is configurable per-quote because the right margin depends on:
- How tight capacity is in the lane
- How much competition the load is getting
- Your relationship with the shipper (new vs. repeat)
- The equipment specialty (a hazmat tanker reefer load justifies a fatter margin than dry van Memphis→Dallas)
What we deliberately don't include in the base quote
These items vary too much by load to bake in automatically. The calculator surfaces them as separate flags so you can add them manually:
- Detention — typically $50–$100/hr after the first 2 free hours
- Layover — $250–$400/day if the driver is held overnight
- Lumper fees — pass-through, usually $80–$300 depending on facility
- Liftgate/inside delivery — $75–$250
- Residential delivery surcharge — $75–$250 (we flag residential addresses automatically)
- Hazmat surcharge — typically +15–25% on linehaul, plus permits
- TWIC/airport/port-fee access — varies, often $50–$150
How accurate is this?
We benchmark monthly against DAT's published spot rate measurements:
- Fuel: within 5% of state-average pump prices
- Tolls: within 15% of actual cash tolls (varies by transponder discount)
- Linehaul spot rate: within 10% of DAT's measured spot averages on most lanes
- Linehaul contract rate: aligned with industry contract pricing 15–25% above DAT spot
On any given lane, real broker-paid rates can swing ±15% based on day-of-week, weather, season, and freight volume. Our quote is a calibrated benchmark, not a guarantee.
Where this falls short — honest disclosures
- Specialty equipment (oversize/overweight, heavy haul, double-drop, RGN) carries permit costs and pilot-car requirements that need expert quoting. Our calculator handles standard step-decks and lowboys but not 16-axle heavy haul.
- Mexico/Canada cross-border isn't supported. Border crossings have customs broker fees, drayage handoffs, and TIB/IM costs we don't model.
- LTL and partial loads use a different rate structure (rate-per-100-lbs / class-based pricing). We're truckload-only.
- Project freight (white-glove, time-critical, expedited) commands premiums we can't predict from public data.
See it work on your lane
Plug in any origin and destination — get a full breakdown in under 30 seconds.
Try TruckRate Pro Free →3 free quotes · no credit card · cancel anytime
Have a methodology question?
Email billing@truckrate.pro with the lane and equipment type and we'll walk through how we got the number. We answer every email.