Shipping Cost: How to Estimate Freight From Weight, Distance, and Rate
A parcel's shipping cost scales with its billable weight (the greater of actual and dimensional weight), the distance it travels and the service level, on top of a base fee. An 8 lb box going 300 miles by ground comes to about $27 in the model below. The estimate is a sanity check for pricing and free-shipping decisions, not a carrier quote, and this guide shows how to build it and what real invoices add.
Why Estimate Before You Quote
Shipping is the cost that quietly eats e-commerce margins: a product can be profitable on the shelf and lose money the moment it leaves the warehouse. A fast estimate tells you roughly what an order should cost to ship, how the cost changes as packages get heavier, bulkier or travel farther, and whether a flat fee or a free-shipping threshold is affordable. Running the same package through different scenarios also shows what a closer warehouse or a cheaper service level would save across thousands of orders.
How to Estimate a Shipping Cost
A simple estimating model looks like this:
Cost = Billable weight (lb) × $2.50 × (1 + Distance (mi) ÷ 1,000 × 0.15) × Service multiplier + $5.99
- Billable weight is the greater of the actual weight and the dimensional weight, length × width × height (inches) ÷ 166. Carriers bill bulky-but-light parcels on the space they occupy rather than their mass.
- $2.50 per pound is the model's base rate.
- Distance factor adds 15% per 1,000 miles.
- Service multiplier is 1.0 for ground, 1.5 for express and 2.2 for overnight.
- $5.99 is a fixed base fee per parcel.
- Actual weight: 8 lb
- Box: 12 × 10 × 8 inches
- Distance: 300 miles
- Service: ground
2. Billable weight: the greater of 8 and 5.78 = 8 lb
3. Distance factor: 1 + 300 ÷ 1,000 × 0.15 = 1.045
4. Variable cost: 8 × $2.50 × 1.045 × 1.0 = $20.90
5. Add the base fee: $20.90 + $5.99 = $26.89
Enter the same inputs to reproduce it. Two comparisons show what drives the number. Send the same box overnight 1,500 miles and the variable part becomes 8 × $2.50 × 1.225 × 2.2 = $53.90, so $59.89 in total. Ship a 5 lb pillow in an 18 × 16 × 14 inch box instead: 4,032 ÷ 166 = 24.3 lb of dimensional weight, so you are billed for 24.3 lb and the ground cost over 300 miles is about $69.45. Volume, not mass, is what makes the pillow expensive.
The dimensional divisor varies by carrier. The model uses 166 (the USPS retail divisor); UPS and FedEx use 139 for domestic shipments, which makes the dimensional weight about 19% higher for the same box. The Dimensional Weight Calculator returns the billable weight for a 139, 166 or 200 divisor, which is the number to feed into any carrier's rate table.
Using the Estimate
Setting a flat customer fee. If typical orders cost $9–11 to ship, a flat $9.99 roughly covers them. Estimate across your common package sizes before choosing the fee.
Deciding on free shipping. Free shipping is a cost you absorb. The per-order estimate tells you how much to build into product prices, or what order minimum makes "free shipping over $X" profitable.
Comparing fulfillment locations. Distance is a direct multiplier. Re-running the estimate with shorter distances quantifies the saving from a second warehouse closer to your customers.
Right-sizing boxes. The pillow example is the argument for smaller boxes: every inch of empty space is billed once dimensional weight exceeds actual weight.
What the Model Leaves Out
Surcharges. Real invoices add a fuel surcharge (a percentage of the base rate that moves with fuel prices), residential delivery fees (in the $5–6 per package range for FedEx and UPS ground in 2024), signature, remote-area and peak-season charges. The model's base fee is a stand-in for some of this, so treat its output as a floor.
Zones rather than miles. Carriers price by zone bands, not continuous distance, so two destinations a few miles apart can land in different zones.
Rate changes. Carrier tariffs rise annually and surcharges change more often. Refresh any rate assumptions against recent invoices.
It is not a quote. Before promising a customer a price, confirm against the carrier's rate for the specific service, zone and package.