How do you calculate shipping costs for a product? The short answer: every major carrier bills you on the greater of actual weight and dimensional (DIM) weight, and your true cost per order stacks packaging, labor, and overhead on top of the label price. The five steps below give you the exact number before you set prices or promise free shipping.
This works whether you buy labels through USPS, UPS, FedEx, Etsy, Shopify, or a discounted label platform. It also answers the question sellers actually mean: is my shipping charge covering my shipping cost?
How to calculate shipping costs in 5 steps
Step 1: Weigh the packed product. Weigh the product in its final packaging, cushioning included, because carriers bill packed weight, not item weight. A digital postal scale accurate to 0.1 lb is the cheapest way to stop surprise postage adjustments.
Step 2: Measure the box. Measure the outside length, width, and height in inches. Round each fractional inch up to the next whole inch, because USPS rounds up fractional dimensions before doing the DIM math.
Step 3: Compute the DIM weight. Multiply length x width x height, divide by the carrier's DIM divisor, and round up to the next whole pound. The divisors in 2026:
| Carrier | DIM divisor (2026) | When DIM pricing applies |
|---|---|---|
| USPS (Priority Mail Express, Priority Mail, Ground Advantage, Parcel Select) | 139 | Packages over 1 cubic foot (1,728 cu. in.), since July 12, 2026 |
| UPS (account and daily rates) | 139 | Most domestic shipments |
| UPS (retail counter, walk-in) | 166 | Walk-in domestic shipments |
| FedEx | 139 | Most domestic shipments |
Step 4: Bill at the greater weight. Compare actual packed weight to DIM weight. The higher number is your billable weight. Dense products bill on actual weight; bulky, light products bill on DIM weight, and the difference can be enormous.
Step 5: Add the true per-order cost. The label is only part of the cost. Add the box or mailer, tape and cushioning, packing labor, and your monthly label software or subscription fees divided by order volume. This total is the number your shipping charges or product prices must beat.
Worked example 1: small, dense box
A 12 x 9 x 6 inch box holding 2 lb of packed product. Cubic volume: 12 x 9 x 6 = 648 cubic inches.
On USPS, the box is under 1,728 cubic inches, so DIM pricing does not apply, and it bills at the 2 lb actual weight. On UPS or FedEx, DIM applies: 648 / 139 = 4.66, rounded up to 5 lb billable. Same box, same product: USPS charges a 2 lb rate while UPS bills 5 lb. This is why rate-shopping matters even on small packages.
Worked example 2: large, light box
A 20 x 16 x 12 inch box holding a 5 lb lampshade. Cubic volume: 20 x 16 x 12 = 3,840 cubic inches, over the USPS threshold, so DIM pricing applies on all three carriers.
DIM weight: 3,840 / 139 = 27.62, rounded up to 28 lb billable. You pay a 28 lb rate to ship 5 lb of product. Before July 2026, the old USPS divisor of 166 would have made this 24 lb, so the divisor change alone added about 19% to the billable weight of DIM-heavy boxes.
Worked example 3: the true per-order cost
Take a seller charging $9.95 flat shipping. Say her numbers from a typical month are: Ground Advantage label $9.20, box $0.85, cushioning $0.30, tape and label $0.10, 8 minutes of packing time at $15 an hour ($2.00), and $40/month label software across 400 orders ($0.10 per order).
True cost: $9.20 + $0.85 + $0.30 + $0.10 + $2.00 + $0.10 = $12.55 per order. Her $9.95 charge loses $2.60 on every order, roughly $1,040 a month at 400 orders. Step 5 is where most sellers find their leak.
Quick answers to common shipping cost questions
What is the formula for calculating shipping costs? (Length x Width x Height) / DIM divisor, rounded up, compared against actual packed weight. The greater number is the billable weight; look up that weight in the carrier's rate chart for your zone and service, then add packaging, labor, and overhead.
Is shipping cost based on weight or size? Both. Carriers charge the greater of actual weight and dimensional weight, so a big light box costs more than its scale weight suggests. Small heavy boxes are the cheapest thing to ship; big light boxes are the most expensive relative to weight.
Does DIM weight apply to every USPS package? No. USPS applies DIM pricing only to packages over 1 cubic foot (1,728 cubic inches) on Priority Mail Express, Priority Mail, Ground Advantage, and Parcel Select. Keeping a box under one cubic foot avoids USPS DIM charges entirely. UPS and FedEx have no cubic-foot floor.
How can I lower the billable weight? Use the smallest box that safely fits the product, switch to poly mailers for non-fragile items, and rate-shop each order profile. If DIM weight exceeds actual weight, you are paying for air, and a smaller box is the fix.
Calculate your DIM weight in seconds
Running the formula by hand is fine for one box, but sellers price hundreds of SKUs. Our free DIM weight calculator does the volume math, applies the current 139 divisor, and shows your billable weight instantly. Enter your box dimensions and actual weight, then compare carriers before you buy the label. It runs in your browser, no signup.
Carrier rate charts and DIM rules change, typically in January and again midyear. The divisors and rules above were verified against current 2026 carrier guidance on October 11, 2026. Confirm current rates and zone pricing on the carrier's site or your label platform before publishing shipping rates. The dollar figures in example 3 are illustrative; plug in your own label, packaging, and labor costs.

