Calculators
📦 CBM Calculator ⚖️ Chargeable Weight 📐 Cubic Meter Calculator 📏 Cubic Feet Calculator 🚢 Single Container 🗃️ Multiple Container 🏗️ Pallet Calculator 🔄 Unit Converter 📊 LCL vs FCL 🏷️ Freight Class ✈️ Air Freight Estimator 🧮 Landed Cost 🛡️ Cargo Insurance 🧊 3D Cargo Planner
Home / Garden
🏠 Cubic Meter Calculator 🌿 Cubic Feet Calculator 📦 Cubic Inch Calculator
Guides & Blog
📖 What is CBM? 📏 CBM in Centimeters 📐 CBM in Inches ✈️ CBM for Air Shipment 📋 Incoterms Guide ✍️ Blog
Directory
🏢 Browse Logistics Companies ➕ List Your Company — Free
API
🔌 API Overview 📄 API Docs 💳 API Pricing — from $99/yr
Developer API

CBM & Shipping Calculations API — One Call, Every Answer

Add accurate CBM, chargeable weight, and container fit calculations to any platform. A single POST request. Standard industry divisors. $99 per year.

Get Your API Key View Docs

Why Use the CalculateCBM API?

Building a CBM calculator from scratch takes 3–5 developer days. The API takes 30 minutes to integrate.

Sub-100ms Response Time

Every endpoint responds in under 100 milliseconds. Suitable for real-time quoting screens, checkout flows, and user-facing calculators where latency is visible.

📏

IATA-Standard Divisors

Volumetric weight calculations use the same 6,000 cm³/kg divisor that airlines and freight carriers use. Your quotes match what carriers invoice — no reconciliation surprises.

💰

$99/yr vs 3–5 Dev Days

At a $150/hr dev rate, building a CBM calculator in-house costs $2,000–$4,000 in development time alone — before ongoing maintenance. The API costs $99/yr. It pays for itself in the first hour you don't spend on it.

What the API Returns

One POST to /calculate returns everything you need for any freight quoting workflow:

POST https://api.calculatecbm.com/v1/calculate
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "items": [
    { "description": "Carton A", "length": 60, "width": 40, "height": 50, "unit": "cm", "quantity": 20, "weight_kg": 15 },
    { "description": "Carton B", "length": 80, "width": 60, "height": 60, "unit": "cm", "quantity": 10, "weight_kg": 25 }
  ]
}

// Response (sub-100ms):
{
  "success": true,
  "items": [
    {
      "description":   "Carton A",
      "cbm_unit":      0.12,
      "total_cbm":     2.4,
      "total_cft":     84.74,
      "vol_weight_sea_kg": 2400,
      "vol_weight_air_kg": 8000
    },
    {
      "description":   "Carton B",
      "cbm_unit":      0.288,
      "total_cbm":     2.88,
      "total_cft":     101.7,
      "vol_weight_sea_kg": 2880,
      "vol_weight_air_kg": 9600
    }
  ],
  "totals": {
    "cbm":               5.28,
    "cft":               186.44,
    "weight_kg":         550,
    "vol_weight_sea_kg": 5280,
    "vol_weight_air_kg": 17600,
    "chargeable_weight_sea_kg": 5280,
    "chargeable_weight_air_kg": 17600,
    "fit_20gp":          6,
    "fit_40gp":          12,
    "fit_40hc":          14
  }
}

Endpoints

MethodEndpointWhat it does
POST/v1/calculateCBM, CFT, litres, volumetric weight (air + sea), container fit for one or many items
POST/v1/volumetric-weightChargeable weight only — actual vs volumetric, returns the higher value
POST/v1/container-fitHow many cartons fit in a 20GP, 40GP, or 40HC container
POST/v1/convertUnit conversion: mm/cm/m/in/ft, kg/lb, CBM/CFT/litres
GET/v1/statusAPI health check, your current request quota, and reset time

Full endpoint documentation with request schemas and error codes →

Who Uses the CalculateCBM API?

The API is designed for engineering teams building logistics and e-commerce software who need freight calculations without owning the math.

Platform TypeHow They Use ItKey Endpoints
WMS / Warehouse SystemsAuto-calculate CBM from inbound packing lists at goods receipt/calculate
TMS / Freight PlatformsInstant quoting — CBM + chargeable weight from shipment data/calculate, /volumetric-weight
Freight Forwarder PortalsReal-time CBM and container fit on quote requests/calculate, /container-fit
E-commerce CheckoutVolumetric weight at checkout to select correct shipping tier/volumetric-weight
3PL Billing SystemsAutomated billable weight calculation for storage and fulfillment invoicing/calculate, /volumetric-weight

Pricing

Two plans. No per-call fees. No setup fees. Cancel anytime.

Standard
$99/yr
1,000 requests / day
See Plan Details
POPULAR
Enterprise
$299/yr
10,000 requests / day
See Plan Details

Full plan comparison at /api/pricing

Quick Start — 3 Steps to Your First Response

From zero to a working API call in under 30 minutes.

01
Get Your API Key

Choose a plan on the pricing page, complete checkout, and your API key is emailed instantly. No sales call, no approval process.

02
Make Your First Call

POST a JSON payload with your item dimensions. Works with any language — curl, Python, Node.js, PHP, Java, .NET, Go.

03
Parse the Response

The JSON response contains everything: CBM, CFT, litres, volumetric weight for air and sea, and container fit counts. Plug the values directly into your UI.

Example curl call:

curl -X POST https://api.calculatecbm.com/v1/calculate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [
      {
        "description": "Carton",
        "length": 60,
        "width": 40,
        "height": 50,
        "unit": "cm",
        "quantity": 10,
        "weight_kg": 12
      }
    ]
  }'
Full API Docs Integration Guide

Frequently Asked Questions

No free tier. All plans are paid yearly subscriptions — Standard $99/yr or Enterprise $299/yr. Every calculator on calculatecbm.com is freely available for manual use at no cost. If you want to evaluate the API response format before buying, the full response schema is documented at /api/docs.
Requests return a 429 Too Many Requests status once your daily limit is reached. Limits reset at midnight UTC. You'll receive an email at 80% and 100% usage. Upgrade to Enterprise if 1,000 requests/day is insufficient — or contact us for custom volume pricing.
Air freight volumetric weight uses the IATA standard divisor of 6,000 cm³/kg. Ocean freight uses the industry-standard 1 CBM = 1,000 kg equivalence. These are the same values used by airlines and shipping lines to generate their invoices — your platform's output will match carrier quotes exactly.
Yes. Full documentation at /api/docs includes all endpoint request/response schemas, authentication details, error codes, rate limit headers, and integration examples in PHP, Python, Node.js, and curl.
Both Standard and Enterprise plans include a 99.9% uptime SLA. This equals no more than ~8.7 hours of downtime per year. API status and incident history are published on our status page. Enterprise customers additionally receive a response time SLA commitment.

Ready to integrate in 30 minutes?

Read the docs, pick a plan, get your key. No sales process.

Get API Access — $99/yr Read the Docs First