CBM Calculator
CBM Calculator is a powerful shipping calculator plugin that helps you calculate cubic meters (CBM), cubic feet (CFT), volumetric weight, and container fitting — directly on your WordPress site.
Powered by the CBM Calculator API, the plugin delivers accurate real-time calculations as you type.
Three Calculator Templates
Single Product Calculate CBM, CFT, volumetric weight (sea & air), and container fitting for one product at a time. Perfect for simple shipping queries.
Multiple Products Add multiple products in a table layout, each with its own dimension unit and weight unit. Get per-row results and grand totals for CBM, CFT, and quantity.
Container Fitting Visual card layout showing exactly how many units fit in a 20 FT, 40 FT, and 40 FT HC container.
Key Features
- Real-time calculations as you type — debounced for accuracy
- 3 calculator templates to suit different use cases
- Per-row unit of measurement in Multiple Products template
- Full color customization — Primary, Header, Button, Background, Text, Border
- Border radius control for sharp or rounded styling
- Show/hide optional fields — Volumetric Weight Sea, Volumetric Weight Air, Container Fit
- Reset to Defaults button in settings — preserves your API key
- Fully responsive — works on mobile, tablet, and desktop
- Simple shortcode: [cbmcal_calculator_plugin]
Supported Units of Measurement
Dimensions: cm, mm, meter, inch, feet, yard Weight: kg, lb
API Key
This plugin requires a free API key from cbmcalculator.com. You receive 100 free API calls for development. Paid plans are available for production use.
Usage
Add the shortcode to any page or post:
[cbmcal_calculator_plugin]
Then go to Settings → CBM Calculator to configure your API key, choose a template, customize colors, and toggle fields.