Free tool

Demurrage or Detention?

Compare the demurrage saved by collecting the container early with the detention cost it creates. No sign-up needed; results update as you type.

See the system that does this automaticallyOpen the live demo

Calculator

This calculator runs in your browser; the data you enter is not stored.

Results

Demurrage
480 USD
Detention
160 USD
Total
640 USD
Gate-out day for lowest total
5 days
Total in that case
480 USD

Demurrage or Detention?: worked example

Example values: Total days from discharge to empty return 18 days, Gate-out day (after discharge) 9 days, Demurrage free days 5 days, Detention free days 7 days, Daily demurrage 120 USD, Daily detention 80 USD. With these values the results are:

Demurrage480 USD
Detention160 USD
Total640 USD
Gate-out day for lowest total5 days
Total in that case480 USD

How to use: Demurrage or Detention

  1. Enter your own values: Total days from discharge to empty return, Gate-out day (after discharge), Demurrage free days, Detention free days, Daily demurrage, Daily detention.
  2. Choose the currency; money inputs are converted at an approximate rate.
  3. Results are calculated as you type: Demurrage, Detention, Total, Gate-out day for lowest total.
  4. Check every step of the calculation in the formulas below.

How is it calculated?

  • Demurrage = max(0; [Gate-out day (after discharge)] − [Demurrage free days]) × [Daily demurrage]
  • Detention = max(0; [Total days from discharge to empty return] − [Gate-out day (after discharge)] − [Detention free days]) × [Daily detention]
  • Total = [Demurrage] + [Detention]
  • Gate-out day for lowest total = clamp([Total days from discharge to empty return] − [Detention free days]; 0; [Demurrage free days])
  • Total in that case = max(0; [Gate-out day for lowest total] − [Demurrage free days]) × [Daily demurrage] + max(0; [Total days from discharge to empty return] − [Gate-out day for lowest total] − [Detention free days]) × [Daily detention]

Other tools running on Container Time Engine

Calculates free time, demurrage, detention and storage tiers by number of days.

FCRSOFT

FCRSOFT does this for you automatically

You don’t need to do the calculations and checks on this page by hand every day. FCRSOFT derives them all automatically from the records entered in the field.

  • Each container’s free time is counted from discharge.
  • You are warned before the last free day.
  • Any demurrage and detention incurred is posted to the file cost.

Frequently asked questions

How is Demurrage or Detention calculated?

Compare the demurrage saved by collecting the container early with the detention cost it creates. The calculation uses Container Time Engine: Calculates free time, demurrage, detention and storage tiers by number of days.

How is Total found?

Total = [Demurrage] + [Detention]. With the example values (Total days from discharge to empty return 18 days, Gate-out day (after discharge) 9 days, Demurrage free days 5 days, Detention free days 7 days, Daily demurrage 120 USD, Daily detention 80 USD) the result is 640 USD.

How is Gate-out day for lowest total found?

Gate-out day for lowest total = clamp([Total days from discharge to empty return] − [Detention free days]; 0; [Demurrage free days]). With the example values (Total days from discharge to empty return 18 days, Gate-out day (after discharge) 9 days, Demurrage free days 5 days, Detention free days 7 days, Daily demurrage 120 USD, Daily detention 80 USD) the result is 5 days.

Worked example: Demurrage or Detention?

Example values: Total days from discharge to empty return 18 days, Gate-out day (after discharge) 9 days, Demurrage free days 5 days, Detention free days 7 days, Daily demurrage 120 USD, Daily detention 80 USD. Demurrage: 480 USD; Detention: 160 USD; Total: 640 USD; Gate-out day for lowest total: 5 days; Total in that case: 480 USD.

Is Demurrage or Detention free?

Yes. The tool is free, needs no sign-up and runs in your browser; the data you enter is not stored.

Can FCRSOFT do this calculation automatically?

FCRSOFT counts each container’s free time and warns you before charges start. You can try the Freight & Container package in the live demo without installing anything.

Which currency can I calculate in?

Choose one of 28 currencies in the currency selector; monetary inputs are converted at an approximate rate. To use your own rate, enter the amounts directly.

FCRSOFT

Act Before Demurrage and Detention Invoices Arrive

FCRSOFT counts each container’s free time, warns you before the last free day and posts any demurrage and detention to the file.

FCRSOFT solutions

All inclusive

Enterprise Site — all products

Farm · Hatchery · Feed ERP · Processing · WMS & Supply · Sales & CRM · Finance · Maintenance · Trace & Cold Chain · B2B Commerce · Fleet & Vessel · Voyage & Chartering · Trade & Customs · Freight & Container

  • 30 full users
  • 1 sites
  • 69 modules

Which role would you like to use for this demo?

One-tap sign-in — no password needed.

or sign in with email