LTL Freight Class & Density Calculator
Length (Inches)
Width (Inches)
Height (Inches)
Weight (Lbs per item)
Quantity (Number of Pallets/Items)
Calculate Freight Class
Calculation Results
Estimated Freight Class: –
Density (PCF): – lbs/ft³
Total Cubic Feet: – ft³
Total Weight: – lbs
How to Calculate Freight Class
Freight class is a standardized pricing classification established by the National Motor Freight Traffic Association (NMFTA). It is primarily determined by density —the amount of space an item occupies in relation to its weight.
The Density Formula
Density = Total Weight / [(Length × Width × Height) / 1728]
Freight Class Table (Based on Density)
Density (lbs per cubic ft)
Freight Class
Less than 1 500
1 to 2 400
2 to 4 250 / 300
6 to 8 125 / 150
10.5 to 12 92.5
Greater than 50 50
Realistic Example
Imagine you are shipping a pallet of machinery components:
Dimensions: 48″L x 40″W x 45″H
Weight: 800 lbs
Calculation: (48x40x45) = 86,400 cubic inches. Divide by 1,728 = 50 cubic feet.
Density: 800 lbs / 50 cu ft = 16 PCF.
Class: A density of 16 PCF typically falls into Class 70 .
function calculateFreightClass() {
var length = parseFloat(document.getElementById('f_length').value);
var width = parseFloat(document.getElementById('f_width').value);
var height = parseFloat(document.getElementById('f_height').value);
var weight = parseFloat(document.getElementById('f_weight').value);
var qty = parseFloat(document.getElementById('f_qty').value);
if (!length || !width || !height || !weight || !qty || length <= 0 || width <= 0 || height <= 0 || weight <= 0 || qty <= 0) {
alert("Please enter valid positive numbers for all fields.");
return;
}
var totalWeight = weight * qty;
var totalCubicInches = length * width * height * qty;
var totalCubicFeet = totalCubicInches / 1728;
var density = totalWeight / totalCubicFeet;
var freightClass = "";
if (density = 1 && density = 2 && density = 3 && density = 4 && density = 5 && density = 6 && density = 7 && density = 8 && density = 9 && density = 10.5 && density = 12 && density = 13.5 && density = 15 && density = 22.5 && density = 30 && density = 35 && density < 50) { freightClass = "55"; }
else { freightClass = "50"; }
document.getElementById('res_class').innerHTML = freightClass;
document.getElementById('res_pcf').innerHTML = density.toFixed(2);
document.getElementById('res_cft').innerHTML = totalCubicFeet.toFixed(2);
document.getElementById('res_total_weight').innerHTML = totalWeight.toLocaleString();
document.getElementById('freight_result_box').style.display = 'block';
}