Container Detention Calculator
Detention is charged when you keep a shipping line's container outside the terminal — at your factory or warehouse — beyond the free days. Enter the days and tiered rates to estimate the bill.
Also known as: detention charges calculator · container detention cost · shipping line detention calculator · empty return delay charges
Result
- Chargeable days
- 5
- Per container
- ₹7,500
- Average per chargeable day
- ₹1,500
| Slab | Days | Rate/day | Per container |
|---|---|---|---|
| Slab 1 | 5 | 1,500 | 7,500 |
| Slab 2 | 0 | 3,000 | 0 |
| Thereafter | 0 | 4,500 | 0 |
Results are estimates for planning. Confirm final rates, rules and charges with your carrier or authority.
How to use the Container Detention Calculator
- Enter Days container was out, Free days, Containers, Slab 1 length, Slab 1 rate per day, Slab 2 length.
- Read the result instantly – it updates as you type, with a breakdown below the main figure.
- Use “Copy link” to share the exact calculation, or “Copy results” to paste it into an email, quote or invoice.
Container Detention Calculator formula
Chargeable days = days out − free days
Charge = Σ (days in each slab × slab rate) × containers
About the Container Detention Calculator
Detention is the shipping line's charge for keeping its container outside the terminal — at your factory, warehouse or a container yard — beyond the agreed free days. On imports the clock usually runs until the empty container is returned; on exports it runs from empty pick-up until the loaded box is gated in.
Like demurrage, detention is normally charged in slabs with rising daily rates. This calculator splits the chargeable days across up to three slabs and multiplies by the number of containers.
Free days and rates differ by line, port, container type and contract, and some lines offer combined demurrage-and-detention free time. Always use the tariff or contract that applies to your bill of lading.
Worked example
Here is the calculation for the sample values pre-filled in the container detention calculator above.
| Days container was out | 12 |
|---|---|
| Free days | 7 |
| Containers | 2 |
| Slab 1 length (days) | 7 |
| Slab 1 rate per day | ₹1,500 |
| Slab 2 length (days) | 7 |
| Slab 2 rate per day | ₹3,000 |
| Rate per day thereafter | ₹4,500 |
| Total detention | ₹15,000 |
|---|---|
| Chargeable days | 5 |
| Per container | ₹7,500 |
| Average per chargeable day | ₹1,500 |
Who uses this tool
- Importers planning how fast containers must be unloaded and returned.
- Transporters and CFS operators estimating charges caused by delays.
- Exporters checking the cost of picking up empties too early.
Tips to save cost and avoid mistakes
- Unload and return empties promptly; detention keeps accruing even if the box sits empty in your yard.
- Collect empties for export as close to stuffing day as possible.
- Get an interchange receipt when returning the empty — it is your proof of the return date.
- Ask for extra detention free days when inland transit is long.
Container Detention Calculator – frequently asked questions
What is the difference between demurrage and detention?
Demurrage is for time inside the terminal; detention is for time outside it, until the empty container is returned.
When does detention start?
Usually from the day the container is gated out of the terminal (imports) or picked up empty (exports), after the free days are used.
How is detention calculated?
Days out minus free days gives the chargeable days, which are multiplied by the slab rates in the line's tariff and by the number of containers.
Can detention free days be extended?
Yes, many lines sell or negotiate extra free days at booking; it is usually cheaper than paying detention afterwards.