OmniLoad

Free trucking tool

Detention pay calculator

Turn arrival and departure times into billable detention. Set your free time, hourly rate and rounding, then copy a ready-made invoice line with the exact hours and amount.

The stop

optional
optional

Use local time at the facility, as written on the check-in and check-out records. The stay may cross midnight.

Detention terms

min

Prefilled with 120 minutes (2 hours). Use the free time in your rate confirmation.

$/hr

Example rate. Use the one in your agreement.

Rounding
optional
hr

Leave blank if your agreement has no maximum.

optional
hr

Some terms bill a minimum block.

Result

Detention to bill

$187.50

3.75 billable hours at $50.00 per hour

Time on site

5h 40m

Free time

2h 00m

Billable time

3h 45m

after rounding, minimum and cap

Billable hours

3.75

decimal hours

How it adds up

Time on site5h 40m
− Free time2h 00m
= Time past free time3h 40m
Rounded up to 15 min3h 45m
Billable time3h 45m
× $50.00 per hour$187.50

Invoice line

Detention: arrived 2026-11-19 08:30, departed 14:10; 5h 40m on site, 2h 00m free, 3.75 h billable (rounded up to 15 min) @ $50.00/h = $187.50

This is a calculation, not a guarantee of payment: whether detention is owed, and how, is set by your rate confirmation or contract. Nothing you enter is uploaded.

Document it before you leave

  • Photograph the check-in sheet, gate log or guard sign-in with a visible timestamp.
  • Get the receiver to write the in and out times on the BOL, and keep a photo of it.
  • Message the broker the moment free time runs out, so there is a timestamped notice.
  • Keep your ELD or GPS location history for the day: it shows when you reached the gate.
  • Check your rate confirmation for free time, rate, cap and any deadline to submit the claim.
This calculator does the arithmetic on the times and terms you enter. Whether detention is owed, and how it is paid, is set by your rate confirmation or contract. It is not legal advice.

How detention pay is calculated

Detention is the money you bill when a shipper or receiver keeps your truck longer than the free time in your agreement. The calculation has three steps: measure how long you were on site, take off the free time, and price what is left. Everything else, such as rounding, minimums and caps, comes from the contract and is applied to that remainder.

on site = departure − arrival
past free time = max(0, on site − free time)
rounded = ceil(past free ÷ step) × step (step = 15, 30 or 60 min, if your terms round up)
billable = max(rounded, minimum), then no more than the cap
amount = billable hours × hourly rate
Time is measured on the clock as written, so crossing midnight or a daylight saving change does not skew it.

Worked example

The tool opens with this stay so you can see each step. The times and the $50 an hour rate are examples, so replace them with your own.

Rounding, minimums and caps

Agreements handle partial hours in different ways. Some bill exact minutes. Others round up to the next 15, 30 or 60 minutes. Some set a minimum block once detention starts, and some cap the billable time. Rounding up only ever applies to time past the free time, so a stay inside the free window bills nothing. When a cap and a minimum both apply, the cap is the ceiling. Enter whatever your contract says, and leave the optional boxes blank if it says nothing.

Why the exact times matter

Detention is billed by the hour or part of an hour, so a few minutes can change the invoice. With rounding up to 15 minutes, 3 hours 40 minutes past free time bills as 3.75 hours; with hourly rounding the same stay bills as 4 hours. That is why the calculator shows each step. When a broker or receiver questions the figure, you can walk through the arrival time, the departure time, the free time you were allowed and how your terms treat partial hours, and each of those can be checked against paperwork you already hold.

Document it before you leave

The best detention claim is one the other side cannot argue with. While you are still at the dock:

  • Photograph the check-in sheet, gate log or guard sign-in with the time visible.
  • Ask the receiver to write the in and out times on the BOL, then photograph it.
  • Message the broker when free time expires so there is a timestamped notice.
  • Keep your ELD or GPS location history for the day as independent evidence.
  • Check the rate confirmation for a deadline to submit a claim, since some agreements require notice within a set period.

Mistakes that cost carriers money

  • Not knowing the terms. If you do not know your free time, rate and cap before you arrive, you cannot tell when the clock starts.
  • Starting the clock at the wrong time. Appointment time and check-in time are different starting points, and your contract decides which counts.
  • Relying on memory. Reconstructed times are easy to dispute. Capture timestamps as they happen.
  • Missing the claim window. Some agreements require the claim and supporting proof within a deadline.
  • Forgetting the cost to you. A long wait can also eat your hours of service. Use the HOS trip planner to see how it moves your next delivery, and the load profit calculator to see what the waiting did to the load's profit.

Your terms will differ

This page does not claim a standard free time, rate or cap, because they are negotiated and appear in each rate confirmation or contract. The calculator is just the arithmetic: it uses the numbers you give it, applies the rounding and limits you choose, and shows every step so you can explain the bill.

Frequently asked questions

How is detention pay calculated?

Take the time between arrival (check-in) and departure, subtract the free time in your agreement, and bill the remainder at your hourly detention rate. If your terms round up to the next 15, 30 or 60 minutes, apply that rounding to the time past free time. If your terms have a cap or a minimum, apply those last.

Where do the detention terms come from?

From your rate confirmation or contract. It should state the free time, the hourly rate, any cap on billable hours and how and when to submit a claim. This calculator uses the numbers you type in, so enter the terms exactly as written. If an agreement is silent, ask the broker or shipper to confirm the terms in writing.

When does the clock start, at arrival or at my appointment time?

That is a contract term and it differs between agreements. Some start counting at the scheduled appointment time, some at actual check-in, and some only if you arrived on time. This calculator counts from the arrival time you enter, so use the appropriate start time for your agreement.

What proof should I keep to get paid?

Keep anything that shows when you arrived and when you left: a photo of the check-in sheet or gate log, the in and out times written on the BOL, messages to the broker when free time ran out, and your ELD or GPS location history. Timestamps recorded at the time carry more weight than times reconstructed later.

Does a stay that crosses midnight work?

Yes. Enter the full date and time for both arrival and departure and the calculator measures the whole stay, including across midnight, month ends and leap days. It reads the clock times as written, so it does not shift for time zones or daylight saving.

From calculator to system

Stop doing this by hand — OmniLoad does it on every load automatically

OmniLoad's tracking can detect arrival and departure at a facility geofence and work out detention from the location evidence, so the timestamps are already recorded when it is time to bill. Create an account to try it on your own loads, or open the demo first.

See the pricing page for plan details, including the free plan for small fleets.