Shipping Cost Calculator
Estimate billable shipping weight from package size using the dimensional-weight rule carriers publish, then apply your own rate — not live carrier pricing.
Shipping Cost Calculator
Background.
A shipping cost calculator answers a question that catches most first-time sellers and shippers off guard: the box that gets billed the most is not always the heaviest one. Carriers do not price parcels on scale weight alone. UPS, FedEx, USPS, and DHL all bill on whichever is greater — the actual weight your package reads on a scale, or its dimensional (also called volumetric) weight, a number derived purely from the box's outer dimensions. A 24×18×12 inch box that weighs 22 pounds on a bathroom scale is not billed as a 22-pound package by a carrier using the common 139 divisor — its dimensional weight works out to roughly 37.3 pounds, which rounds up to a 38-pound bill. That gap, not the scale reading, is what determines the actual charge, and it is exactly what this calculator makes visible before you print a label.
Dimensional weight exists because carriers sell cargo space, not just payload capacity. A cargo plane or delivery truck runs out of cubic volume long before it runs out of weight capacity when it is loaded with pillows, lampshades, sneaker boxes, stuffed animals, or packaging-heavy electronics — light, bulky items that occupy a disproportionate share of the vehicle relative to their weight. Billing only on actual weight would let large, light shipments crowd out paying cargo, so every major carrier publishes a formula that converts a package's outer volume into an equivalent weight and bills on whichever number is higher. The formula itself is simple and stable: multiply length by width by height, then divide by a divisor. What varies is the divisor, and it comes in a small number of publicly documented flavors. A divisor of 139 (cubic inches per pound) is the common US domestic figure used by UPS and FedEx for Express and Ground service. A divisor of 166 is the older, still-referenced USPS retail/Ground convention. A divisor of 5,000 (cubic centimeters per kilogram) is the international and metric convention used for cross-border air freight by DHL and by UPS/FedEx export services. Picking the right divisor is really picking the right unit system: 139 and 166 both assume inches and pounds, while 5,000 assumes centimeters and kilograms — this calculator's divisor selector sets both at once.
What this calculator deliberately does not do is quote a live carrier rate. Per-zone, per-service, per-account pricing changes constantly — general rate increases land every year, negotiated discounts vary by shipping volume, fuel surcharges float weekly, and a number that was accurate in January can be stale by March. A static tool that claimed to reproduce "the UPS rate" or "the FedEx rate" would be confidently wrong on a rolling basis. What is stable, and what carriers publish openly, is the billable-weight rule itself: the greater of actual and dimensional weight, rounded up to the next whole unit. That rule is what this calculator models precisely, using full-precision decimal arithmetic so the comparison between actual and dimensional weight is never distorted by floating-point rounding. You then supply your own rate per pound or kilogram — pulled from your own account, a published rate card, or a marketplace's shipping-label tool — and any flat add-on fees, and the calculator does the honest arithmetic from there.
The practical uses are everyday ones. An online seller pricing a bulky-but-light product (a lampshade, a stack of pillows, an inflatable pool float) can check whether the advertised "free shipping" line item is actually going to eat the margin once dimensional weight kicks in. Someone shipping a gift in an oversized box they had lying around can see, before a trip to the post office, that downsizing the box could meaningfully lower the bill even though the item's actual weight does not change. A small business comparing two carriers' published divisors for the same box can see which one produces a lower billable weight for their typical package mix. In every case, the value of the tool is not a promised price — it is clarity about which number, actual or dimensional, is going to be the one that counts.
What is shipping cost calculator?
Billable weight is the number a carrier actually charges for, and it is defined as the greater of two quantities: actual weight (what a package weighs on a scale) and dimensional weight (also called volumetric weight), which is calculated purely from a package's outer length, width, and height divided by a published divisor. When a package is dense — books, tools, tile samples — actual weight is usually the larger number and the bill is straightforward. When a package is large relative to its weight — pillows, lampshades, stuffed toys, packaging-heavy electronics — dimensional weight is usually larger, and that is the number the carrier bills on, even though nothing about the item's mass has changed.
The divisor is the constant that converts cubic volume into an equivalent weight, and different carriers and services use different documented divisors: 139 cubic inches per pound (common US domestic Express/Ground), 166 cubic inches per pound (a legacy USPS retail/Ground convention still referenced in some contexts), and 5,000 cubic centimeters per kilogram (international air and metric shipping). This calculator treats the billable-weight rule — not a specific carrier's current rate table — as its subject matter, because the rule is stable and publicly documented while rates change constantly.
How to use this calculator.
- Measure your package's outer length, width, and height.
- Weigh the package on a scale, or enter 0 if you only want the dimensional-weight estimate before packing.
- Choose the divisor that matches your carrier, service, and account — 139 or 166 for inches/pounds, 5000 for centimeters/kilograms.
- Enter your own rate per pound or kilogram from your carrier account, a published rate card, or a shipping-label platform.
- Add any flat fees you know apply — fuel surcharge, residential delivery, signature confirmation.
- Read the billing basis to see whether actual or dimensional weight determined the bill, and the estimated cost for a sanity check.
- Re-run the calculator with a smaller box to see how much a tighter fit could lower a dimensional-weight-driven bill.
The formula.
The calculation starts with cubic volume: length times width times height, in cubic inches for the 139 and 166 divisors or cubic centimeters for the 5000 divisor. Dividing that volume by the chosen divisor produces dimensional weight — a number with the units of weight (pounds or kilograms) even though nothing was placed on a scale to get it. This is the core trick of dimensional pricing: volume is converted into an equivalent weight using a constant that carriers calibrate so that a truck or plane's cubic capacity and its weight capacity run out at roughly the same time for a typical cargo mix.
Billable weight is then the greater of actual weight and dimensional weight, rounded up to the next whole unit. Mathematically, rounding the maximum of two numbers up produces the same result as rounding each number up first and then taking the maximum — ceiling is a monotonic, non-decreasing function, so `ceil(max(a,b))` and `max(ceil(a), ceil(b))` are identical. This calculator uses the simpler form. The rounding itself mirrors the standard carrier convention of billing in whole-unit increments; some specific services use a finer increment such as half a kilogram, which this calculator does not attempt to special-case, since the brief's own directive is to model the stable, general rule rather than an unverifiable patchwork of service-specific rounding rules.
The billing basis label exists purely for transparency: it tells you which of the two weights won the comparison, so you can see at a glance whether your package is being billed as a "dense" or "dimensional" shipment. A tie between actual and dimensional weight is reported as "Actual weight," an arbitrary but consistent convention, since the two numbers being equal means the rounding-up step produces the same billable figure either way.
Finally, estimated cost is simply billable weight multiplied by your own supplied rate per unit weight, plus any flat fees you enter. This calculator will never look up or embed a specific carrier's current rate table — rates are negotiated, zone-dependent, and revised on a rolling basis, so the only honest way to estimate a real dollar figure is to let the user supply the number that actually applies to their account or service.
A worked example.
A small-appliance-sized box measures 24 by 18 by 12 inches and weighs 22 pounds on the scale. Shipping via a US domestic service that uses the common 139 divisor, cubic volume is 24 × 18 × 12 = 5,184 cubic inches. Dividing by 139 gives a dimensional weight of about 37.29 pounds — noticeably higher than the 22-pound scale reading. Because dimensional weight is greater, it becomes the basis for billing, and rounding up to the next whole pound gives a billable weight of 38 pounds. At a rate of $0.95 per pound plus a $4.25 flat fee (a stand-in for a fuel surcharge or handling charge), the estimated cost is 38 × 0.95 + 4.25 = $40.35. Had the carrier billed on actual weight alone, the cost would have been only 22 × 0.95 + 4.25 = $25.15 — a difference of over $15 driven entirely by the box being large for how little it weighs. Downsizing the box, or padding it more tightly, is the practical lever this comparison points to.
Frequently asked questions.
What is dimensional weight and why do carriers use it?
Which divisor should I use — 139, 166, or 5000?
Does this calculator show me the actual price my carrier will charge?
Why does billable weight round up instead of using the exact decimal?
My package is heavy and dense — does dimensional weight matter to me?
How much could I save by using a smaller box?
Why does the calculator ask for centimeters and kilograms with one divisor but inches and pounds with the others?
Can I use this for international or freight shipments?
Is 'billing basis' the same as saying the carrier ignores my actual weight?
References& sources.
- [1]UPS. "Shipping Dimensions and Weight." UPS.com — US domestic dimensional-weight divisor of 139 (in³/lb).
- [2]FedEx. "What Is Dimensional Weight?" FedEx.com — dimensional weight formula and divisors of 139 (in³/lb, US) and 5,000 (cm³/kg, international).
- [3]United States Postal Service. "Weight." USPS Postal Explorer, Business Mail 101 — dimensional weight pricing applies to pieces exceeding one cubic foot (1,728 in³).
- [4]DHL. "How to Calculate DHL Volumetric Weight." DHL Discover — international/metric volumetric-weight divisor of 5,000 (cm³/kg).
- [5]National Institute of Standards and Technology. NIST Special Publication 811, Guide for the Use of the International System of Units (SI), Appendix B: Conversion Factors.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled