An unlocked Excel calculator for container demurrage and detention: enter your tiers, dates and free days, and read the charge by tier, the FMC billing rule tests and the amount payable as invoiced, container by container.
A demurrage or detention invoice raises two questions: is the charge computed correctly, and is it payable at all? This calculator answers both. It counts dwell and street days, prices each chargeable day at the rate of its tier, then applies the two mechanical tests of the FMC billing rule: the 30-day issuance clock for each charge and the required invoice elements.
One unlocked Excel workbook, zero macros. Free: enter your email address and the download opens at once, along with the other free models.
Demurrage_Detention_Calculator.xlsx (13 KB)
You join the reader list: one email when a new free model or book comes out. Unsubscribe in one click. Already subscribed? Enter the same address. How your address is used.
This calculator is the short version of the 19-tab workbook in The Demurrage and Detention Handbook, which follows one importer from its container flows and tariff tiers through the annual bill, an invoice audit against the FMC billing rule, disputes and charge complaints, to a free time negotiation and a 2027 budget.
The file opens with Example Co., an illustrative importer that carries 6 West Coast containers of the book's case; every figure is invented. With 4 free days on each clock and tiers of $225, $375 and $550 a day for demurrage and $200, $250 and $300 for detention, the 6 containers are billed $12,600, and only $6,650 is payable as invoiced: one invoice came more than 30 days after both charges were last incurred, and another is missing a required element, so $5,950 is not owed as billed. Overwrite the blue cells with your own data, keep the formulas, and read the check cell before any result.
For the definitions and the tier arithmetic, read demurrage vs detention; for the dispute steps and deadlines, how to dispute demurrage and detention charges; before a contract negotiation, what extra free time is worth.
The calculator applies separate demurrage and detention clocks in calendar days and the mechanical tests of 46 CFR part 541 as read in November 2026; it cannot judge reasonableness, who may be billed, merged clocks or export earliest return dates, and its result is a check, not the billing party's invoice. Education only, not legal, customs, tax or accounting advice.
For up to eight containers, from your rate tiers, dates and free days, it returns dwell and street days, the last free day of each clock, chargeable days, the demurrage and detention charge by tier, the days from each last-incurred date to the invoice, whether each charge was invoiced within 30 days, the date until which you can still request mitigation, refund or waiver, whether all required invoice elements are present and the amount payable as invoiced.
No. It checks the arithmetic and the two mechanical tests of the FMC billing rule: required elements and the 30-day issuance clock. Whether a charge is just and reasonable under the incentive principle, for example detention charged while empties could not be returned, is decided case by case.
The availability day counts as day 1 of dwell and the out-gate day as day 1 of street time, as in the book's case tariff, in calendar days. If your tariff counts working days or excludes holidays, closures or customs holds, enter the free days your tariff actually gives.
Daily rates rise by tiers and nothing is charged inside free time, so a few long-dwelling containers cost far more than average days suggest. For the book's West Coast case, the full distributions give $982.00 per container; averages give less. Use your own distribution when you have it.