Per diem is the meter that runs on a container once it leaves the terminal. Inside the free days it costs nothing. After that, every day is billed at the ocean line's rate, often with a higher tier later, and the chassis under it may be billing by the day too. This container per diem calculator, also a container detention calculator, adds it up so you can see what a slow empty return, a closed warehouse or a missed appointment really costs.
How it is calculated
- Days out = days from the out-gate at the terminal or ramp to the day the empty (or the export) goes back in
- Charged days = days out − free days (never below zero)
- Per diem = charged days at the first rate, and any days on or after the second-rate day at the second rate
- Chassis = (days out − chassis free days) × chassis daily rate
- Total = per diem + chassis
How a line counts days (calendar days or working days, and whether the out-gate day counts) is set in its tariff. Enter days the way your tariff counts them. All rates in the tool start as EXAMPLE values; replace them with the rates from the line's tariff and the chassis provider's rate sheet.
A worked example
- Free days
- 4
- Days 5 to 8 at $150
- $600
- Days 9 to 10 at $200
- $400
- Chassis, 10 days × $40
- $400
A receiver that cannot unload for six days turns a four-day free window into $1,000 of per diem, plus $400 of chassis. The full line-by-line view of a container move is in drayage rates.
Who pays, and how to protect yourself
Per diem is billed by the container's owner, usually the ocean line, to the party in its contract. That party then looks for whoever held the box. For a trucker, the protection is paperwork:
| Before the move | After the move |
|---|---|
| Get the free days and return location in writing on the rate con | Keep the out-gate and in-gate receipts (equipment interchange records) |
| Ask who pays per diem if the receiver holds the box | Note the time the receiver was told the box was empty |
| Ask whether the chassis is supplied or rented by you | Bill any agreed per diem pass-through promptly |
Under the FMC's billing rule (46 CFR 541.7), an ocean carrier or terminal must issue a demurrage or detention invoice within 30 calendar days of the date the charge was last incurred, or the billed party does not have to pay it. Keep the dates; they matter if a bill shows up late.
Chassis per diem and the UIIA
Containers and chassis are interchanged to motor carriers under the UIIA, the industry agreement run by IANA. Each equipment provider adds its own terms, including free time and per diem. How interchange works for pool trailers and containers is in trailer interchange, and the chassis itself sits with the other equipment in types of truck trailers.
Ways to keep per diem down
- Plan the empty return before you deliver. Know the return location and its gate hours.
- Street turn when allowed. Reuse the import empty for a nearby export instead of returning it.
- Watch the receiver. If unloading is slow, tell the broker in writing the day free time will run out.
- Check chassis days separately. A chassis split or a chassis held at a warehouse bills on its own clock.
Our desk tracks free time on every container load and plans the next move around the empty return; see how dispatch works.
Results are estimates from the numbers you enter. Your tariff and contract decide what is owed.
SOURCES
- 46 CFR 541.7, FMC demurrage and detention billing rule (via Cornell LII): A billing party must issue a demurrage or detention invoice within 30 calendar days of the date the charge was last incurred; if it does not, the billed party is not required to pay (checked 2026-10)
- Intermodal Association of North America (IANA): UIIA: the Uniform Intermodal Interchange and Facilities Access Agreement, with participation and insurance requirements for motor carriers (checked 2026-10)