Demurrage calculator

What did the overstay actually cost?

Container demurrage, from your free days and your per-diem tiers. We do not publish a tariff table, because free time is not a standard number and we hold no sourced row for your lane. Bring the figures off your contract; the arithmetic is here.

Your shipment

Per-diem rates, per container

Every day after that

Demurrage on this shipment

USD 1,200

7 chargeable days past free time, 1 container

Free days used
5
Chargeable days
7
Per container
USD 1,200
One day earlier would have saved
USD 300

How it breaks down

BandDaysRateAmount
3 days3100300
3 days3200600
1 day1300300

Per container, before the container count is applied.

The number that matters

Every day the document pack lands earlier takesUSD 300off this bill, from the top band down.

Packs routinely run about eight days late against free time. That is where the money is, and it is decided weeks before the vessel discharges.

Method. Chargeable days are the days held less the free days allowed, on the counting basis you pick. Each chargeable day is priced at the first band that covers it, so a tariff that steps up is charged the way the carrier charges it. Money is rounded down, never in our favour. No rate, allowance or tariff on this page comes from us — the defaults are a worked example so the page is not an empty form, and every figure should be replaced with your own. Working days count Monday to Friday; public holidays are not modelled, because we cannot know your port's calendar. Detention is a separate charge on a separate clock and is not included. The working-day basis needs a discharge date and falls back to calendar days, loudly, without one.

Straight answers

How to calculate demurrage charges

How do you calculate demurrage charges?

Four steps, and the whole calculation of demurrage is arithmetic once you have them. One: find the last free day — discharge date plus the free days your contract allows, counted on your tariff's basis, calendar or working. Two: count the chargeable days, from the day after the last free day up to and including the day the box gated out. Three: price those days against your tariff's tiers, because the rate almost always steps up — days 1 to 5 at one rate, 6 to 10 at a higher one, and so on, so you price each band separately rather than multiplying by the headline rate. Four: multiply by the number of containers. That is what the fields above do; the only figures we cannot supply are the free days and the rates, which come off your own contract.

Do I need my carrier tariff to use this?

Yes, and that is deliberate. Free time and per-diem rates vary by carrier, port, terminal, direction and equipment, and by what you negotiated. We do not publish a tariff table because we do not hold sourced rows for your lane, and a confident wrong free-time figure is worse than a blank one — you would plan against it. Take the free days and the rates off your service contract or the invoice in front of you.

Is this a demurrage and detention calculator?

It calculates one clock at a time, and most people arriving at a demurrage and detention calculator need both. This is demurrage: the charge for the box sitting inside the terminal past free time. Detention is the carrier's charge for its own equipment after the box leaves the gate, on a separate clock, with its own free days and its own rate, and one late document pack commonly triggers both. Run it twice — once with your demurrage allowance and rate, once with your detention allowance and rate — and add the two. The arithmetic is identical; only the numbers off your contract change.

Why does the counting basis matter?

Because it changes the last free day, and every figure below is derived from it. Most container tariffs count calendar days, straight through weekends and public holidays. Some service contracts count working days. Public holidays are not modelled here at all, because the calculator cannot know your port's calendar — check the allowance against your own tariff.

Is this the demurrage a ship charges?

No. Charter-party demurrage, what a voyage charterer pays a shipowner for exceeding laytime, is a different charge with different parties and a different calculation, done from the statement of facts. This calculator is container demurrage on an import. If you are working a charter, this is not your tool.

What do I do with the number?

Two things. Check it against the invoice you were sent, field by field, because the start date is the one most often wrong. And look at the per-day figure: that is what one day earlier would have saved, and it is the number that makes the case for working the document pack backwards from the last free day instead of forwards from whenever the supplier replies.

Reading the bill is one job and never getting it is another. There is a walkthrough on contesting a charge that has already landed, an entry on what each field on the invoice means, a port-by-port note on what the terminal itself allows, and the demurrage and detention software page for the half of this that is preventable. If your charge is a shipowner's, that is charter-party demurrage instead.

Want this run against a real shipment with your tariff in front of us?Send it over.

Who you will be dealing with

Give me 15 minutes and I'll show you what we've taken off a real importer's desk

Balkrishna Agarwal, founder of Docket

I'm Balkrishna, and I built this after more than twenty years working on and managing an export–import trade desk — I have chased the packing lists, checked the packs and paid the demurrage this site describes. Docket runs a real import SOP end to end today — the six jobs on this page are working software, not a roadmap. We are taking on two or three import desks to build the next part around.

Write in and you get me, not a sales team. That is deliberate rather than an apology for our size: the fastest way to make Docket good at your desk is to talk to the person building it.

Balkrishna Agarwal

Bring us your real numbers

Tell us your volumes and we will run the arithmetic on a call — with demurrage and fraud added back in, which the published figures leave out.

WhatsApp, email or phone — you get the founder, not a sales team.