Shipping costs start with carrier rates. Weight and package dimensions determine the base rate; destination and delivery speed push it higher.
With rates climbing—in 2026, USPS announced hikes of 5.1% to 7.8% for various delivery services—getting rates right helps protect your order margins.
Here, compare pricing methods and learn how to calculate shipping costs, create a shipping policy, and test your shipping strategy.
How to calculate shipping costs
The most basic formula for calculating shipping costs is:
Total shipping cost = Base carrier rate + Dimensional weight adjustment
Depending on the carrier and the services you select, these elements may also factor into your equation:
Package weight vs. DIM weight
Start by weighing the packaged product. Carriers may compare the actual weight with the dimensional weight (DIM weight). DIM weight calculates how much space the package takes up.
Use this formula:
DIM weight = (length x width x height) / DIM divisor
Round each measurement to the nearest whole inch. The carrier sets the divisor. FedEx uses a divisor of 139 for US, Puerto Rico, and international shipments.
A 4 pound box measuring 12 inches by 10 inches by 8 inches has a DIM weight of 6.9 pounds:
(12 x 10 x 8) / 139 = 6.9 pounds
Even though the box only weighs four pounds, FedEx bases their rates on whichever is higher—the weight or the DIM weight. In this case, the store would be billed at the 6.9-pound rate. Check each carrier’s divisor and rounding rules before calculating the billable weight.
Package size
Package size feeds into the DIM weight calculation. Large packages may also trigger an oversize fee.
Measure the longest points after sealing the package. Empty space can raise the DIM weight even when the product is light. A smaller box or mailer can reduce the billable weight while keeping the product protected.
Shipping distance
Carriers price most parcel services by shipping zone rather than by the mile. A shipping zone is a distance band between the origin and destination ZIP codes. USPS zones run from Zone 1 for nearby shipments to Zone 9 for the farthest destinations.
For example, a package sent to Zone 2 uses the Zone 2 rate for its weight and delivery service.
Sending the same package to Zone 8 uses the Zone 8 rate. Enter both ZIP codes into the carrier’s calculator to find the zone.
A nearby fulfillment center can place more orders in lower zones. Local delivery removes the carrier zone calculation for orders delivered through the store’s own service.
Delivery speed
Carriers calculate a separate rate for each delivery service. Calculate each service using the same billable weight and shipping zone. A store that covers standard shipping can charge customers for an upgrade to faster delivery.
Package value
Order value usually does not change the base carrier rate, but it can increase how much you spend on shipping insurance or signature confirmation.
Check the protection already included with the carrier or shipping service. Add the cost of extra coverage to the calculation when the order value exceeds that amount. Include signature confirmation as a separate fee when required.
Product category
Average shipping fees may vary across product categories according to a 2025 parcelLab study, which reported on the amounts charged to customers, not retailers:
| Product category | Average shipping fee |
|---|---|
| Electronics | $5.49 |
| Homeware | $5.82 |
| Health and beauty | $6.97 |
| Multi-category | $7.60 |
| Fashion and apparel | $8.07 |
Additional fees
Deliveries to residential or remote-area delivery may cost more, and fuel charges can change throughout the year. Signature confirmation raises the total when the service is selected.
International orders can incur duties and import taxes at the border, as well as customs brokerage fees during clearance. Before displaying checkout rates, determine whether the business or the customer will pay these charges, and review the destination country’s rules on tariffs and customs charges.
Calculate shipping rates with Shopify
Shopify’s standard US plans include a built-in discount, which Shopify’s shipping rate calculator shows when you calculate costs for a specific shipment. It uses the origin and destination addresses to determine the route; package size and total weight determine which rates apply.
To calculate a shipping rate in Shopify admin:
- Go to Settings > Shipping and delivery.
- In the Shipping section, select Shipping labels.
- Select Calculate rates.
- Choose an existing shipping location or enter a custom origin address.
- Enter the destination address.
- Select a saved package or enter custom dimensions.
- Confirm the total shipment weight.
- Select Calculate discounted rates.
The calculator displays the discounted label rates available for that shipment. Compare the carrier services before purchasing a label.
These are Shopify’s maximum shipping discounts on standard US plans:
| Shopify plan | Maximum shipping discount |
|---|---|
| Basic | Up to 77% |
| Grow | Up to 88% |
| Advanced | Up to 88% |
“Up to” refers to the highest available discount, not the reduction applied to every label. The exact amount depends on the carrier and route. Package type and weight also change the rate. Some carrier discounts are the same across Shopify plans.
The calculator previews the fee for a Shopify Shipping label. Customer-facing shipping rates are managed separately. Stores can charge a flat rate, offer free shipping, or display a carrier-calculated rate at checkout.
Snarky Tea reported an average discount of 30% after moving its postage purchases to Shopify. The company estimated that shipping with Shopify saves them $305,000 a year.
Calculating shipping costs with carrier calculators
Carrier calculators estimate shipment costs before you purchase a label. Use the same package details across tools to compare rates.
The examples below compare a five-pound package measuring 12 by 10 by 8 inches, traveling from Los Angeles (90001) to New York (10001). Rates were checked on August 20, 2026, and may change.
1. UPS
The UPS Calculate Time and Cost tool estimates costs and delivery times based on the route, shipping date, packed weight, and package dimensions. It can compare available UPS services by price or delivery time. Account holders can log in to see negotiated rates rather than public prices.
2. USPS
The USPS Retail Postage Price Calculator requires you to enter the origin and destination ZIP codes along with the mailing date and packed weight. Stores can select USPS flat-rate packaging or enter details for their own package. The results compare post office prices with lower Click-N-Ship rates when available.
For the sample shipment, USPS Ground Advantage returned a retail price of $26.05 and a Click-N-Ship price of $19.19. Expected delivery was August 25.
3. FedEx
The FedEx rate calculator compares retail prices and arrival dates across available services. It accepts merchant-supplied boxes and FedEx packaging. You can also add pickup and signature services to the quote.
For the sample shipment, FedEx Ground quoted $45.21 with delivery by the end of August 26. FedEx 2Day supplied a quote of $128.24 for delivery by 5 p.m. on August 24.
4. DHL
DHL Express provides time-sensitive international shipments. The MyDHL+ Quick Quote tool provides an instant rate and estimated transit time based on the shipment’s route and package details.
DHL estimated a discounted rate of $105.28 for a shipment on August 21, 2026, with end-of-day delivery on August 24. The estimate used the available DHL shipping box closest to the dimensions mentioned above.
Choose your shipping options
Stores can offer one shipping method or combine several. Compare checkout charges with the full cost of each shipment.
Free shipping
Baymard Institute’s 2026 benchmark puts the average cart abandonment rate at 70.22%. Among shoppers who left for a reason other than browsing, 40% cited high extra costs such as shipping, taxes, and fees.
Free shipping removes one of those charges. A minimum order value can help cover the carrier cost while encouraging larger purchases.
Real-time carrier rates
Real-time rates calculate shipping from the package and destination. Customers see available shipping speeds at checkout and can pay more for expedited shipping.
Flat rate shipping
Flat rate shipping charges a set amount based on the package, service, or shipping zone. These are the current flat-rate services for North American carriers.
| Carrier | Flat-rate service | Main conditions |
|---|---|---|
| USPS | Priority Mail Flat Rate | USPS packaging, up to 70 lb |
| UPS | Simple Rate | Own packaging, up to 50 lb and 1,728 cubic inches |
| FedEx | One Rate | FedEx packaging; envelopes up to 10 lb and other packages up to 50 lb |
| Canada Post | Flat Rate Box | Canada Post packaging, up to 5 kg |
Review several recent shipments before choosing a rate. Separate rates may be needed for heavier packages or distant destinations.
Local delivery
Local delivery can be offered within a set radius or selected postal codes. The fee should cover mileage, labor, and any courier charges. A minimum purchase can also qualify customers for free local delivery.
Bulk and business shipping rates
Bulk shipping doesn’t change the basic shipping formula, but it does change the rates. Shopify plans come with automatic shipping discounts; FedEx, UPS, and DHL all offer business accounts with automatic discounted rates.
As your shipping needs scale, carriers may be willing to negotiate further discounts. Contact your account manager once you have shipping history to draw on. When comparing offers, remember that a discount usually applies to the base rate only; surcharges (fuel, residential, delivery-area) are often billed separately. Compare the fully loaded cost per shipment, not just the headline discount percentage.
Create a shipping policy page
Your shipping policy or FAQ page helps customers find answers quickly and make confident purchase decisions. Create a new page on your store and add it to your footer menu. Include clear information about:
- Order tracking
- Shipping options and delivery times
- Returns and refunds process
- International shipping availability and customs
- Lost or damaged package procedures
While specific policies depend on your business and products, having this information readily available helps prevent common customer questions.
Additional shipping-related charges to consider
Carrier rates are only part of your shipping costs. Budget for:
- Product packaging. Use suitable mailers, cushioning, tape, labels, and shipping boxes. Buying in bulk can reduce costs.
- Packaging inserts. Cards, samples, and freebies add cost and weight. Test different options to balance the unboxing experience with lower shipping costs.
- Fuel and carrier surcharges. Carriers may add fuel or peak-season fees. Check current rates when setting shipping prices.
- Shipping insurance. Some carrier services include limited coverage. Consider extra insurance for high-value orders. Keep proof of value and tracking records for shipping issues, include packing slips, and set a refund or replacement policy.
- Duties, taxes, and customs fees. For international orders, state whether fees are prepaid or collected on delivery—and who pays them. According to DHL’s 2026 E-Commerce Trends Report, unexpected customs or tax charges have caused 63% of surveyed shoppers to abandon an online purchase.
UPS publishes current fuel surcharge rates to help estimate added carrier costs.
Legal disclaimer: Customs rules, duties, taxes, insurance coverage, and carrier fees vary by shipment and destination and can change. This information is general and is not legal or tax advice. Confirm current requirements with the carrier and relevant customs or tax authority.
Integrate shipping costs into your pricing
Free shipping strategies
According to eMarketer, 45% of US adults expect free shipping on any order. If you provide it, consider how you’ll cover the cost through product prices, an order minimum, or the store’s margin.
Minimum order threshold
Among shoppers who expect free shipping, 16% won’t buy if shipping costs extra. Most shoppers expect the minimum order threshold to fall between $25 and $50.
Base the threshold on your average order value and shipping cost. Shopify lets you create a free shipping discount based on a minimum purchase amount or item quantity.
Built-in shipping costs
Add a portion of the average shipping cost to each product’s price. If a $15.99 item costs $3 to ship, a $16.99 price covers $1 of that cost. Shipping five units in one $3 box would collect $5 toward shipping.
Recheck the calculation when offering discounts. A 20%-off promotion also reduces the amount reserved for shipping. Calculate your margins before including shipping costs in product prices.
Test and adjust your shipping strategy
Break down your shipping costs
Review where your shipping budget goes:
- Shipping distances. If you often ship overseas, a local fulfillment service may reduce costs and delivery distances.
- Package size and weight. Test smaller boxes and lighter materials that still protect the product.
- Volume discounts. Ask carriers about lower rates as your order volume grows.
Learn from customer feedback
Ask customers about shipping prices and delivery times. Track repeated complaints and offer a refund, store credit, or free shipping when appropriate.
Refine your strategy with data
Compare customer feedback with shipping cost data. If customers mention slow delivery, review your carrier options and delivery estimates. Save frequently used box measurements in Shopify admin to make packing more consistent.
Read more
- 20 About Us Page Examples With Templates
- What is Profit Margin? Definition and Guide
- Make Better Fulfillment Decisions With Order Analytics
- What Are Fixed Assets? Definition and Examples of Fixed Assets
- Guide to ACH Deposits- How ACH Deposits Work
- Overview of Online Payments for Small Business Owners
- Understanding Generally Accepted Accounting Principles (GAAP)
- When to Pursue Capital- Key Financial Moments for Entrepreneurs and Growing Businesses
- Product Packaging Design- Get Your Brand Ahead At First Impression
- What Does Small Business Insurance Cost?
How to calculate shipping costs for online store FAQ
What is the formula for calculating shipping costs?
The most basic formula is: Total shipping cost = Base carrier rate + Dimensional weight adjustment.
Carrier quotes reflect delivery speed, distance, package weight, package size, and surcharges. Packaging, insurance, and seller-paid duties and taxes are separate costs layered on top. Calculate the full per-order cost before deciding what the business covers.
How to figure out what to charge for shipping?
Add one month’s shipping expenses and divide the total by the number of packages shipped. Use that average as a baseline. Adjust the charge for package weight, destination, or order value. Check the final rate against product margins.
How much should a small business charge for shipping?
Charge enough to cover the average carrier rate and related expenses while keeping checkout costs reasonable. Small businesses can pass on the exact cost, set a flat rate, include part of the cost in product prices, or offer free shipping above a minimum order.
Does Shopify automatically calculate shipping costs?
Shopify displays carrier-calculated shipping rates at checkout. Shopify sends the order’s weight, package dimensions, and destination to the connected carrier. Availability depends on the Shopify plan, carrier, and store setup.
How do you calculate dimensional weight?
Use this formula: (package length x width x height) / carrier DIM factor = dimensional weight. Use the carrier’s specified divisor and measurement units. Carriers generally compare dimensional weight with actual weight and charge based on the greater of the two.












