Calculators
Unit Converter
Convert between freight-relevant units — weights, volumes, lengths, and freight-specific conversions (CBM to chargeable weight using IATA 6000 divisor, CBM to freight tonnes using W/M rule).
get/api/convert
Request
- Base URL: https://www.freightutils.com
- URL: https://www.freightutils.com/api/convert
- Auth: none declared
Query parameters
valuenumber required
The number to convert.
from'kg' | 'lbs' | 'oz' | 'tonnes' | 'short_tons' | 'long_tons' | 'cbm' | 'cuft' | 'cuin' | 'litres' | 'gal_us' | 'gal_uk' | 'cm' | 'inches' | 'm' | 'feet' | 'mm' required
Source unit code.
to'kg' | 'lbs' | 'oz' | 'tonnes' | 'short_tons' | 'long_tons' | 'cbm' | 'cuft' | 'cuin' | 'litres' | 'gal_us' | 'gal_uk' | 'cm' | 'inches' | 'm' | 'feet' | 'mm' | 'chargeable_kg' | 'freight_tonnes' required
Target unit code. Includes freight-specific targets: chargeable_kg (from cbm only) and freight_tonnes (from cbm only).
Response
Conversion result.
Example response
{
"input": {
"value": 100,
"unit": "kg",
"name": "Kilograms"
},
"result": {
"value": 220.462,
"unit": "lbs",
"name": "Pounds"
},
"formula": "Kilograms × 2.20462 = Pounds"
}Changes
No recorded changes to this operation across all 1 revision of this API.