---
title: "Container Planning & Shipping Cost Calculator | Narwhal API"
description: "Estimate containers by cargo weight and usable payload. Calculate shipping cost and cost per tonne using your own freight quote."
url: "https://narwhalapi.com/tools/container-shipping-calculator"
---

# Container planning

Cargo weight

Payload per container (tonnes)

Weight-based estimate. Enter the usable capacity for your container.

**— containers**

Enter weight and payload to calculate.

## Shipping cost

Your quoted prices, all in the selected currency.

Price per container

Other charges (shipment)

Currency

Estimated total**—**

Cost per tonne**—**

Total = containers × price + other charges. No live rates.

## About this planner

The planner divides your cargo weight by the usable payload you enter for one container, then rounds up.

Costs use only the prices you enter. It does not fetch live freight rates. [Convert commodity weights →](https://narwhalapi.com/tools/commodity-converter.md)

## Get this data by API

Open the Commodities API docs

```
curl -H "Authorization: Bearer $NARWHAL_API_KEY" \
  "https://api.narwhalapi.com/v1/commodities/palmoil/physical?product=ffb&country=IDN"
```

[Get a free API key](https://narwhalapi.com/signup)
[Commodities API](https://narwhalapi.com/api/commodities.md)

## Common questions

How does the planner count containers?

It divides the cargo weight by the usable payload you enter and rounds up to whole containers.

Does it include live freight rates?

No. Enter the price you were quoted per container and any other charges. The total uses only those.

Why do I enter the payload myself?

Usable payload depends on the container, the carrier and road weight limits, so use the figure from your carrier or forwarder.

## Start with a free key

Free $10 credits every month, no card.Free $10 credits a month, no card.

[Get a free API key](https://narwhalapi.com/signup)
