Demurrage & detention calculator

Make container charges easier to plan.

Enter your milestone dates and rate tiers to estimate demurrage, detention and terminal storage. See each charge separately, then review the combined cost.

Use the calculator without signing in. Rates and dates are entered by you.

  • Import and export scenarios with editable USD rate tiers
Separate charge categories and one combined estimateIllustrative data

Separate charge categories and one combined estimate · Illustrative data

Start with the shipment dates

Enter discharge, full-container pickup and empty-return dates for an import scenario.

Use the rate tiers that apply

Set free days and daily rates for each charge, including stepped increases.

See the effect of a plan

Change the dates or rates to review how the estimated total changes.

Calculate your scenario

Need tariff information? →

Cargo journey

Container discharged from vessel

Full container picked up from port

Empty container returned to carrier depot

Storage & demurrageAdd dates

DetentionAdd dates

Storage Tiers

USD
USD

Demurrage Tiers

USD
USD

Detention Tiers

USD
USD

Estimated charges

Updated from your dates and enabled rate tiers.

Total estimate · USD

$0.00

Storage
$0.000 days
Demurrage
$0.000 days
Detention
$0.000 days

Your dates, your rates

Define the free window before the daily rate.

Each charge has its own editable ladder. Set the day range and rate, add another tier when prices step up, and enable only the charge categories relevant to your scenario.

Editable rate ladders for demurrage and detentionIllustrative data

Editable rate ladders for demurrage and detention · Illustrative data

  • An explicit free period

    Use a zero daily rate for the day range covered by free time.

  • Rates that step up

    Add day bands and per-day amounts to reflect your applicable terms.

  • Independent charge controls

    Switch storage, demurrage and detention on or off for the calculation.

Illustrative rates are not carrier tariffs. This is an estimate from your inputs; confirm billing dates, applicable terms and final charges with the carrier or terminal.

Bring it into your daily workflow.

Explore Panvaya with your team and your shipments.

Create an account

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.