b2KIT

Shipping Cost Calculator

Estimate shipping costs by package dimensions, weight, destination, and carrier with dimensional weight and rate comparison.

Tested tool guide Tested browser tools Checked August 16, 2026

What Shipping Cost Calculator does, with a checked example

Carriers do not bill on what your box weighs. They bill on the greater of actual weight and dimensional weight, a figure computed from the box's cubic volume, so a light but bulky package can be billed at several times its scale weight. Enter package dimensions, weight, origin and destination, and a carrier, and this tool computes the dimensional weight, resolves the billable weight, applies the zone-based rate, and lines up the same shipment across carriers side by side. The surprise is usually the box, not the rate: repacking into a smaller box often changes the price more than switching carriers.

Worked example

A concrete input and expected output from the current implementation.

Input

Package: 20 x 15 x 12 in, actual weight 8 lb, ground service, origin ZIP 10001, destination ZIP 90210, carrier: UPS

Expected output

Dimensional weight: 20 x 15 x 12 = 3,600 cubic in; 3,600 / 139 = 25.9 lb, rounded up to 26 lb. Billable weight: 26 lb, because 26 lb exceeds the 8 lb actual weight. The rate quote is computed on 26 lb for the shipping zone between those ZIP codes.

The box exceeds one cubic foot (1,728 cubic in), so dimensional weight applies under the FedEx and UPS divisor of 139. Carriers bill on the greater of the two weights, so the 26 lb dimensional figure, not the 8 lb scale weight, drives the price.

How the result is produced

1

Dimensional weight

Dimensional (DIM) weight is length x width x height in inches divided by a carrier-specific factor: 139 for FedEx and UPS domestic shipments, 166 for USPS. The result rounds up to the next whole pound, and it applies to packages at about one cubic foot or larger. The billable weight is whichever is greater, the scale weight or the DIM weight, and every rate is quoted against that figure.

2

Zone-based rate comparison

A rate depends on more than weight: the distance between origin and destination (the shipping zone), the service level, and the carrier all move the price. The tool applies each carrier's rate structure for the billable weight and shows the quotes together, so one physical package can be compared across carriers and services for a single route. The cheapest carrier differs by route and box size.

Good uses

  • You are shipping a large, light box, such as foam padding, and want to know whether its dimensional weight will dominate the bill and whether a smaller box would meaningfully reduce the cost.
  • You run a store and routinely ship from one ZIP code to a common customer region; you want a side-by-side USPS, UPS, and FedEx comparison for the same package to set shipping fees or pick a default carrier.
  • You are pricing a product before listing it and need a realistic shipping cost for the packaging you intend to use, including the dimensional-weight penalty of the box.

Limits and checks

  • The estimate is based on published list rates. A negotiated account discount, corporate contract, or reseller rate will make the actual invoice lower, so treat the figure as a comparison tool, not a quote.
  • Fuel surcharges, residential delivery, signature, oversized-package, and rural area fees are typically extra. For ground services these can add several percent or more to the base rate, so budget above the estimate.
  • The result is only as good as the inputs. An overestimated dimension, weight entered in kilograms instead of pounds, or a mistyped destination ZIP silently shifts the billable weight or zone and changes the answer. Measure and recheck before relying on it.

Common questions

Why does the tool quote a weight far higher than my bathroom scale?

Because carriers bill on dimensional weight, not scale weight, for boxes around one cubic foot or larger. An 8 lb package in a 20 x 15 x 12 in box has a 26 lb dimensional weight, and the carrier charges on the greater figure. If the box is bigger than the product needs, repacking into a tighter box is the fastest way to cut the price.

Is this the exact price I will pay at the counter?

No. This is an estimate from published rate tables. The final price can differ because of fuel surcharges, residential or rural delivery fees, signature requirements, negotiated discounts, and zone adjustments that carriers update regularly. Use the estimate to compare carriers and package sizes; the carrier's own quote or shipping platform is the figure to rely on.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools