The Free Shipping Formula: How to Offer It Without Losing Margin
Offering free shipping across an entire store, without taking a loss on it, comes down to one calculation most stores never actually run. If paid traffic is already live and free shipping above a minimum order value hasn’t been A/B tested yet, this is worth working through with a calculator open.
The three numbers needed before touching any price
Before changing a single price on the site, three numbers need to be in hand.
- The average shipping cost currently being paid per order.
- The minimum order value to advertise for free shipping.
- How much prices need to rise across the board to cover that shipping cost without cutting into margin.
Step 1: calculate average shipping cost (Z)
This is worth breaking down by selling country, since shipping costs differ meaningfully by destination, which means the average changes depending on where most orders are actually going.
Step 2: choose the minimum order value (Y)
Rounding this to a clean number, like $30 or $40, matters more than it sounds like it should. A round number is easier for a customer to remember while they’re deciding what else to add to the cart.
Step 3: calculate the price increase (X)
This is the number that determines how much every product’s price needs to rise to avoid losing money on free shipping:
X = 100 × Z / (Y − Z)
X is the percentage applied on top of every product’s current price. The logic behind the formula is straightforward: the price increase needs to generate enough extra revenue, spread across every order (not just the ones that hit the free shipping threshold), to cover the average shipping cost of the orders that do qualify.
A worked example
To illustrate how the formula behaves (this is an illustrative example, not a Flow Border benchmark): with an average shipping cost of $4 and a chosen minimum order value of $40, the math works out to:
X = 100 × 4 / (40 − 4) = 100 × 4 / 36 ≈ 11.1%
That’s the increase applied across every product on the site, not just the ones near the free shipping threshold.
What changes after applying it
Once that increase is in place, shipping stops coming directly out of margin. It’s already priced into what the customer pays, spread thinly enough across the catalog that it rarely feels like a price hike to the buyer.
This is worth testing with an actual A/B split rather than rolling it out store-wide on assumption, since the effect depends heavily on price sensitivity within a given niche. When it does work, it tends to move two metrics at the same time: a higher average order value per buyer, since customers add items to clear the threshold, and a higher conversion rate at checkout, since free shipping removes a common point of cart abandonment.
Margin protected on paper still depends on shipping actually performing the way the formula assumes. Flow Border is the logistics layer that keeps that side of the equation predictable.