Detention Calculator
Find out when the free time on a carrier’s container ends and what each extra day outside the terminal costs. Enter the pick-up and return dates, free days and your tariff’s daily rates; the result is split by band and container size.
From your carrier’s tariff, booking or contract. Enter 0 if there is no free time.
Rates are per container per day after the free days, copied from your tariff. Different container sizes usually have different rates, so each group has its own column.
Every day after the bands above
One band only? Remove the others: the last band always covers every remaining day.
Shown next to amounts. No exchange rates are used.
Detention in plain words
Detention is the rent a carrier charges when its equipment stays at your premises too long. After an import you collect a full unit, unload it and bring the empty back; after an export you take an empty, stuff it and return it full to the terminal. Free days cover a normal turnaround. Beyond them, a daily charge applies per box, and it usually climbs in steps.
Why it is worth checking early
Unloading is often delayed by a missing permit, a busy warehouse or a holiday. Because the rate rises band by band, two or three extra days late in the period can cost more than a week at the start. Enter the planned return date before it happens and the page shows the last free day, the total due and what one further day would add, which makes it easier to decide whether paying for extra labour or an earlier haulage slot is worth it.
Example
One 40-foot box is picked up on Friday 4 December with five free days counted in working days. Saturday and Sunday are excluded, and 7 December is listed as a holiday, so free time ends on Friday 11 December. Returned on Monday 14 December, it has three chargeable days: 12, 13 and 14 December. Once free time has ended, weekends are charged like any other day. At 75 per day in the first band, detention comes to 225.
Combined free time
Some lines give one shared allowance for demurrage and detention together, sometimes called D&D. In that case use the full period from discharge to empty return with the combined free days and rates. If the two are billed separately, work out the time inside the port with the demurrage calculator and the time outside here.
What is not included
Haulage, chassis hire and any terminal storage are separate costs. Nothing is looked up: the tool cannot see when a box actually left or came back, so use the dates on your gate-in and gate-out records.
How to use Detention Calculator
- Enter the pick-up date and the return date (or the number of days) and your free days.
- Add your containers by size and copy each band’s daily rate from the carrier’s tariff.
- See the last free day and the detention due, and save the day-by-day schedule as CSV.
Privacy: how it works
Calculations and the CSV file are made in your browser. Nothing you enter is sent anywhere.
Frequently asked questions
When does detention start and stop?
Usually it starts when the container leaves the terminal or depot and stops when it is returned: empty after an import, or full at the terminal for an export. Check the events in your carrier’s tariff.
Can I see the cost before returning the container?
Yes. Put the planned return date as the end date. The result also shows what one more day would add, which helps decide whether to hurry the unloading.
Are weekends excluded?
Only if your tariff says so. Tick “Free days are working days” to skip weekends and your holiday dates inside free time; once free time ends, every day is charged.