CARGOHOLD

Detention calculation

Detention calculation: how to bill it

A detention calculation is free time subtracted from total time, multiplied by the rate in the contract: chargeable hours = hours on site minus the free period, times the hourly or daily rate. If a truck arrives at 08:00 for an 08:00 appointment and leaves at 13:30, with two hours free and a $75 per hour example rate, the bill is (5.5 - 2) x $75 = $262.50. Demurrage and per diem use the same arithmetic against a terminal clock instead of a dock.

By Richa Myria, Microsive

Three charges, one arithmetic

What each charge is measured against
ChargeMeasuresClock starts
DetentionA truck and driver held at a shipper or receiver beyond the free timeArrival or appointment time, as the contract names
DemurrageA container left inside the port or terminal beyond its free daysWhen the container is available for pickup
Per diemA container, and sometimes its chassis, kept outside the terminal beyond its free daysGate-out from the terminal

All three are the same shape: a free window, then a rate per hour or day, applied to time beyond the window. The differences are the start event and who owes whom, which is why the contract wording matters more than the math.

The calculation, step by step

  1. Write down the start event and the end event, with times and time zone.
  2. Subtract the free period the contract grants (hours or days).
  3. Round the way the contract says: by hour, by fraction of a day, with a stated minimum.
  4. Multiply by the contracted rate, per hour or per day.
  5. Attach the evidence: gate times, appointment record, signed pickup and drop paperwork.

Worked example

Example only: 08:00 arrival for an 08:00 appointment, 13:30 departure, two hours free, $75 per hour
StepMathResult
Total time on site08:00 to 13:305.5 hours
Less free time5.5 - 23.5 chargeable hours
Charge3.5 x $75$262.50

Where the disputes come from

  • Clock disagreement: appointment time versus gate time versus ready time.
  • Rounding: half a day billed as a full day with no clause that says so.
  • Missing free time: the contract grants two hours, the invoice assumes none.
  • Evidence: a charge with no times attached is a charge that gets written off.

Billing it cleanly

  • Capture gate-in, ready and gate-out times where the event happens, not from a driver's message later.
  • Put free time, rate, rounding and minimums in the contract before the first shipment.
  • Show the arithmetic on the invoice: times, free window, chargeable hours, rate, total.
  • Report unrecovered detention weekly, while the evidence is still fresh.

Port and terminal rules change and are published by the terminal itself: cite the terminal's own page and its date wherever a port clock is involved.

Related

What you get

  • 14days

    Most builds are handed over in 14 days; your timeline is confirmed in writing after the onboarding call.

  • 3months

    Free support after handover.

  • 100%

    Of the code and the data is yours.

  • $0

    Per truck, per dispatch or per client.

See it running on your kind of data.

Book a demo and we walk through the screens for your operation. Or request sandbox access and try it yourself.