Free to use, no sign-up needed

Demurrage & Detention Calculator

Work out demurrage, detention and storage charges by carrier and port.

Cargo Journey

Container discharged from vessel

-- Days

Storage & Demurrage Window

Full container picked up from port

-- Days

Detention Window

Empty container returned to carrier depot

Storage Tiers

1
USD
2
USD

Demurrage Tiers

1
USD
2
USD

Detention Tiers

1
USD
2
USD

Estimated Charges Summary

Calculated in real-time based on your input

Storage
0 Days
$0.00
Demurrage
0 Days
$0.00
Detention
0 Days
$0.00

Total Accrued Cost

All enabled charges included

$0.00

Track D&D automatically

Create a free Panvaya account to pull milestone dates straight from your live shipments and calculate D&D for you. Free to start.

What it means for your business

Demurrage and detention are the most avoidable charges in container shipping.

Know the bill before it landsPrice free time and per-diem rates up front, so a delayed pickup is a known cost, not a surprise invoice.
Plan pickup and return datesSee the exact day charges start and how fast they escalate, then schedule trucking around the free window.
Challenge incorrect invoicesAn independent estimate by carrier and port gives you the numbers to query a D&D bill line by line.

Demurrage & detention FAQ

What is Demurrage & Detention?

Demurrage and Detention (D&D) are charges applied to shipping containers that have exceeded the free time allocated by the carrier. Understanding these fees is crucial for keeping logistics costs down and avoiding supply chain bottlenecks.

What are Demurrage Fees?

Demurrage charges are levied when a full container sits at the port or terminal facility beyond the allowed free days. It is charged per day and often operates on an escalating tier system, meaning the price increases the longer the container stays at the port.

What are Detention Fees?

Detention refers to the charge applied when a consignee holds onto the carrier's empty container outside the port (e.g., at the warehouse), failing to return it to the designated carrier depot within the permitted free time.

What are Storage Fees?

Storage charges are collected by the port, terminal, or rail facility for the physical space a container occupies. While distinct from Demurrage (which is charged by the carrier for using the container equipment), storage fees often accumulate over the exact same period.

What is the difference between demurrage and detention?

Demurrage applies to a full container that stays inside the port or terminal beyond the free time, while detention applies to a container the merchant has taken out of the terminal and held too long before returning the empty equipment. In short, demurrage is the in-terminal clock and detention is the out-of-terminal clock, and both are billed by the carrier per container per day.

What is free time in shipping?

Free time is the number of days a carrier or terminal allows you to use a container or occupy terminal space at no extra cost before demurrage, detention, or storage charges begin. It typically ranges from 3 to 7 days depending on the carrier, the port, and your contract, and it is often the single biggest factor in whether you incur D&D charges.

How is the per-diem demurrage rate calculated?

The per-diem rate is the daily charge for each chargeable day past the free time, multiplied by the number of containers and the number of days held. Most carriers use an escalating tier structure, so the first few chargeable days carry a lower rate and the rate rises steeply the longer the container remains, which is why the calculator above lets you model each tier separately.

How can I avoid demurrage and detention charges?

The most effective steps are arranging customs clearance and trucking before the vessel arrives, pre-paying duties, and booking equipment return slots early so containers move within the free time. Tracking milestone dates in real time, requesting extended free time during contract negotiation, and monitoring port congestion all help you act before the per-diem clock starts running.

Who pays demurrage, the shipper or the consignee?

Demurrage is billed by the carrier to whoever is named as responsible on the bill of lading, which is usually the consignee or importer receiving the cargo. Under certain Incoterms or forwarder agreements the cost can fall to the shipper instead, so it is worth confirming who carries the demurrage risk before the container arrives.