Skip to content
Haul Math

Get paid

Detention Pay Calculator for Truckers

Last updated: . Haul Math (haulmath.co) is a free set of trucking calculators by Hive Asset Group, LLC.

Detention pay is the time you sat at the shipper or receiver, minus the free time in your rate confirmation, times the hourly detention rate. If your rate con has a cap, the cap limits what you can bill.

Time in

When you checked in. If your rate con starts the clock at the appointment time and you were early, use the appointment time.

Time out

When you were released with paperwork. Left after midnight? Change the date too.

Your rate con terms

Hours before detention starts. Use what your rate con says.

If the rate con doesn't say, 15 minutes rounded down is easy for a broker to check and hard to argue with.

Most the rate con pays per 24 hours of detention. Leave blank if there's no cap.

Detention to bill

$175.00

3.5 billable hours at $50.00/h

Time on site
5 h 35 min
Free time
2 h
Time past free time
3 h 35 min
Billable (rounded down to 15-minute steps)
3 h 30 min
Amount
$175.00

Show the math

  1. Time on site

    Time out − time in

    Sep 28, 2026 12:20 − Sep 28, 2026 06:45 = 5 h 35 min

  2. Time past free time

    Time on site − free time (not below zero)

    5 h 35 min − 2 h = 3 h 35 min

  3. Billable time

    Time past free time, rounded down to 15-minute steps

    3 h 35 min = 3 h 30 min (3.5 h)

  4. Detention pay

    Billable hours × hourly rate

    3.5 × $50.00 = $175.00

You were on site 5 h 35 min. The first 2 h is free time, which leaves 3 h 35 min. Billed in 15-minute steps, rounded down, that's 3 h 30 min at $50.00/h, for $175.00.

Detention invoice

Optional. These go on the PDF with the times and math above.

Save this as a PDFPRO

Hand your broker a clean sheet with your name on it. Print it, email it, or keep it for your records.

Free plan: see a watermarked preview. Pro downloads the clean PDF.

Hours on site, free and billable
Time on site5.58 hFree time2 hBillable hours3.5 h

Example numbers. Change the inputs to see your own.

Save this number on a worksheet

Printable PDF and spreadsheet. Fill in your costs and see your number.

Email only. We send the worksheet and a few short tips. Unsubscribe any time. Hive Asset Group, LLC. Privacy

What the calculator does

You enter the date and time you checked in, and the date and time you were released with your paperwork. Then you enter the terms from your rate confirmation: free time in hours, the detention rate per hour, and an optional daily cap (the most the rate con pays per 24 hours of detention).

You also pick how you bill. Choose a step of exact minutes, 15 minutes, 30 minutes or 1 hour, and whether to round down, round to nearest, or round up. It gives you the billable hours and the total detention pay.

It only works with the numbers you type in. It does not know what your broker agreed to. Use the free time and rate from the rate con, not the usual ones.

The formulas

  • Time on site = time out minus time in
  • Billable time = time on site minus free time, rounded to your billing step
  • Detention pay = billable hours x detention rate per hour
  • If there is a cap = the lower of that number and the cap for each 24-hour period
  • Detention added to your rate per mile = detention pay / loaded miles

The last line is the one most drivers skip. A load that looks thin at the posted rate can look different once the wait is billed, and the other way around: an unpaid wait is time you gave away. Your real rate per mile also depends on your costs, so work those out first with the cost per mile calculator.

Example: 5 hours 35 minutes on site, 2 hours free, $50 per hour

All numbers here are made up for the Example.

  • Check in 7:00 AM, check out 12:35 PM: time on site is 5 hours 35 minutes
  • Minus 2 hours free: 3 hours 35 minutes
  • Billed in 15-minute steps, round down: 3 hours 30 minutes, so 3.5 x $50 = $175.00
  • Billed in 15-minute steps, round up: 3 hours 45 minutes, so 3.75 x $50 = $187.50

