Demurrage and detention charges escalate fast and carrier invoices often contain errors. This calculator counts only the chargeable days beyond your granted free time, applies tiered per-diem rates, and totals both charges so you can check an invoice line by line before paying it.
How it works
Held days are measured from the dates, free time is removed, and the remainder is split across two rate tiers:
held days = return/pickup date − available date
chargeable days = max(0, held days − free days)
tier-1 days = min(chargeable days, tier-1 window)
tier-2 days = chargeable days − tier-1 days
charge = tier-1 days × rate-1 + tier-2 days × rate-2
Demurrage and detention are computed independently with their own free time and rates, then summed for the total exposure.
Example and tips
A container available on day 0 and returned on day 10 with 5 free days has 5 chargeable days. With a 3-day tier-one window at 75 per day and 110 per day after, that is 3 × 75 + 2 × 110 = 445 of demurrage. Always confirm whether your tariff counts calendar or working days, because a weekend can swing the bill by hundreds and is the single most common source of an over-billed invoice.