Demurrage & Detention: How to Calculate Charges in 2026 (UK Guide)

If you have ever opened a carrier invoice and felt your stomach drop at a four-figure line item you did not budget for, you already know the pain of demurrage and detention charges. These fees can turn a profitable shipment into a loss-making exercise overnight. Understanding how to calculate Demurrage & Detention is the first step to controlling your logistics costs in 2026, yet too many UK importers and freight forwarders still rely on guesswork or trust carrier invoices without verification. This guide walks you through the definitions, the calculation methods, the common pitfalls, and the practical steps you can take to stop these charges from eroding your margins. By the end, you will see why a purpose-built tool like CocoonDEM is the logical next step for any business serious about supply chain cost control.

Table of Contents

What Are Demurrage and Detention? (The Core Definitions)

Demurrage is the charge applied when a full container remains inside a terminal beyond the agreed free time. The terminal could be a major UK port like Felixstowe or Southampton, or an inland rail depot. The key point is that the container is still within the terminal boundary. The charge exists to penalise slow collection and to keep cargo flowing through constrained port infrastructure.

Detention is the charge applied when a container is held outside the terminal beyond the free time. This typically happens when the container sits at your warehouse, at a third-party storage facility, or on a truck for too long before being returned empty to the designated depot. The carrier charges detention because their equipment is unavailable for the next booking.

An orange forklift in a spacious warehouse with concrete floors and minimal equipment.
Photo by set aniset on Pexels

A simple memory aid that has gained traction in the industry is this: demurrage is at the dock, detention is on the road. The trigger for one ends where the trigger for the other begins. When the container passes through the terminal gate on the way out, the demurrage clock stops and the detention clock starts. On the return leg, the detention clock stops when the empty container is checked into the depot.

Carriers impose both charges for a legitimate operational reason. Container fleets are finite and expensive assets. If importers hold onto boxes for extended periods, the carrier cannot reposition them to meet export demand, and ports become congested with uncollected cargo. The charges are designed to incentivise rapid turnaround. For UK importers, it is worth noting that while the definitions are global, the specific free-time windows and tariff structures at British ports differ from those in Rotterdam, Shanghai, or Los Angeles. A five-day free period at London Gateway might be three days at a smaller feeder port, and bank holidays count differently depending on the carrier contract.

How Are Demurrage & Detention Calculated?

The calculation starts with the free time window. This is the number of days the carrier allows before charges begin. For demurrage, free time typically runs from the day the container is discharged from the vessel. For detention, it runs from the day the container is gated out of the terminal. In most UK contracts, free time is quoted in calendar days, not working days. That means weekends and bank holidays count toward your allowance. A container discharged on a Thursday with four free days must be collected by Monday. If you wait until Tuesday, you have already entered chargeable territory.

The rates themselves are almost never flat. Carriers use tiered daily pricing to penalise extended delays more heavily. A typical structure might look like this: days one to five are free, days six and seven are charged at £60 per day, days eight to ten jump to £120 per day, and day eleven onward hits £200 per day. This staircase effect means the cost of delay accelerates sharply. A container that is three days late might cost £180, but a container that is eight days late could cost £900 or more.

Several factors influence the specific rate you pay. Container size matters: a 40-foot container typically incurs a higher daily rate than a 20-foot. Equipment type is also critical. Reefers, or refrigerated containers, carry premium rates because they are more expensive assets and are in high demand for food and pharmaceutical shipments. The carrier itself is a major variable. Maersk, MSC, CMA CGM, Hapag-Lloyd, and ONE all publish different tariff sheets, and these change periodically. The port of discharge matters too. Demurrage at Felixstowe may follow a different tariff than demurrage at an inland rail depot like East Midlands Gateway.

Incoterms determine who is legally on the hook for the bill. If you buy goods under EXW or FOB terms, you as the importer arrange and pay for the main carriage, and you bear the risk of demurrage and detention once the goods are at your disposal. If you buy under DAP or DDP terms, the seller is responsible for carriage to the named place, and they should bear the charges, though disputes still arise when delays are caused by the buyer's failure to accept delivery. For UK businesses sourcing from China or the EU, getting Incoterms right in the sales contract is not a formality: it is a direct financial safeguard.