The rounding rule moved the bill by $12.50 on one stop. Check what your rate con says about rounding. If it says nothing, ask the broker before the load, not after.

Example: 450 loaded miles at $2.40 per mile, $40 per hour detention

All numbers here are made up for the Example.

  • Line haul: 450 x $2.40 = $1,080.00
  • Waited 6 hours 10 minutes, 2 hours free: 4 hours 10 minutes
  • Billed in 15-minute steps, round down: 4 hours, so 4 x $40 = $160.00
  • Rate per mile with no detention paid: $1,080.00 / 450 = $2.40
  • Rate per mile with detention paid: ($1,080.00 + $160.00) / 450 = $2.76 (rounded)
  • With a $150 cap instead: ($1,080.00 + $150.00) / 450 = $2.73 (rounded)

If the broker does not pay it, you spent more than six hours at the dock for the same $1,080.00. This example does not count the other loads you could not pick up while you waited.

How to bill detention

There is no federal rule that makes a shipper, receiver or broker pay you detention. Whether you get paid depends on your contract, which is usually the rate confirmation. Check your contract for the exact terms. FMCSA has looked at detention as a safety and operations issue, and drivers' groups have asked it to act on pay, but trade groups such as the American Trucking Associations and the Transportation Intermediaries Association argued against regulating it (FreightWaves, Oct. 2023). Treat it as a term you negotiate.

What to check on the rate con before you accept the load:

  • Free time. Two hours is common, but your rate con sets it. Check whether the clock starts at your arrival or at your appointment time.
  • Hourly rate. Published articles put typical rates anywhere from about $25 to $100 per hour, so the number is negotiated load by load.
  • Cap. Some contracts limit the hours or the dollars per day.
  • Paperwork. Look for deadlines to submit a claim and what proof they want. Be careful with wording like "must be approved in writing" with no steps given.

How to protect the claim once you are at the dock:

  1. Write down your arrival time and keep a screenshot of your ELD or load-tracking app.
  2. Get the shipper or receiver to put your in and out times on the BOL or a sign-in sheet, and keep a photo.
  3. Tell your broker by phone and email when you get close to the end of free time, not after you leave. Ask them to confirm detention is approved before you drive away.
  4. Send the invoice with your proof, inside the claim window in your rate con.

A Trucker Tools survey found 68 percent of respondents rarely received detention pay and 11 percent never did. Records and early notice give you a better case, but nothing here promises you will be paid.

To see the whole load with the wait included, use the load calculator. For more on terms and rounding, read the detention pay guide.

FAQ

How do I calculate detention pay?

Take the time between check-in and release, subtract the free time in your rate con, and multiply what is left by the hourly rate. In the first example, 3.5 billable hours at $50 is $175.00.

How long do I have to wait before detention starts?

It depends on your rate confirmation. Two hours of free time is common, but your contract sets it. Some start the clock at your arrival and some at your appointment time, so read the wording.

Is there a federal law that makes shippers pay detention?

Not that I found. There is no federal rule that forces detention pay, so you get it only if your contract provides for it. Check your contract, and get the terms in writing before you take the load.

What if the rate con has a cap?

Then the calculator's daily cap field is where you enter it. The result will not go above the cap for each 24 hours. In the second example, a $150 cap would turn a $160 bill into $150.

Does detention change my rate per mile?

It adds to what the load pays without adding miles, so your rate per mile goes up when you are paid. In the second example it moves from $2.40 to $2.76 per mile. If you are not paid, the wait is still time you spent on that load.

Sources

Get the free sheet and the workbook

Free: the cost per mile sheet. Work out your own cost per mile so you know what a wait costs you. Get the free sheet

The $19 workbook. An Excel file (.xlsx) with working formulas, plus a printable PDF. Get the workbook

Free, no signup

Know your number before you take the load

26 free calculators, no signup. Want your loads and numbers saved? Try Pro free for 14 days, no card.

Get the free cost-per-mile sheetStart the free Pro trial