Skip to main content
EverydayToolsSIMPLE • FREE • FAST
HomeCategories
Search tools...
  1. Home
  2. Logistics & Shipping
  3. Demurrage Calculator
Advertisement
Loading...
Advertisement
Loading...

Calculate container demurrage & detention charges or vessel laytime demurrage and dispatch

Welcome to our free Demurrage Calculator, a comprehensive dual-mode tool for calculating container demurrage and detention (D&D) charges as well as vessel laytime demurrage and dispatch. Whether you are a freight forwarder managing container turnaround costs or a charterer calculating laytime obligations, this calculator provides accurate, detailed breakdowns of your shipping charges. Demurrage is one of the most significant hidden costs in international shipping. When containers remain at a port terminal beyond the allowed free time period, the shipping line charges a daily fee known as demurrage. Similarly, when containers are kept outside the port (at a warehouse or consignee premises) beyond the permitted free period, detention charges apply. These charges can escalate rapidly, especially during port congestion or supply chain disruptions, making accurate cost estimation essential for budgeting and negotiations. Our Container D&D mode handles the full spectrum of container-related charges. You can input discharge dates, pickup dates, and empty return dates, or manually specify the number of days past the free period. The calculator supports separate or combined demurrage and detention free time, multiple container types (20ft, 40ft, 40ft HC, 45ft, and Reefer), and up to three escalating rate tiers that mirror real-world carrier tariff structures. Day exclusion toggles let you exclude specific weekdays from the chargeable count, and the first/last day inclusion option gives you precise control over how days are counted. The Vessel Laytime mode covers the charter party side of demurrage calculations. Input your cargo quantity, loading and discharge rates to calculate allowed laytime, or specify it directly. Choose from standard laytime types including SHINC (Sundays and Holidays Included), SHEX (Sundays and Holidays Excluded), Running Days, Weather Working Days (WWD), and Working Days. The calculator handles NOR (Notice of Readiness) tendering with configurable start offsets, exception hours for weather and breakdowns, and the critical 'once on demurrage, always on demurrage' rule that eliminates exceptions once laytime expires. Vessel mode also supports reversible and non-reversible laytime. With reversible laytime, unused loading time can be credited toward discharge operations, potentially converting demurrage into dispatch savings. Non-reversible laytime calculates each port separately. The dispatch calculation shows the payment due from the shipowner to the charterer when operations finish early, typically at half the demurrage rate. Beyond basic calculations, our tool provides visual charts showing the breakdown of free days versus chargeable days, a timeline of cost accumulation, and a waterfall chart of fee components. You can export results as CSV, copy them to your clipboard, or print a clean summary. The annual cost projection feature estimates yearly expenses if similar delays occur monthly, and the break-even analysis shows how many additional free days you would need to negotiate to eliminate charges entirely. All calculations run entirely in your browser. No data is stored or transmitted to any server. Whether you are negotiating carrier contracts, auditing demurrage invoices, or planning logistics budgets, this tool gives you the detailed cost breakdown you need to make informed decisions.

Understanding Demurrage & Detention

Demurrage and detention are penalty charges in shipping that incentivize the efficient movement and return of containers and vessels. Understanding these charges is critical for controlling logistics costs.

Demurrage vs Detention Explained

Demurrage and detention are often confused but apply to different situations. Demurrage is charged when a loaded container remains at the port terminal beyond the free time allowed by the shipping line. It compensates the terminal for storage space and the shipping line for the delayed use of their equipment. Detention, by contrast, is charged when an empty container is kept outside the port — at a warehouse, factory, or depot — beyond the free period. The distinction matters because rates, free days, and billing entities may differ between the two. Some carriers offer combined (merged) free time covering both demurrage and detention under a single allowance, while others separate them with independent free periods.

How Free Time Works

Free time is the grace period granted by the shipping line during which no demurrage or detention charges apply. Standard free time ranges from 4 to 14 days depending on the carrier, port, trade lane, and container type. Free time for demurrage typically begins when the container is discharged from the vessel (for imports) or when the empty container is picked up (for exports). Detention free time starts when the full container leaves the port gate. Negotiating additional free days is one of the most effective ways to reduce D&D costs, as even a few extra days can save thousands of dollars per shipment during congestion periods.

Vessel Laytime and Charter Parties

In vessel chartering, laytime is the period allowed in the charter party contract for loading and discharging cargo. The laytime clock starts running after the vessel tenders its Notice of Readiness (NOR) and any specified waiting period expires. If operations take longer than the allowed laytime, the charterer pays demurrage to the shipowner at a daily rate specified in the charter party. Conversely, if operations finish early, the shipowner may pay dispatch (typically at half the demurrage rate) to the charterer as a reward for efficiency. The type of laytime — SHINC, SHEX, WWD, or Running Days — determines which days and hours count against the allowance.

