Ecommerce · 28 Oct 2026
How to calculate profit margin (gross, operating and net)
Profit margin = profit ÷ revenue × 100. Here is how to calculate gross, operating and net margin, with worked examples, Excel formulas and 2026 benchmarks.
Ecommerce guide
Key takeaways
Dimensional weight is the weight a carrier charges for the space a parcel takes up. To calculate it, multiply length × width × height and divide by the carrier's divisor. In inches the answer is in pounds; in centimetres it is in kilograms. The carrier then bills whichever is higher: the dimensional (DIM) weight or the weight on the scale. That higher number is the billable weight.
Outside the US the same idea is usually called volumetric weight. The maths is identical; only the units and divisors change. Below you will find the formula, the 2026 divisors for each major carrier, worked examples and the quickest ways to stop paying to ship air.
Every parcel carrier uses the same formula. What changes is the divisor and how each side is rounded.
Written out: DIM weight (lb) = L × W × H (in) ÷ 139 for most US parcel rates, and DIM weight (kg) = L × W × H (cm) ÷ 5,000 for most express couriers.
The divisor is the number of cubic inches a carrier counts as one pound (or cubic centimetres as one kilogram). A lower divisor means a higher dimensional weight for the same box.
| Carrier | Divisor (inches → lb) | Divisor (cm → kg) | Notes |
|---|---|---|---|
| UPS | 139 daily rates, 166 retail rates | 5,000 | Each side rounded up to the next inch |
| FedEx | 139 | 5,000 | Rounds every fraction of an inch up since 18 August 2025 |
| USPS | 139 (was 166 until 12 July 2026) | n/a | Only on parcels over 1 cubic foot (1,728 cubic inches) |
| DHL Express | n/a | 5,000 | DHL calls it volumetric weight |
| Air freight (IATA) | ≈166 | 6,000 | Standard for air cargo, not parcels |
Negotiated contracts often use a different divisor, so check your carrier agreement before you build a shipping cost model. A move from 166 to 139 raises the DIM weight of the same box by about 19%.
A store ships a 6 lb order in an 18 × 14 × 10 inch box.
Before July 2026 the same box shipped by USPS billed at 16 lb. After the change it bills at 19 lb, the same as UPS and FedEx.
A 45 × 35 × 25 cm box holds a 4 kg order sent by an express courier.
A quick rule: at a divisor of 5,000, one cubic metre counts as 200 kg. At 139, anything lighter than about 12.4 lb per cubic foot (1,728 ÷ 139) is billed on its size, not its weight. Pillows, lampshades and boxed apparel fall below that line; books and tools usually do not.
If your product is dense and your box fits it tightly, actual weight usually wins and DIM weight never shows up on your invoice. If you ship light, bulky items, DIM weight sets your price almost every time.
Freight forwarders use the same logic with different numbers. Air cargo normally uses 6,000 cm³ per kg (about 167 kg per cubic metre). Sea freight LCL is priced per "weight or measure", where one cubic metre is treated as 1,000 kg. Road freight ratios vary by country and carrier, so ask for the conversion in writing before you compare quotes.
Shipping is often the line that quietly erodes margin. Once you know your billable weight, run the order through the Profit Margin Calculator to see what is really left.
Length × width × height ÷ divisor. Use 139 for inches and pounds at UPS daily rates, FedEx and USPS, or 5,000 for centimetres and kilograms. Round each side up first, then bill the higher of DIM weight and actual weight.
139, since 12 July 2026. Before that USPS used 166. USPS only applies dimensional weight to parcels larger than one cubic foot.
Yes. Volumetric weight is the term used by DHL and most couriers outside the US; dimensional or DIM weight is the US term. Both are size ÷ divisor.
At UPS and FedEx it can apply to any parcel. At USPS it only applies above 1,728 cubic inches. In practice small, dense parcels nearly always bill on actual weight.
Ecommerce · 28 Oct 2026
Profit margin = profit ÷ revenue × 100. Here is how to calculate gross, operating and net margin, with worked examples, Excel formulas and 2026 benchmarks.
Ecommerce · 28 Oct 2026
Margin is profit as a share of the price; markup is profit as a share of cost. See the formulas, two-way conversion tables and how to price on landed cost.
Ecommerce · 23 Oct 2026
About 7 in 10 online carts never become orders. Here is what Baymard Institute's research shows about why, and the checkout fixes that matter most.