Two clocks. Most people only watch one.
Demurrage runs while the container sits inside the terminal. Detention runs from the moment it leaves until you hand the empty back. They have different free days, different per-diem rates, and they overlap — which is how a shipment that looked fine turns into a four-figure invoice. Enter three dates and see both.
Discharge, gate-out, empty return. That's the whole input.
Leave a date blank if it hasn't happened yet — that clock is still running and the tool shows it accruing, plus how many free days you have left. The per-diem tiers below are editable: put your own carrier tariff in and the answer becomes yours rather than ours.
Indicative · the carrier tariff and local port rules set the real free days + per-diem · decision support, not an invoice
What decides the real number.
The carrier tariff wins
Free days and per-diem rates come from your bill of lading and the carrier's published tariff, and they differ by carrier, port, trade lane and equipment type. This tool computes your inputs correctly — it does not know your contract.
Calendar days, not working days
Most tariffs count calendar days including weekends and bank holidays, which is why a Friday discharge is worse than a Monday one. Some ports also apply their own separate storage charge on top of carrier demurrage.
The empty return is the forgotten leg
Detention keeps running after you've unloaded and moved on. If the depot is full or the haulier can't get a slot, the clock doesn't care. That's the charge that most often arrives as a surprise.
The cheapest day is the one before
The value here is pre-emptive: knowing on day three that you have two free days left is worth far more than reconciling the invoice six weeks later. That's what "accruing" and "free time left" are for.