Strategies to Reduce D&D Costs

Minimizing demurrage and detention charges requires proactive management. Key strategies include: negotiating longer free time periods with carriers, especially for high-volume accounts; pre-clearing customs documentation before vessel arrival; coordinating trucking and warehouse scheduling to pick up containers promptly; using container tracking technology to monitor free time expiration; establishing relationships with multiple container depots for faster empty returns; and auditing carrier invoices against actual dates, as billing errors are common. For vessel operations, efficient berth planning, adequate crane and labor allocation, and minimizing weather-related delays all help keep operations within laytime.

Demurrage & Detention Formulas

Container Demurrage

Demurrage = max(0, Days at Port − Free Days) × Daily Rate × Containers

Charges for keeping containers at the port terminal beyond the free period.

Container Detention

Detention = max(0, Days Off-Port − Free Days) × Daily Rate × Containers

Charges for keeping containers outside the port beyond the free period.

Tiered Demurrage

Total = Σ (Tier_i_days × Rate_i) × Containers

With escalating rates, each tier has a day range and rate. Days are allocated to tiers sequentially.

Vessel Laytime

Laytime Allowed = Cargo (MT) ÷ Loading Rate (MT/day)

Calculable laytime based on cargo quantity and permitted loading rate from the charter party.

Vessel Demurrage

Demurrage = (Time Used − Laytime Allowed) × Daily Rate

When actual time exceeds allowed laytime, the charterer pays demurrage to the shipowner.

Dispatch

Dispatch = (Laytime Allowed − Time Used) × Dispatch Rate

When operations finish early, the shipowner pays dispatch (typically 50% of demurrage rate) to the charterer.

Industry Rate Reference

Typical Container D&D Rates

Industry-standard daily rate ranges by charge type

Charge TypeRate Range (per container/day)Notes
Demurrage (port)$50 – $250Varies by port congestion and carrier
Detention (off-port)$50 – $100Generally lower than demurrage rates
Reefer premium1.5× – 2× standardHigher due to power and monitoring costs
40ft HC vs 20ft+20% – 50%Larger containers incur higher rates

Standard Free Time by Region

Typical free days offered by major carriers

RegionDemurrage Free DaysDetention Free Days
Major carriers (standard)4 – 7 days4 – 7 days
US West Coast3 – 5 days3 – 5 days
European ports5 – 14 days5 – 14 days
Congested ports2 – 4 days2 – 4 days

Vessel Demurrage Rates (Dry Bulk)

Typical daily demurrage rates by vessel size

Vessel SizeTypical Rate/Day
Handysize$5,000 – $15,000
Supramax / Ultramax$8,000 – $20,000
Panamax$10,000 – $25,000
Capesize$15,000 – $60,000

Worked Examples

Container Demurrage with Tiered Rates

3 containers (40ft) at port for 20 days, 7 free days, 3-tier rates: Days 1-7 at $50, Days 8-14 at $75, Days 15+ at $100

1

Chargeable days = 20 − 7 = 13 days

2

Tier 1: min(13, 7) = 7 days × $50 = $350

3

Tier 2: min(max(0, 13−7), 7) = 6 days × $75 = $450

4

Tier 3: max(0, 13−14) = 0 days × $100 = $0

5

Per container cost = $350 + $450 = $800

6

Total = $800 × 3 containers = $2,400

Total demurrage: $2,400 ($800 per container)

Vessel Laytime — Demurrage Scenario

25,000 MT cargo, loading rate 5,000 MT/day, 7 days actual time used, demurrage rate $15,000/day, SHINC terms

1

Laytime allowed = 25,000 ÷ 5,000 = 5 days

2

Net time used = 7 days (SHINC, no exclusions)

3

Time balance = 7 − 5 = 2 days excess

4

Demurrage = 2 × $15,000 = $30,000

Demurrage due: $30,000 (charterer pays shipowner)

Vessel Laytime — Dispatch Scenario

25,000 MT cargo, loading rate 5,000 MT/day, 4 days actual time used, dispatch rate $7,500/day (50% of demurrage)

1

Laytime allowed = 25,000 ÷ 5,000 = 5 days

2

Time used = 4 days

3

Time saved = 5 − 4 = 1 day

4

Dispatch = 1 × $7,500 = $7,500

Dispatch due: $7,500 (shipowner pays charterer)

How to Use

1

Select Calculator Mode

Choose between Container D&D mode for calculating port demurrage and detention charges on shipping containers, or Vessel Laytime mode for charter party laytime, demurrage, and dispatch calculations.

2

Enter Dates or Days

For containers, enter the discharge date, pickup date, and empty return date — or switch to manual mode and enter the number of days directly. For vessels, input cargo quantity and loading/discharge rates, or specify fixed laytime.

3

Configure Rates and Options

