---
title: "Freight Class Calculator by Density"
url: "https://www.shipstation.com/fulfillment/shipping/freight-class-calculator/"
type: "page"
modified: "2026-11-18T08:51:37-06:00"
---
Freight Class Calculator by Density
===================================

Use this freight class calculator to turn your shipment’s size and weight into a density and an estimated NMFC freight class. It uses the NMFC density table with 13 tiers (NMFC Docket 2025-1, effective July 19, 2025), so you can see where your shipment lands before you request an LTL quote, and how a small change in packing could move it. Only need the density? Try our [freight density calculator](/fulfillment/shipping/freight-density-calculator/).

 [ Start a Free Trial ](/start-a-free-trial/) [ Contact Us ](/contact-us/)

*Estimate for planning only. Your carrier sets the final class and charges based on how the shipment is measured and weighed.

 Freight density and class calculator
------------------------------------

Measure each pallet or crate at its widest and tallest points, pallet included. Weight includes the pallet and packaging.

in / lbcm / kg

 + Add a handling unit Calculate Density

lb/ft³

Estimated class

Lighter for its size, costs moreDenser, costs less

 UnitCubic ftDensityClassDensity suggests a class. Your commodity’s NMFC item controls. Items with special handling, stowability, or liability traits (fragile, hazmat, high value) can carry a different class.

'}).join(''); function labels(){var d=metric?'cm':'in',w=metric?'kg':'lb';return['Length ('+d+')','Width ('+d+')','Height ('+d+')','Weight ('+w+')','Qty']} function renumber(){ var units=qa('.dc-unit'); units.forEach(function(u,i){u.querySelector('.dc-unit-head b').textContent='Unit '+(i+1);u.querySelector('.dc-remove').style.visibility=units.length&gt;1?'visible':'hidden'}); } var uid=0; function addUnit(vals){ vals=vals||['','','','','1'];uid++; var lab=labels(),u=document.createElement('div');u.className='dc-unit'; u.innerHTML='Remove

'+ lab.map(function(l,i){var id='dc-'+uid+'-'+i;return ''+l+'

'}).join('')+'

'; u.querySelector('.dc-remove').addEventListener('click',function(){u.remove();renumber();res.hidden=true}); unitsEl.appendChild(u);renumber(); } addUnit(); qa('[data-unit]').forEach(function(b){b.addEventListener('click',function(){ var m=b.getAttribute('data-unit')==='met';if(m===metric)return; qa('.dc-unit').forEach(function(u){var ins=u.querySelectorAll('input'); for(var i=0;i0)ins[i].value=String(parseFloat((m?(i=1&amp;&amp;Math.floor(x)===x):x&gt;0;ins[i].setAttribute('aria-invalid',ok?'false':'true');if(!ok)bad=true;v.push(x)} rows.push(v); }); if(bad){err.textContent='Enter a number greater than 0 in each field, and a whole-number quantity.';res.hidden=true;return} err.textContent=''; var totW=0,totC=0,foot=0,lines=[]; rows.forEach(function(r,i){ var L=r[0],W=r[1],H=r[2],w=r[3],n=r[4]; if(metric){L/=2.54;W/=2.54;H/=2.54;w/=0.453592} var cf=L*W*H/1728*n,wt=w*n,d=wt/cf;totW+=wt;totC+=cf;foot+=L*W*n; lines.push([i+1,n,cf,d,TIERS[tierOf(d)][2]]); }); var d=totW/totC,ti=tierOf(d),t=TIERS[ti]; q('.dc-dens').textContent=d.toFixed(2); q('.dc-cls').textContent=t[2]; qa('.dc-tier').forEach(function(el){el.classList.toggle('on',+el.getAttribute('data-i')===ti)}); var nudge=''; if(t[1]!==Infinity){ var next=TIERS[ti+1][2],need=t[1]*totC-totW,hCut=(totC-totW/t[1])*1728/foot; var addW=metric?Math.ceil(need*0.453592)+' kg':Math.ceil(need)+' lb',cut=metric?(hCut*2.54).toFixed(1)+' cm':hCut.toFixed(1)+' in'; nudge='**You\\'re '+(t\[1\]-d).toFixed(2)+' lb/ft³ from class '+next+'.** Getting there takes about '+cut+' less height across every unit, or '+addW+' more product in the same space.

'; }else nudge='**You\\'re at the lowest density class.** Nothing to gain from repacking for class alone.

'; var classes={};lines.forEach(function(l){classes[l[4]]=1}); if(Object.keys(classes).length&gt;1)nudge+='Your units land in different classes. Depending on the commodity and carrier, each unit may be rated at its own class rather than the shipment average.

'; q('.dc-nudge').innerHTML=nudge; var tbl=q('.dc-lines');tbl.hidden=lines.length'+l\[0\]+' (x'+l\[1\]+')'+vol+''+l\[3\].toFixed(2)+'**'+l\[4\]+'**'}).join(''); tbl.querySelector('th:nth-child(2)').textContent=metric?'Volume':'Cubic ft'; res.hidden=false; } })();
