Demurrage and detention: when free time runs out
Charges start after free time: charge = max(total days − free days, 0)·daily rate.
MetaCAD Live Notebook
demurrage-detention-v1Change duration, free time and rate. The plot exposes the threshold after which every day costs money.
Charge: 840 USD
Model range: 0 — 60 d. Arrow-key step: 1 d
Model range: 0 — 30 d. Arrow-key step: 1 d
Model range: 10 — 1,000 USD/day. Arrow-key step: 10 USD/day
From the initial example: 0 USD
Single flat rate. Real tariffs can be tiered, use different calendars and exceptions, and separate demurrage from detention.
Other inputs held fixed. Diamond = current example.
Current: 14 d → 840 USD
Chart data
| Total days (d) | Charge (USD) |
|---|---|
| 0 | 0 |
| 7.5 | 60 |
| 14 ◆ | 840 |
| 15 | 960 |
| 22.5 | 1,860 |
| 30 | 2,760 |
| 37.5 | 3,660 |
| 45 | 4,560 |
| 52.5 | 5,460 |
| 60 | 6,360 |
The charge is zero before the threshold and linear after it. The counting rules and dates usually matter more than the arithmetic.
charge = max(days − free days, 0) · rateCheck the contract definition of the first and last chargeable day.
Primary result substitution
max(14 − 7, 0) × 120 ≈ 840 USD- Total days
- 14 d
- Free time
- 7 d
- Daily rate
- 120 USD/day
Keep or share this example
One saved example per lesson, no account. The share link includes your inputs only when you choose “Copy link”.
What happens before free time ends?
Model limits
Single flat rate. Real tariffs can be tiered, use different calendars and exceptions, and separate demurrage from detention.
Change duration, free time and rate. The plot exposes the threshold after which every day costs money.
What to notice
The charge is zero before the threshold and linear after it. The counting rules and dates usually matter more than the arithmetic.
Where the teaching model ends
Single flat rate. Real tariffs can be tiered, use different calendars and exceptions, and separate demurrage from detention.
Formulas
charge = max(days − free days, 0) · rateHow to use the notebook
Start with the worked scenario, change one slider, and follow the metrics and plot. Then answer the checkpoint. A number without its stated model boundary is not treated as a conclusion.
Try it in a calculator
Questions
FAQ
Can this result be used for a shipboard operation?
What stays fixed when a slider moves?
Related lessons
Want the whole system, not single topics?
MetaCAD Academy — training with live calculators and worked examples on real ships.
Browse coursesSources & method
- — FMC, Demurrage and Detention Billing Requirements — terminology and billing context.
- — MetaCAD deterministic educational model; equation and assumptions are displayed with the result.
- — The vessel’s approved data and operating procedures remain the controlling source for operational decisions.
MetaCAD educational material. An independent professional review of this lesson has not yet been claimed.