Person's hand holding a company invoice on a clipboard with a pen.
Photo by Kindel Media on Pexels

Consider a real-world example. A 40-foot dry container is discharged at Felixstowe. The carrier contract grants five calendar days of free demurrage time. The importer collects the container on day eight. The tiered rate structure charges £75 per day for days six and seven, and £150 per day for day eight. The total demurrage bill is £300. If that same container then sits at the importer's warehouse for ten days against a seven-day free detention window, a separate detention invoice arrives with its own tiered calculation. The combined cost can easily exceed the original sea freight charge.

The £6.9 Billion Problem: Why Accurate Calculation Matters

During the pandemic years of 2020 to 2022, global carriers collected an estimated $6.9 billion in demurrage and detention fees, according to data cited from the Federal Maritime Commission. That staggering figure is not just a historical footnote. It reveals the sheer scale of the financial exposure that importers face. These charges are not marginal; they are a major cost centre that deserves the same scrutiny as freight rates and customs duties.

One of the hidden challenges is the timing of invoicing. Demurrage and detention charges are often billed weeks after the event, long after the shipment has been delivered and the urgency has faded. Finance teams in UK businesses then face the task of reconciling charges against events they did not witness firsthand, relying on carrier-provided data that may or may not be accurate.

Manual calculation introduces serious risk. Spreadsheets are only as good as the data entered, and a single mis-keyed date or an incorrect assumption about free days can lead to overpayment. If the person who managed the shipment has moved on or is unavailable, the finance team has little choice but to pay the invoice as presented. The problem has intensified in 2026 because post-pandemic, many carriers have tightened free-time windows and increased enforcement. UK customs delays related to post-Brexit border checks can also trigger demurrage unexpectedly, and carriers show little leniency for circumstances beyond the importer's control.

Common Mistakes When Calculating Demurrage & Detention

The first and most frequent mistake is confusing calendar days with working days. Almost all UK carrier contracts count weekends and public holidays. A container that arrives at the port on a Friday morning and is not collected until the following Tuesday has consumed four calendar days, even if only one working day has passed. If your free time was three days, you are already paying.

The second mistake involves the gate-out trigger for detention. The detention clock starts when the container physically leaves the terminal, not when your haulier arrives or when you complete paperwork. If there is a two-hour queue at the terminal gate, that time does not extend your free period. The clock is running.

A third error is failing to account for how free time is allocated across multiple containers on a single bill of lading. Some carriers calculate free time per shipment, meaning the clock starts for all containers simultaneously. Others calculate per container, which can create a more complex liability picture if containers are collected on different days.

A fourth mistake is paying carrier invoices without verification. Industry feedback suggests that a significant minority of demurrage and detention invoices contain errors: incorrect free-time calculations, wrong tariff applications, or charges for periods when the container was actually under carrier control. Without a systematic way to verify each line item, overpayment is almost inevitable.

The fifth mistake is forgetting that detention applies to the return leg as well. Once you have unloaded the container, you must return the empty to the carrier's nominated depot within the allowed window. If the depot is congested or your haulier deprioritises the return trip, you will receive a detention invoice for the empty return. This is often overlooked because the focus is on the import cycle, not the empty handover.

How to Avoid Demurrage & Detention Charges (Actionable Tactics)

Avoiding these charges requires planning that begins long before the vessel arrives. The first tactic is to coordinate your pick-up window with your warehouse capacity. If your warehouse is full and you know a shipment is coming, consider using a slower sea freight service. A 14-day transit from Asia gives you more time to clear space than a 7-day express service. This approach, advocated by major forwarders, aligns arrival with storage availability rather than forcing a rushed collection.