Set daily demurrage and detention rates, number of free days, container type and quantity. Enable tiered rates for escalating charges. For vessels, set demurrage and dispatch rates, laytime type (SHINC, SHEX, etc.), and any exception hours.

4

Review Results and Export

View the total charges, per-container costs, tiered breakdowns, and visual charts. Check the annual projection and break-even analysis. Export results as CSV, copy to clipboard, or print for your records.

Frequently Asked Questions

What is the difference between demurrage and detention?

Demurrage is charged when a container remains at the port terminal beyond the allowed free time. It compensates the shipping line and terminal for occupied storage space. Detention is charged when the container is outside the port — at a warehouse, factory, or consignee's premises — beyond the permitted free period. Think of demurrage as the 'at-port' charge and detention as the 'away-from-port' charge. Some carriers combine both under a single free time allowance (merged D&D), while others maintain separate free periods and rates for each. Demurrage rates are typically higher than detention rates because port terminal space is at a premium. Understanding this distinction is crucial for accurately estimating total container turnaround costs.

What are tiered or escalating demurrage rates?

Tiered rates are a progressive pricing structure where the daily demurrage charge increases the longer a container stays beyond its free time. For example, a carrier might charge $50/day for the first 7 chargeable days, $75/day for days 8-14, and $100/day for day 15 onward. This escalating structure creates a strong financial incentive to retrieve containers quickly. Most major shipping lines use tiered rates, and the tiers vary by carrier, port, and trade lane. When calculating costs with tiered rates, each day is charged at its applicable tier rate, so the total cost is not simply 'days times one rate' — you must calculate each tier's contribution separately and sum them.

What does 'once on demurrage, always on demurrage' mean?

This is a critical rule in vessel charter party law. Under normal laytime counting, certain periods are excluded — weekends (under SHEX terms), holidays, bad weather (under WWD terms), or other exceptions specified in the charter party. However, once the allowed laytime has been fully consumed and the vessel goes 'on demurrage,' many of these exclusions stop applying. All time then counts as demurrage without interruption, unless the charter party explicitly states otherwise. The rationale is that once demurrage begins, the shipowner is suffering financial loss, and the charterer should not benefit from exceptions that were designed to protect them during normal operations. Our calculator lets you toggle this rule on or off.

What is the difference between reversible and non-reversible laytime?

Reversible laytime allows unused time from one port operation to be credited to another. For example, if a charter party allows 5 days for loading and 5 days for discharge (10 days total), and loading takes only 3 days, the 2 unused days can be applied to the discharge port. This means the charterer effectively has 7 days for discharge before demurrage begins. Non-reversible laytime keeps each port's calculation independent — if loading takes 3 of 5 days, the 2 saved days are lost and cannot offset any excess time at the discharge port. Reversible laytime generally favors the charterer, while non-reversible laytime favors the shipowner. The choice is negotiated in the charter party.

How can I reduce demurrage and detention costs?

Several strategies can minimize D&D charges. First, negotiate longer free time periods with your carrier, especially if you have consistent volume. Even 2-3 extra free days can save thousands per shipment. Second, pre-clear customs documentation before the vessel arrives so containers can be picked up immediately after discharge. Third, coordinate with trucking companies and warehouses to ensure pickup happens within the free period. Fourth, use container tracking technology to monitor free time expiration dates and set up alerts. Fifth, establish relationships with multiple empty container depots for faster returns. Sixth, regularly audit carrier invoices — billing errors are common. Finally, consider container insurance for congestion scenarios where delays are beyond your control.

What do SHINC, SHEX, WWD, and other charter party abbreviations mean?

These abbreviations define how time is counted for laytime purposes. SHINC (Sundays and Holidays Included) means every day counts without exception — it is the simplest and most aggressive term for charterers. SHEX (Sundays and Holidays Excluded) means Sundays and recognized holidays do not count against laytime, giving the charterer more time. SHEX UU (Unless Used) is a modifier: if work actually occurs on an excluded day, that day does count. WWD (Weather Working Days) excludes periods when bad weather prevents cargo operations. Running Days means all calendar days count (similar to SHINC but applied in different contexts). Working Days typically means Monday through Friday only. WIBON (Whether In Berth Or Not) means the vessel's NOR is valid even before reaching berth.

Related Tools

CBM Calculator

Calculate cubic meter volume for shipping containers and cargo

Shipping Cost Estimator

Estimate shipping costs for domestic and international shipments

Freight Class Calculator

Determine NMFC freight class for LTL shipping

EverydayToolsSIMPLE • FREE • FAST

Free online tools for non-IT professionals. Calculators, converters, generators, and more.

Popular Categories

  • Health Calculators
  • Finance Calculators
  • Conversion Tools
  • Math Calculators

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 EverydayTools.io. All rights reserved.