Free container tools

    Demurrage and detention calculator

    Enter the discharge, gate-out and empty-return dates, the free days and the tariff steps. The calculator gives the demurrage, the detention and the total for one container or a batch, including boxes still out.

    Free time

    Demurrage tariff
    days
    days
    USD/day
    days
    USD/day
    USD/day
    Detention tariff
    days
    days
    USD/day
    days
    USD/day
    USD/day

    Total demurrage and detention

    575.00 USD

    Demurrage

    225.00 USD

    8 days · 5 free · 3 chargeable

    3 × 75.00 USD
    225.00 USD

    Detention

    350.00 USD

    12 days · 7 free · 5 chargeable

    3 × 50.00 USD
    150.00 USD
    2 × 100.00 USD
    200.00 USD

    In Krak Stack, the days come from the gate dates

    Each container's movements are recorded as they happen: release, pickup, gate-out and return. The days a box spends out are counted from those dates, per container, and billed from them. See Krak Stack for shipping lines and NVOCCs

    How demurrage and detention are counted

    1

    Demurrage: inside the terminal

    From the discharge day to the gate-out day, both included. The full container is still in the terminal.
    2

    Detention: outside the terminal

    From the day after gate-out to the day the empty comes back, both included. No day is charged twice.
    3

    Free days, then the steps

    The free days come first. The days after them go through the tariff steps in order; the last rate applies to every further day.

    Tariffs and counting rules differ by carrier and port. Use the figures of your own tariff.

    Guide: demurrage vs detentionPer diem and free days calculator

    Put this calculator on your site

    Free, no account and no tracking of your visitors. Paste this code where the calculator should appear; it keeps a link to Krak Stack under it.

    <iframe src="https://krak-stack.com/embed/demurrage-detention-calculator" title="Demurrage and detention calculator" width="100%" height="900" style="border:0" loading="lazy"></iframe>

    Questions

    Frequently asked questions

    Demurrage is charged while the full container stays in the terminal after discharge. Detention is charged while the container is outside the terminal, from gate-out until it comes back empty.

    Demurrage runs from the discharge day to the gate-out day, both included. Detention starts the day after gate-out and runs to the empty-return day, both included, so no day is charged twice. Carrier tariffs differ: check the counting rule of yours.

    Some carriers give one free time for the whole stay, from discharge to empty return, instead of separate free days for demurrage and detention. Choose Combined to count it that way.

    Most tariffs are stepped: a first rate for the first days after the free time, a higher one for the next days, and a top rate after that. Enter up to three steps; leave a step at 0 days to skip it.

    Yes. Leave gate-out or empty return empty and choose the count-to date. The calculator shows the charges so far, the last free day while it lasts, and the rate of the next day.

    Run this in Krak Stack

    Krak Stack follows each container from its real gate dates, so the days a box spends out are counted from what happened, not retyped from emails.

    Start free trial