In container shipping, it is crucial to adhere to deadlines set for picking up full containers and returning empties. If a container is delayed at a terminal or not returned to the carrier on time, transportation costs increase. Extra charges may arise even before the cargo leaves the port.
Demurrage, Detention, and Storage are three essential terms to understand when calculating container shipping costs.
Here is an overview of how they differ, which date starts the count, and what to verify in the booking request. The terms are presented in their most common international container shipping definitions; final conditions are always governed by the carrier and terminal tariffs.
What are demurrage, detention, and storage
The primary difference lies in where the container is located and what the fee is charged for. For import shipments, the workflow is typically structured as follows:
| Charge | Container location | Billable period | Billed by |
|---|---|---|---|
| Demurrage | Inside the port or terminal | From discharge from the vessel until gate-out of the laden container | Usually the shipping line |
| Detention | Outside the port or terminal | From gate-out of the laden container until empty return | Usually the shipping line |
| Storage | At the terminal yard, depot, or warehouse | For the duration the container occupies yard space | Terminal, warehouse, or yard operator |
Demurrage is charged for using the carrier's container when it remains inside the terminal longer than the permitted free period after discharge. Common causes include:
- delays in customs clearance or release;
- errors in the commercial invoice, packing list, or other shipping documents;
- missing permits or certificates;
- waiting for original documentation;
- customs inspections;
- unavailability of transport;
- terminal congestion;
- uncoordinated rail dispatch.
Demurrage is typically invoiced by the ocean shipping line for the extended use of its container equipment. Concurrently, the terminal may issue an independent invoice for storage.
Detention begins once the laden container leaves the terminal (gate-out). During this window, the container is in transit or at the consignee's warehouse: the cargo is stripped, and the empty container must be returned to the facility designated by the carrier. In practice, delays occur when:
- the warehouse is not ready to receive the cargo;
- unloading schedules are postponed;
- there is a shortage of warehouse staff or machinery;
- the container is utilized as temporary storage;
- empty return instructions are provided late.
If the return is delayed, detention fees accrue for each day or fraction thereof, according to tariff terms.
Storage applies to the physical ground footprint occupied by the container within the terminal or warehouse premises, rather than the equipment usage itself. Consequently, storage can accrue independently of demurrage: the terminal operator may invoice storage fees even if the shipping line has not yet initiated demurrage charges. In some instances, these expenses are consolidated into a single invoice or categorized broadly under “storage”—this must be verified against the official tariff.
Why these charges get confused
Across different jurisdictions, ports, and carrier tariffs, identical terms can refer to varying timeframes. For example, a carrier may calculate demurrage and detention separately, or apply a single consolidated period known as merged D&D—spanning from vessel discharge of the laden container until the return of the empty unit.
Furthermore, commercial quotations may bundle storage within general terminal handling charges or itemize it on a separate line. Therefore, the service name alone does not clarify which timeframe or operations are being billed.
The critical factor is not the literal terminology, but the precise start and end triggers of the calculation. Prior to dispatch, ensure the quotation clearly specifies the trigger event, the final free day, the applicable daily rate once free time expires, and the designated empty return facility.
What expenses may be billed separately
Demurrage, detention, and storage are not the only potential ancillary costs in container freight. Additional fees depend on the route, cargo characteristics, terminal regulations, and required operations during transit.
- Inspections and associated handling. If a container is flagged for inspection by customs or other supervisory authorities, extra charges may apply for transfers to the inspection area, devanning, weighing, resealing, and related terminal handling.
- Truck detention/waiting time. Road carriers may invoice detention if the vehicle is held at loading or unloading beyond the complimentary waiting time stipulated in the haulage contract.
- Terminal and documentation surcharges. Terminal Handling Charges (THC), gate fees, and fees for bill of lading issuance or amendment can appear as distinct line items.
- Reefer container utilities. Power connection (plug-in), temperature monitoring, and PTI services are typically invoiced separately from demurrage, detention, and storage.
Do not assume these expenses are covered by standard demurrage or detention terms. Always verify in advance which services are covered by the all-inclusive rate and which are billed separately by the terminal, ocean line, or haulage contractor.
What is free time and when does it expire
Free time is the complimentary period granted by the tariff for container-related operations. Depending on the contractual framework, it can cover demurrage, detention, and storage, with distinct allowances for each. Free time allowances vary based on the shipping line, port, trade lane, equipment type, and booking conditions. There is no universal standard across all shipping routes.
As a benchmark: practical trade operations and published tariffs in Russian logistics generally offer around 3–10 free days for dry containers. For refrigerated and specialized containers, free time is established separately, typically ranging from 2 to 7 days. For detention, allowances commonly range from 3 to 14 days: 3–7 days under stricter terms, and 7–14+ days under standard agreements. These figures are illustrative guidelines; exact terms depend on the specific carrier, terminal, equipment type, and booking agreement.
Carrier tariffs also dictate the counting methodology:
- calendar days vs. working days;
- inclusion or exclusion of official public holidays and weekends;
- whether partial days count as full billing days;
- whether a single combined free time pool applies to D&D or each has an independent limit;
- which day represents the first billable day.
For instance, if the tariff states that the free period concludes on the 10th, the 11th is conventionally the first billable day. However, cutoff hours and calculation methods must be confirmed directly against carrier terms, as specific lines and terminals enforce distinct cutoff rules.
From which date days are counted
The calculation does not always begin when the consignee expects. In standard import operations, the general structure is:
- demurrage runs from vessel discharge until gate-out—the departure of the laden container from the terminal;
- detention runs from gate-out until gate-in—the return of the empty container to the approved depot or terminal;
- storage is calculated for the physical duration the container remains within the terminal storage yard, based on facility rules.
However, specific tariffs may align the start of demurrage with vessel arrival, completion of discharge, or another operational milestone. Consequently, your tracking sheet must log at least four critical events: vessel discharge, the final free day, gate-out of the full unit, and empty gate-in.
How demurrage and detention work in export
In export logistics, the sequence is inverted. Detention is typically calculated from the moment the empty container is collected at the depot until gate-in of the packed container at the designated port terminal. Demurrage may apply after free time expires if the laden container has entered the terminal but has not yet been loaded onto the vessel.
If a laden container arrives at the port too early, early gate-in storage fees may be assessed prior to the scheduled vessel cut-off. Conversely, arriving after the cut-off may result in the cargo rolling over to the next sailing. Storage and line detention rates during rollover delays must be clarified with the ocean carrier and terminal operator.
When planning export shipments, verify the following in advance:
- the permitted timeframe from empty pickup to gate-in of the laden container;
- the vessel cargo cut-off deadline;
- the agreed terminal delivery window;
- applicable storage terms and demurrage structures in case of sailing postponements.
How to calculate potential costs
For a preliminary estimation, break down the calculation into basic formula components:
Accrual = billable days × daily tariff rate × number of containers.
This sum can be augmented by storage fees, reefer electricity surcharges, and terminal documentation fees. If a tiered tariff applies, early days are billed at an initial rate, while subsequent periods incur progressively higher charges. Therefore, multiplying total delayed days by the baseline tier rate will lead to inaccurate projections.
Example: an agreement provides five free days, followed by an initial rate up to day 10, after which an escalated rate applies. If the container gates out on day six, billing begins on day six. If removed later, the total cost depends on how many days fall into each progressive tier. Actual daily rates, tiers, and rounding terms are dictated by the specific carrier contract.
To maintain cost control, track each container using a standardized log:
| Milestone | Data to record |
|---|---|
| Discharge | Date and exact timestamp of container discharge from the vessel |
| Free time | Allocated free days and the final complimentary calendar date |
| Gate-out | Date and timestamp of laden container departure from the terminal |
| Return | Date and timestamp of empty container gate-in at the depot |
| Tariff | Daily rates, tier thresholds, billing currency, and calculation rules |
How to prevent unnecessary charges
Minimizing demurrage and detention risks requires proactive preparation before cargo arrival, rather than resolving discrepancies once the container is already discharged.
1. Prepare documentation in advance. Invoices, packing lists, transport documents, technical descriptions, and mandatory certificates must be finalized prior to vessel berthing. The earlier customs clearance begins, the less dependent you are on terminal free time limits.
2. Pre-coordinate haulage. Before arrival, confirm terminal release schedules, assign the trucking contractor, and secure transport capacity. If cargo moves via rail or multimodal transport, ensure handovers between carriers are strictly aligned.
3. Confirm empty drop-off depots early. Carriers frequently designate specific return depots. Delivering an empty container to an unapproved depot without prior authorization does not stop detention accrual and leads to repositioning surcharges.
4. Monitor milestone dates continuously. After discharge, track container clearance status, customs release, gate-out permits, and transport readiness daily. Establish automated alerts well before the last free day expires.
5. Address delays immediately. If customs release, cargo pickup, or equipment return encounters delays, promptly request an updated calculation and petition the carrier for free time extensions. Waivers or reductions are never guaranteed and depend on tariff provisions, contract terms, and documented force majeure circumstances.
What to verify before container dispatch
A comprehensive logistics quote must specify not only ocean freight rates but also operational conditions governing the container upon destination arrival. Before confirming a booking, ensure you verify:
- number of free days allocated for demurrage, detention, and storage;
- the exact commencement date and terminating trigger for each period;
- whether terms are based on calendar days or working days;
- daily billing rates applicable upon expiration of free time;
- presence of tiered (escalating) pricing structures;
- whether terminal storage and handling surcharges are bundled or excluded;
- designated empty return depot and deadlines;
- provisions for vessel schedule changes, customs delays, or terminal diversions.
A simple note stating “demurrage included” on a booking confirmation is insufficient. Request explicit confirmation of the exact number of free days, the scope of coverage (combined vs. separate), and who absorbs storage costs if the container is held at the port.
Frequently asked questions
What is demurrage? It is the fee charged for utilizing the carrier's container equipment while it remains inside the terminal after the expiration of free time. In import operations, it is usually calculated from vessel discharge until laden gate-out, subject to carrier rules.
How does detention differ from demurrage? Detention is billed while the container is outside the terminal premises and has not yet been returned empty to the carrier's designated depot. Demurrage strictly covers the duration the container resides within the port or terminal boundaries.
What is storage in container logistics? Storage is the fee charged for the physical space a container occupies on terminal grounds, inland depots, or warehouse yards. Storage fees can be billed independently from demurrage and detention.
Who is liable for demurrage and detention fees? Typically, charges are invoiced to the party designated in the contract of carriage, bill of lading, or carrier tariff. Before booking, confirm contractual responsibility, billing triggers, and required documentation for disputing disputed charges.
Can demurrage and detention charges be disputed or waived? In specific cases, carriers may review invoices if delays stem from carrier fault or fall under explicit tariff exemptions. Waivers are not automatic and require formal dispute filings with corroborating evidence submitted within statutory deadlines.
TransGID provides comprehensive support for sea freight, rail deliveries, and multimodal logistics solutions. We optimize routing, manage free time limits and tariff terms, coordinate equipment release and empty return milestones, and seamlessly incorporate FEA and customs procedures into door-to-door freight planning.
To assess potential risks for your shipment, provide your planned route, port of entry, equipment type, quantity, Incoterms, and carrier quotation. Our team will verify free time boundaries and identify all cost exposures in advance.

