Sea Freight & Containers

Demurrage and Detention Explained (and How to Avoid the Charges)

Demurrage and Detention Explained (and How to Avoid the Charges)

Demurrage is charged when a container stays inside the port terminal longer than its free time. Detention is charged when you keep the carrier’s container outside the terminal longer than allowed, usually because the empty is returned late. Both are calculated as chargeable days × a daily rate, often in rising tiers. In the first example below, a container that leaves the terminal 5 days late and comes back empty 3 days late costs 740 per container at example rates. Use the calculator below with the free time and rates from your own carrier’s tariff.

Demurrage and detention cost calculator

Runs in your browser; nothing you enter is sent anywhere. Carrier figures differ, so confirm the final numbers with your forwarder. Whole shipment: all-in-one freight calculator →

Demurrage vs detention

The difference is where the container is while the clock runs.

Demurrage and Detention Explained: A large container ship docked at a port with cranes.
ItemDemurrageDetention
Where the container isInside the terminalOutside the terminal, at your premises or a depot
Import clock usually startsWhen the container is discharged and availableWhen the full container leaves the terminal
Import clock usually stopsWhen the full container leaves the terminalWhen the empty is returned
Typical causeCustoms holds, late paperwork, no truck bookedSlow unloading, late empty return

On exports the logic runs the other way. You can incur detention while you hold an empty for loading, and demurrage while the full container waits in the terminal before the vessel. In the US, people often call detention per diem. Separately, the terminal itself may charge storage. Your quote or contract should say which charges apply and who bills them.

Free time is the number of days allowed before charges start. It differs by carrier, port, container type and contract, and some agreements count demurrage and detention days separately while others combine them. The counting rules matter as much as the number: whether calendar or working days count, and whether the day of discharge is day one. Read the carrier’s tariff or your service contract, not a general figure.

How the charge is calculated

  1. Chargeable days = days used − free days (zero if negative)
  2. Split the chargeable days into the tariff’s tiers (for example, first few days at one rate, later days at a higher rate)
  3. Charge = Σ (days in each tier × that tier’s daily rate), per container
  4. Multiply by the number of containers

All rates below are example rates only. Replace them with the figures in your carrier’s tariff.

A scientific calculator displaying numbers on its screen.

Example 1: an import shipment of three 40ft containers

Example terms: demurrage free time 4 days, then an example rate of 80 per day for days 1–3 and 160 per day from day 4. Detention free time 5 days, then an example rate of 60 per day.

Demurrage. The containers leave the terminal on day 9 after discharge.

  • Chargeable days: 9 − 4 = 5
  • Tier 1: 3 days × 80 = 240
  • Tier 2: 2 days × 160 = 320
  • Demurrage per container: 240 + 320 = 560

Detention. The empties are returned 8 days after leaving the terminal.

  • Chargeable days: 8 − 5 = 3
  • 3 days × 60 = 180

Total: 560 + 180 = 740 per container; × 3 containers = 2,220.

Day after free timeExample demurrage rateRunning total per container
18080
280160
380240
4160400
5160560
6160720

The table shows why tiers matter: one more day in the terminal (day 6) would add 160, twice the cost of each early day.

Example 2: is extra free time worth buying?

Your forwarder offers 7 extra free days of demurrage at an example price of 150 per container. You expect customs to take about 5 days longer than the standard free time allows.

  • Without the extension: 3 × 80 + 2 × 160 = 240 + 320 = 560 per container
  • With the extension: 150 per container, and the 5 days fall inside the extended free time
  • Saving: 560 − 150 = 410 per container

If the delay is only 1 day, the comparison flips: 1 × 80 = 80 is less than 150. Base the decision on how long clearance and delivery really take on your lane.

Why the charges happen

  • Documents not ready on arrival, so the container cannot clear customs.
  • Customs holds or examinations, often triggered by a wrong tariff code or an unclear description.
  • No truck booked, or a delivery appointment the warehouse cannot meet.
  • Slow unloading at your warehouse, holding the container outside the terminal.
  • Empty returned to the wrong depot, or late because nobody arranged the return.

How to avoid demurrage and detention

  • Know your free time before the ship sails. Write the last free day for demurrage and for detention on the shipment file.
  • Send documents early. A correct commercial invoice and packing list and the right HS code reduce the risk of holds.
  • Book the trucker before arrival and confirm the unloading slot at your warehouse.
  • Negotiate free time up front. It is often easier to agree extra days in the contract than to ask for a waiver later. Ask about it when you choose a freight forwarder.
  • Unload quickly and return the empty to the depot named by the carrier, and keep the return receipt.
  • Compare free time when comparing quotes. A cheaper rate with less free time can cost more; see how to read a freight quote.
  • Consider LCL for small volumes. With LCL you do not hold a container yourself, although warehouse storage charges can still apply; see LCL vs FCL.

If you receive an invoice

  • Check the dates against the discharge notice, gate-out and gate-in records.
  • Check the day count against the free time and counting rules in the tariff or contract.
  • Ask for a waiver in writing if the carrier or terminal caused the delay, with evidence.
  • Budget for the risk. Add a line for possible demurrage and detention in your landed cost calculation when clearance times are uncertain.

Common mistakes

  • Mixing up the two charges and only tracking terminal time.
  • Assuming free time is the same on every lane or with every carrier.
  • Forgetting the empty return. Detention keeps running until the container is back.
  • Ignoring tiers. Daily rates often rise the longer you hold the box.

FAQ

What is the difference between demurrage and detention?

Demurrage covers time a container spends in the terminal beyond its free time. Detention covers time the carrier’s container spends outside the terminal beyond its free time.

What is per diem in shipping?

Per diem is a term used, especially in the US, for detention: a daily charge for keeping the carrier’s container beyond the allowed free time.

How many free days do you get for demurrage and detention?

It depends on the carrier, port, equipment and your contract. Check the carrier’s tariff or your service contract, including how you count days.

Who pays demurrage and detention?

Usually the party responsible for collecting and returning the container under the shipping terms, often the importer for import shipments. Your Incoterm and contract decide who bears the cost in the end.

Can demurrage charges be waived?

Carriers may agree to waive or reduce charges, for example when they or the terminal caused the delay. Request it in writing with the supporting dates.

Sources and further reading

Calculate your whole shipment

Enter every carton size once: get CBM, cubic feet, air and sea chargeable weight, freight class and the container that fits.

Open Calculator

Latest in Sea Freight & Containers

Sea Freight & Containers →

Leave a Reply

Your email address will not be published. Required fields are marked *