Guide
Truck Detention Calculator: How to Calculate and Bill Detention Pay

Open the Detention Pay Calculator
Example numbers from the Detention Pay Calculator. Open it to use your own.
Detention pay is what a shipper or receiver, usually through the broker, pays you for holding your truck past the free time. Every hour at a dock is an hour you aren't driving and getting paid for miles. This guide covers how detention is worked out, how to handle rounding, overnight stops, and daily caps, and what to put on the invoice.
Detention calculator
Use the truck detention calculator to work out what you are owed. Enter:
- Time in and time out (the calculator turns these into hours waited)
- Free hours (the free time on your rate confirmation)
- Hourly rate (your detention rate per hour)
Detention owed = (hours waited minus free hours) x hourly rate. If you waited less than the free hours, detention owed is $0.
More free trucking calculators for loads, fuel tax and truck costs are in one place.
Where the terms come from
Detention is a contract term, not a set rate. Look for it on your rate confirmation or in your broker-carrier agreement. The terms that matter:
- Free time. How long you can be on site before detention starts, for example 2 hours.
- Hourly rate. What each hour past free time pays.
- When the clock starts. At check-in, or at your appointment time if you arrived early.
- Billing increment. Whether time is billed by the minute, in 15- or 30-minute steps, or by the whole hour.
- Cap. Some rate cons limit detention to a set amount per day or per stop.
- How to claim it. Who you have to notify, when, and what proof they want.
If the rate con says nothing about detention, ask for it in writing before you book, not after you've been waiting six hours.
The formula
Detention pay = (time on site − free time, rounded to the billing increment) × hourly rate, limited by any cap.
Worked example: a morning appointment
Your rate con says: 2 hours free, then $50 an hour, billed in 15-minute increments.
- Time in: 6:45 a.m. Time out: 12:20 p.m.
- Time on site: 5 hours 35 minutes
- Minus 2 hours free time: 3 hours 35 minutes
- Rounded down to 15 minutes: 3 hours 30 minutes, or 3.5 hours
- Detention: 3.5 × $50 = $175.00
If your rate con rounds up instead, 3 hours 35 minutes becomes 3 hours 45 minutes, and the bill is 3.75 × $50 = $187.50. That $12.50 difference is why the rounding rule matters. Bill it the way your rate con says. If it doesn't say, rounding down is the safe choice. You never bill for time you can't show, and the broker has less to push back on.
Worked example: an overnight stop
You check in at 9:30 p.m. on the 28th, and they finally release you at 4:15 a.m. on the 29th. Measure from date and time to date and time, not just clock time:
- Time on site: 6 hours 45 minutes
- Minus 2 hours free: 4 hours 45 minutes, which is 4.75 hours
- Already a whole number of 15-minute steps, so no rounding
- Detention: 4.75 × $50 = $237.50
Subtracting 9:30 from 4:15 without the dates gives a negative number, and it's an easy way to get overnight detention wrong. The detention pay calculator takes a date with each time for this reason.
Daily caps
If the rate con says detention is capped at, say, $400 a day, then 10 billable hours at $50 an hour ($500) pays $400. For a stop that runs past a full day, the calculator applies the cap to each 24 hours of billable time. Check how your rate con defines a "day". If it means something else, like a calendar day, work it out that way instead.
Waiting time and your hours of service
Detention also costs you driving time. Under the federal definition of on-duty time, time spent at a shipper's facility waiting to be dispatched, attending a truck being loaded or unloaded, or remaining in readiness to operate counts as on-duty time (49 CFR 395.2). The 14-hour limit counts 14 consecutive hours after you come on duty (49 CFR 395.3(a)(2)), so waiting at the dock uses up that window. The sleeper berth split in 49 CFR 395.1(g) is the main way around that, and it has its own conditions. A long wait can leave you legal to drive for only a few hours once you finally roll. Plan the rest of the trip with the hours of service calculator.
Getting it paid
To get detention paid, agree the rate and free time with the broker before you book, then message the broker before your free time ends. Keep time-stamped proof and invoice quickly with that proof attached. Your rate confirmation sets the terms, so check it. Third-party surveys say many drivers rarely get paid, so records matter.
The 5 steps to get detention paid
Do them in this order. The timing matters most at step 3.
- Get the terms in writing before you book. Ask the broker for the hourly rate, the free time, when the clock starts (arrival or appointment time), the billing step (15 minutes, 30 minutes or 1 hour) and any cap. Check your rate confirmation. Do not rely on a promise made on the phone. Truckstop says the amount is negotiated before signing, not after an invoice is submitted.
- Write down your arrival time. Note the time you checked in. Save a screenshot of your ELD or load-tracking app. Waiting at the dock also counts as on-duty time, so see the hours of service calculator for what that does to your clock.
- Message the broker before free time ends. If you have 2 hours free, send the notice at about 1 hour 30 minutes, not after you leave. Send it by text or email so there is a time stamp, and ask them to confirm they have it. If the rate con says to call or message a certain way, do it that way, and write down who you talked to and any detention number they give you. Our notify template is below.
- Record when loading or unloading starts and ends. Ask the shipper or receiver to write your in and out times on the BOL or sign-in sheet. Take a photo of it.
- Invoice promptly and follow up. Send the claim with your proof as soon as you can, inside any claim window in your rate confirmation. Send the detention invoice with the rest of your paperwork, or on its own right after the load, whichever your broker wants. Then follow up on the status. Our claim template is below.
Nothing here promises a broker will pay. It gives you a clear record to ask from.
Proof checklist
- ELD or GPS time stamps for arrival and departure
- Appointment confirmation (shows the time you were scheduled)
- Facility sign-in sheet or gate log, photographed
- Signed BOL with in and out times
- Photos of the dock, the line or the closed door, with time stamps
- Your notify message to the broker, with the time sent
- Rate confirmation page showing the detention terms
OTR Solutions suggests sending timestamps, GPS coordinates, photos of the delay and signed bills of lading. Truckstop lists keeping proof of the scheduled appointment and your signed BOL or delivery receipt.
What to put on a detention invoice
- Your company name and contact details
- Who you're billing: the broker or shipper
- Load or reference number, and any detention number
- Facility name and city
- Arrival and departure dates and times
- Free time, billable time, and how it was rounded
- Hourly rate and total due
The detention pay calculator fills all of that into a PDF invoice for you. If you're billing detention on the same invoice as the linehaul, add it as a line item in the freight invoice generator.
Copy-paste email templates
Change the words in brackets. Keep them short.
1. Notify email (send before free time ends)
Subject: Detention starting soon, Load [load number]
Hi, this is [your name], MC/DOT [number], on load [load number] at [facility name and city].
I checked in at [time] on [date]. My appointment was [time]. Free time on the rate confirmation is [number] hours, so it ends at [time].
I am still waiting. Please let me know if you can help get me released, and please confirm you received this message.
Thank you, [name and phone]
2. Claim email (send with the invoice)
Build the invoice with the freight invoice generator, then send it with this note.
Subject: Detention invoice, Load [load number]
Hi, attached is my detention invoice for load [load number].
Check-in: [date and time]. Released: [date and time]. Free time: [number] hours. Billable time: [hours and minutes]. Rate: $[rate] per hour, as on the rate confirmation. Total: $[amount].
Proof attached: [ELD or GPS screenshot, signed BOL, sign-in photo, my notify message of [date and time]].
Please confirm you received it and tell me when to expect payment.
Thank you, [name and phone]
Detention rates other sources report
These are ranges that other sources reported. They are not our numbers and not a quote for your load. Your rate confirmation sets your rate.
| Source | Year | Reported rate | Applies to |
|---|---|---|---|
| Truckstop, "Understanding Trucking Detention Pay for Carriers and Freight Brokers" | 2023 (June 30) | about $85 per hour on average | Carriers and brokers in general |
| OTR Solutions, "Detention Pay in Trucking" | Year not shown on the page | $25 to $100 per hour, up to $125 for specialized or hazmat loads | Standard freight, then specialized and hazmat loads |
| Trucker Tools, "Three Ways To Get Detention Pay" | Year not shown on the page | $25 to $100 per hour | Extended detention, in general |
| TruckBase, detention pay article | 2022 (May 22) | $25 to upwards of $100 | Depends on the carrier |
We could not open a source that gives a clean dry van, reefer and flatbed split, so this table is by source instead of by trailer. Free time is usually reported as 2 hours, with some facilities from 1 to 4 hours (OTR Solutions).
Example: 4 hours on site, 2 hours free, $75 per hour, 15-minute steps
All numbers here are made up for the Example.
- Time on site: 4 hours
- Minus 2 hours free: 2 hours billable
- In 15-minute steps that is 8 steps. 2 × $75 = $150.00
Now the same stop with 4 hours 20 minutes on site:
- Minus 2 hours free: 2 hours 20 minutes
- Round down to 15-minute steps: 2 hours 15 minutes = 2.25 × $75 = $168.75
- Round up to 15-minute steps: 2 hours 30 minutes = 2.5 × $75 = $187.50
The rounding rule moved the total by $18.75. Check what your rate confirmation says about rounding. Enter your hours and rate in the free detention pay calculator to get your total.
Know your number before you accept the wait. The $19 Owner-Operator Numbers Workbook has working formulas for your cost per mile, break-even and load decisions. Get the workbook. To see what each hour on the dock costs you, start with the cost per mile calculator.
Common questions
- When should I tell the broker I am being detained?
- Before your free time ends, and by a written message so it has a time stamp. If you have 2 hours free, about 1 hour 30 minutes in is a sensible point. Truckstop's guide also lists notifying the broker as soon as detention starts.
- What proof do brokers ask for?
- It varies, so check your rate confirmation. Common items are ELD or GPS time stamps, the appointment confirmation, the signed BOL, the facility sign-in sheet and photos.
- How much detention can I ask for?
- Whatever your rate confirmation says. Other sources report hourly rates from $25 to $100, with an average of about $85 from Truckstop and up to $125 for specialized or hazmat loads. Those are ranges others report, not a promise for your load.
- Do drivers usually get paid detention?
- A Trucker Tools survey found 68 percent of respondents rarely receive detention pay and 11 percent never do. It also found 60 percent reported detention of 2 hours or more. That is why written terms and records matter.
Sources
- 49 CFR 395.1(g): Sleeper berths (eCFR)
- 49 CFR 395.2: Definitions, including on-duty time (eCFR)
- 49 CFR 395.3: Maximum driving time for property-carrying vehicles (eCFR)
- Truckstop, Understanding Trucking Detention Pay for Carriers and Freight Brokers (June 30, 2023)
- OTR Solutions, Detention Pay in Trucking
- Trucker Tools, Three Ways To Get Detention Pay
- TruckBase, detention pay article (May 22, 2022)

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.