Pre-clearing customs before the vessel berths is one of the most effective defences against demurrage. Use the UK's Customs Declaration Service to submit declarations as early as the carrier's manifest data allows. A customs hold that delays release by 48 hours can burn through your entire free-time allowance before you even have the chance to collect the container. Early submission does not eliminate the risk of inspection, but it minimises the administrative delay component.

If your warehouse genuinely cannot accept the container, arrange for a drop-and-hook service or use a third-party container yard. The carrier or a logistics partner drops the container at a nearby storage facility. You pay storage fees, but these are often significantly lower than detention charges, especially once the tiered rate escalates. This tactic buys you breathing room without triggering the carrier's penalty clock.

Real-time tracking is no longer optional. A transportation management system or visibility platform that monitors container status and sends alerts when free time is about to expire gives you the chance to act before charges accrue. The difference between noticing a deadline on the day it expires and noticing it two days later can be hundreds of pounds per container.

Finally, negotiate free time in your carrier contract. Larger UK importers with consistent volume often secure seven to ten free days instead of the standard five, particularly with smaller or regional carriers who value the relationship. Even an extra two days can dramatically reduce your exposure, especially during peak season when port congestion slows collections.

Introducing CocoonDEM: Your Demurrage & Detention Calculator

Even with the best planning, the administrative burden of calculating demurrage and detention across multiple carriers, ports, and container types remains substantial. Each carrier has its own tariff sheet. Each port has its own free-time structure. Each shipment has its own Incoterms and liability assignment. Manually cross-referencing all these variables in a spreadsheet is slow, error-prone, and difficult to audit.

CocoonDEM is a dedicated demurrage and detention calculator built to solve this exact problem. It automates the calculation process by applying the correct tariff based on your carrier contract, the port of discharge, and the container specifications. Instead of hunting through PDF tariff sheets and counting days on a calendar, you input the shipment details and receive an accurate, verifiable calculation in seconds.

For UK users, CocoonDEM includes pre-loaded tariffs for major British ports: Felixstowe, Southampton, London Gateway, and Liverpool. It supports all major carriers operating in the UK market, including Maersk, MSC, CMA CGM, Hapag-Lloyd, and ONE. The platform also handles Incoterms liability assignment, automatically flagging which party should bear the cost under the agreed terms. Exportable reports make finance reconciliation straightforward, giving your accounts team a clear breakdown to compare against carrier invoices.

The return on investment is direct and measurable. If your business manages 100 containers per month and CocoonDEM helps you avoid just one day of detention per container at an average rate of £75 per day, that is £7,500 saved every month. The tool pays for itself many times over, and it transforms a reactive, stressful invoice-checking process into a proactive, controlled cost-management function. Stop guessing. Start calculating. Try CocoonDEM free for 14 days and see the difference accurate data makes to your bottom line.

Summary: Master Demurrage & Detention in 2026

Demurrage and detention are distinct charges with different triggers. Demurrage applies inside the terminal, detention applies outside it. Knowing the difference is the foundation of cost control.

Calculation is always tiered and varies by carrier, port, and container type. Never assume a flat daily rate. A container that overstays by a few days can generate a bill far larger than the simple arithmetic suggests.

Manual calculation carries real financial risk. The £6.9 billion collected during the pandemic years demonstrates the scale of the problem, and carrier invoice errors mean that even diligent businesses overpay.

Automation is the logical solution. CocoonDEM gives you the ability to calculate, verify, and reduce your demurrage and detention costs with precision, turning a persistent logistics headache into a manageable, predictable part of your supply chain operations.

Be different. Be better!

Get in contact today and speak to one of our experts

  • CocoonFMS® Ltd, c/o Breslins Accountants, Frog Lane, Lichfield, WS13 6YY.
  • +44 (0) 2038 599262
  • Find us on Google Maps...

Useful Information:

AFSS LogoDepartment of Transport Freight Innovation Grant

Ⓒ CocoonDEM - Demurrage & Detention Calculator Trading as CocoonFMS Ltd 2025. All rights reserved. Registration No. 12818706 | VAT Number: GB 356755169
 Web Design by Cocoonfx Ltd