A/B test shipping rates: find the shipping price that earns the most
How to use A/B testing of shipping rates in Shoporama: show two shipping prices to each half of your visitors, and see which one adds the most to your bottom line.
Most online stores set their shipping price once, when the store was built, and then leave it alone. DKK 39. Or free shipping over DKK 499. The amount is usually an educated guess, perhaps informed by a look at what competitors charge, and afterwards nobody ever measures whether it was actually the right choice.
That is a shame, because the shipping price is one of the few numbers in an online store that affects everything at once. It affects how many people complete their purchase, how large an order they place, and how much you pay to send the parcel. A poorly chosen amount costs money every single day, without ever showing up as a line in your accounts.
With A/B testing of shipping rates, you can replace the guess with an experiment. You show two different shipping prices to each half of your visitors and let the numbers decide which one earns the most money. This guide shows you how to set up a shipping price split test, how to read the result, and what you should test first.
What an A/B test of shipping rates does
A split test, also called an A/B test, divides your visitors into two equal groups. One half sees the store's current shipping rates. The other half sees the new price you want to try. Everything else in the store is exactly the same for both groups, so any difference in the result can only be caused by the shipping price.
Once the test has run for a while, Shoporama compares the two groups and tells you which one earned the most per visitor. Not which one sold the most, and not which one had the best conversion rate, but which one brought in the most money in contribution margin, meaning what is left once the cost price of the products and your shipping cost have been deducted. That is an important difference, and we explain why further down.
You find the feature under Delivery → A/B Testing of Shipping Rates. There is also a shortcut on the Delivery → Shipping methods page, where the button is called A/B Test Shipping Rates. Shoporama also has a design split test under the Design menu. That is a different feature. The shipping test is under Delivery because you think in terms of the shipping method when you set it up.
How to set up a test
Go to Delivery → A/B Testing of Shipping Rates, and click New Shipping Test (Set up your first shipping test, if you don't have any yet). You need at least one shipping method in the store before you can get started. If you have none, the page refers you to create a shipping method first. The screen has four steps:
- Which shipping method do you want to test? The new shipping price only applies to the selected method. All your other shipping methods keep their prices while the test runs.
- Variant B, the new price. You have three options: raise or lower the price by an amount (for example minus DKK 20), set a fixed price regardless of country and weight (for example DKK 0), or change the price by a percentage (for example minus 15%). This is also where you decide whether the free shipping threshold should be included: you can keep the threshold as it is today, try a different threshold, or leave out free shipping entirely in variant B. If you try a different threshold or leave out free shipping, you also choose in the The threshold applies to list which shipping methods it should apply to. This is explained further down. You can also test only the threshold and leave the shipping price itself untouched. The Change in DKK field is set to -20 by default, so enter 0 there. Finally, this step has the Ignore shipping prices set on individual products checkbox. It is turned off by default, and that is the right choice for most stores. Only check it if the products' own shipping prices would otherwise override what you want to test.
- Your costs and margins. Enter your cost per shipment, meaning what you pay the carrier to send a parcel, excl. VAT. Shoporama remembers the amount on the shipping method and suggests it automatically next time. Then enter your average gross margin on products. The gross margin is the share of the selling price that is left once the product's cost price has been deducted. If you sell a product for DKK 100 that cost you DKK 60, the gross margin is 40%. The field is set to exactly 40% by default, and the figure is saved on the store, so you only need to set it once. If the free shipping threshold applies to several methods, there is also a field per method under Cost price for the other methods the threshold applies to. If the field is empty, we use the cost price of the selected method, and if you fill it in, the amount is remembered on the shipping method.
- Duration. You can choose 2, 4, 6, or 8 weeks. The test also has a checkbox, Stop automatically when the result is reliable enough, which is turned on by default.
There is no name field on the create screen. The test is automatically named after the shipping method you selected. If you want to call it something else, you can change the name afterwards under Settings on the test's own page.
All amounts are entered excl. VAT, exactly as on the page for shipping prices per country. The adjustment applies to all of the selected method's prices, meaning all countries and all weight ranges. That is worth keeping an eye on if your heavy parcels are already priced close to your own cost.

Live preview: see the price before your customers do
While you set up the test, the screen instantly calculates what a typical cart will cost in both variants. You enter a cart amount and a weight, and the screen then shows, for example, Denmark, current DKK 39.00 versus Variant B DKK 19.00. It is a cheap way to catch a typo before half of your customers see it.
Honest advance estimate: can your traffic even show a difference?
During setup, the screen shows what your own traffic can realistically detect. It says, for example, that you have had 19,280 visitors and a 1.89% conversion rate in the last 30 days, and below that a small table showing the smallest difference you can detect after 2, 4, and 8 weeks. In the example, the figures are 43%, 30%, and 21%.
Read these figures as an indication of how sensitive the measurement can be with the traffic you have. Shipping prices typically move results by somewhere around 5 to 15%. If you have fewer than about 15,000 visitors a month, you should therefore expect the test to end in a tie. That is not a waste of time, because a tie is also an answer: the difference between the two prices is so small that you can safely choose the option that suits your store best.
Which shipping methods should the free shipping threshold apply to?
The shipping price is only tested on the method you selected in step 1. The free shipping threshold is different, because the customer can get around it. If you raise the threshold on one method, the customer simply switches to another one with the old threshold and gets free shipping anyway. The test then mostly measures how many people switch shipping method, not whether the new threshold earns the most money.
That is why the screen shows the The threshold applies to list when you choose Test a different threshold or No free shipping in variant B. Each method shows its current threshold, and you check all the methods the customer could otherwise switch to. If you choose Keep it as it is today, the list is not shown, and the test only changes the price.

- The method from step 1 is always included and cannot be deselected.
- Methods with Never free shipping checked cannot be selected and are marked (never free shipping). They never get free shipping, regardless of the test.
- On a new test, all methods are selected by default, except methods with their own threshold that is higher than the one you enter. A freight carrier method with free shipping only over DKK 5,000 would otherwise become free much sooner than today. The default selection stops once you have changed the list yourself.
- If you deselect a method with a lower threshold than the one you are testing, or a method with a threshold when you are testing no free shipping, the screen warns you. It says, for example: GLS parcel shop still offers free shipping above DKK 348.00. Customers in variant B can choose it instead, and then the test mostly measures how many switch shipping method.
Afterwards, you can see your choice on the test's own page, where the methods are listed under The free shipping threshold applies to.
Start the test, and keep an eye on it in the overview
When you click Create shipping test, the test is created as a draft. It does nothing until you click Start yourself. After it is created, you land on the test's own page, and the Start button there starts the test right away. If you click the start icon in the overview instead, you are asked one more time: Start the test? Half of your visitors will see the new shipping rate from now on.
The overview shows your tests with their status (Draft, Running, or Completed), which shipping method the test applies to, when it started, and a row of action icons: start or stop, view results (only shown once the test has started), settings, and delete. If a test is already running in the store, the start button on your other drafts is grayed out. So you can prepare the next test in the meantime, you just can't run two at once.

The Stop automatically when the result is reliable enough checkbox is turned on by default. It means the test stops by itself when there is a reliable answer, or when the end date is reached. Prices are not changed when the test stops. You get a message in the admin asking you to open the test and decide for yourself.
You can stop the test at any time. Stopping never changes your prices.
What the customer experiences
- Each visitor is assigned one variant and sees the same price all the way through: on the product page, in the cart, at checkout, and on return visits. The assignment normally lasts for up to 30 days.
- The price on the order is exactly the price the customer was shown. There are no surprises in the last step.
- The free shipping bar in the cart in the Montana and Delaware themes, the one that says spend DKK 120 more to get free shipping, follows the variant's threshold. If the threshold is DKK 599 on all methods, and the cart contains products worth DKK 400, all methods charge shipping, and the bar shows how much is missing. Above DKK 599, all methods are free. Customers in variant A notice no change.
- The same applies to the free shipping text [FREESHIPPING], which you can use on pages, categories, products, and blog posts (see dynamic tags). If you test no free shipping on all methods, everyone pays shipping in variant B, and the text is empty.
- A method you have deselected in the list can still be free at its old threshold in variant B. If it uses the country's threshold of, for example, DKK 348, the free shipping text and the bar show DKK 348 and not DKK 599, because that threshold still applies to that method. A deselected method with its own lower threshold is not included in the text, just like without a test. Once the customer has chosen a shipping method, the bar shows the threshold for that particular method.
- Subscription renewals and upsell orders always use the store's normal prices, never the test's.
- Search engines and bots are not assigned a variant. They always see your current prices, and they are not counted in the statistics.
- While the test runs, the store's static page cache is turned off, so pages load a little more slowly than usual. This goes back to normal once the test is stopped.
If you have written the shipping price as plain text on your shipping page, in an FAQ, or in your terms and conditions, change it before you start. Otherwise the store says DKK 39 in one place while half of your customers pay DKK 19 in the cart, and the store contradicts itself. Instead, write something along the lines of the shipping price being shown in the cart and at checkout. The same applies to a free shipping threshold you have written as plain text.
How to read the result
The results page shows a conclusion at the top and a table with the figures below. The table has one row per variant and shows visitors, orders, conversion rate, average order value, shipping revenue, shipping cost, product margin, contribution margin per 100 visitors, and the probability that this particular variant is the best. The leading variant is marked with a Leading badge, even before the test is decided. The badge shows who is ahead right now, it is not a recommendation to stop.

The example in the screenshot is a test of free shipping over DKK 599 on Postnord parcel shop. The test was completed after 27 days, and the report recommends switching to the new shipping price. The smallest group has 240 orders, and the maximum loss from choosing it is DKK 0.01 per visitor. The figures illustrate the whole point of the feature:
- The Current rate variant had a 2.88% conversion rate, an average order of DKK 228.33, and DKK 194.84 in contribution margin per 100 visitors.
- The New shipping rate variant had a 2.87% conversion rate, practically the same, but an average order of DKK 242.03 and DKK 228.31 in contribution margin per 100 visitors.
- The probability of being best is 8% for the current price and 92% for the new one.
So the new price sold to just as many people and still earned more money, mainly because the orders were larger. If you had only looked at the conversion rate, you would have concluded that the change made no difference and left the money on the table. That is exactly the trap the feature is built to keep you out of.
Below the figures is the Orders per shipping method table. It shows how many orders each shipping method received in each variant, and what share of the variant's orders that is. If customers switch shipping method between the variants, that is part of the explanation for the result. In the example, the distribution only shifts a few percentage points: Postnord home delivery has 64% of the orders in Current rate and 62% in New shipping rate, and Postnord parcel shop has 7% and 10%.
If the test changes the free shipping threshold, the shipping cost is calculated with each method's own cost price. If a method is missing a cost price, the selected method's cost price is used. If you only test the shipping price, all orders are calculated with the cost price of the selected method.
Why we measure contribution margin and not conversion
Contribution margin is what is left of a sale once the product's cost price and the shipping cost have been deducted. It is the money that has to pay salaries, rent, and marketing, and ultimately produce a profit.
The reason the test is decided on contribution margin per visitor is simple: free shipping almost always wins on conversion and almost always loses money. If you lower the shipping price, more people buy. That is no surprise. The question is whether the extra orders pay for the shipping you now cover yourself, and that answer is only found in the contribution margin.
If you measure revenue instead, you fool yourself in another way: you count the shipping the customer pays as income, even though the money goes straight on to the carrier. Conversion rate and average order value are still shown in the table, because they are interesting to look at, but they do not decide the test.
Only paid orders are counted. Canceled and credited orders are deducted. The product cost prices are today's cost prices, not the ones that applied when the order was placed, and the report also says so. If cost prices are missing for more than 20% of revenue, the report shows a warning and uses your estimated gross margin for the rest.
When is the test decided, and when is it not?
The feature never promises you a stamp of statistical significance. Instead, it answers in money, with a sentence like this: The maximum loss from choosing this one is DKK 0.01 per visitor. This is how to read the figure: if you choose this variant and it turns out not to be the best, it costs you about DKK 0.01 per visitor. It is the average expected loss from choosing wrong, not a guaranteed upper limit, and it is a figure you can multiply by your own traffic.
A winner is only declared when all three requirements are met:
- The test has run for at least 14 days, that is, two full weeks, so both weekdays and weekends are included.
- There are at least 100 orders in each variant.
- The expected loss from choosing wrong is no more than DKK 0.10 per visitor.
If the test is not decided, you are told how far along it is, for example: The test has been running 12 of at least 14 days. The smallest group has 63 orders (target: 100). That way you know whether you just need to wait, or whether your traffic is not enough.
If the test has run for more than 56 days without reaching a reliable answer, the report says so plainly: with your current traffic, the test is unlikely to reach a reliable answer, and the difference between the two prices is therefore small enough that you can safely choose whatever suits your store best.
Don't declare a winner along the way. If you look at the test every day and stop it as soon as the figures look good, you will find a winner almost every time, even when there is none. The figures fluctuate a lot at the start. The report warns you about this, and it is worth taking seriously. Let the test run for the period you chose.
The report also warns you if the traffic has been split unevenly between the two variants. If that happens, the figures cannot be used as they are, and the explanation is usually caching or bot traffic. Write to support@shoporama.dk if you see that warning.
Activate a winner, or undo
The system never changes your prices on its own. Not when the test stops automatically, and not when a clear winner has been found. Your prices only change the moment you click Activate permanently on the results page yourself.
If the test ended without a reliable answer, you can still choose the new price. In that case, the Choose for yourself box appears on the results page with an Activate button, so you can make the decision based on what you now know, for example because the new price is easier to communicate. The box only appears in exactly that situation, meaning when the test has stopped without a reliable answer.
When you activate, the shipping price only changes on the method you tested. If you tested a different free shipping threshold, it is saved on all the methods you selected under The threshold applies to. If you tested no free shipping, the selected methods instead get Never free shipping checked. That also turns off free shipping from discount codes and the loyalty program on those methods. During the test itself they still work, so here the activation does a little more than the test measured.
The country's own threshold is only moved in the countries where all the methods that use the country's threshold are selected. That way, the free shipping text in the store is still correct afterwards. If you tested no free shipping, the country's threshold is removed in those same countries. If you deselected a method that still uses the country's threshold, the threshold stays as it is.
The old prices are saved when you activate. That is why there is an Undo button that rolls everything back: the price per country, the prices for the weight ranges, the free shipping threshold on all the selected methods, and the countries' thresholds.
Once you have activated the prices, the test can be neither restarted nor deleted. It cannot be restarted, because the adjustment would then be applied on top of the new prices. And it cannot be deleted, because the test is the only place the old prices are saved, so the option to undo would disappear along with it. Shoporama explains both when you are in that situation: the start button is grayed out with an explanation, and an attempt to delete the test is rejected with a message explaining why.
What can be changed along the way?
As long as the test has never run, you can change everything in it. Once it has started, the price setup is locked, meaning the shipping method, the new price, the free shipping threshold, the list of methods the threshold applies to, the cost prices, and the gross margin. The collected figures belong to that exact setup, so it must not be changed halfway through.
You can still change the name, the duration, and the automatic stop checkbox while the test runs. If you want to give the test more time, you can extend it by 2, 4, 6, or 8 weeks from now.
What you should test first
Start with what moves the most, and stick to one thing at a time:
- The free shipping threshold. This is usually the most instructive test. For example, try moving the free shipping threshold from DKK 499 to DKK 399, or the other way. You can test the threshold on its own and leave the shipping price itself alone: enter 0 in the Change in DKK field. Let the threshold apply to all the methods the customer could switch to. If you only raise it on one method, the customer simply switches to another one with the old threshold, and the test then mostly measures how many people switch shipping method.
- Your most used shipping method. Choose the method most customers actually choose, typically parcel shop delivery. That way you collect orders quickly enough to reach an answer. If you are unsure which one it is, you can see it in the shipping statistics.
- A moderate change rather than the extreme. Minus DKK 20 or minus 15% is a good start. Free shipping for everyone is rarely the first thing you should try, because it often costs more than it is worth.
- A price increase. This is the test most people skip, and it is often the most profitable. Many online stores can raise shipping by a few kroner without anyone reacting at all.
If you have several stores, test in the largest one first. If the smaller store is reasonably comparable in product range and customer type, it is more worthwhile to carry the result over from there than to spend two months on a test that will almost certainly end in a tie.
Limitations and things to know before you start
- Only one shipping test at a time can run per store. You can prepare the next one as a draft in the meantime.
- The shipping price is tested on one shipping method. Your other shipping methods keep their prices. The free shipping threshold can apply to several methods if you choose so.
- The free shipping threshold in variant B is the same in all countries. The test has no thresholds per country, and a country without a free shipping threshold also gets the test's threshold in variant B. If your countries have different thresholds, the setup warns you: Your countries have different free shipping thresholds. Variant B uses the same threshold in all countries, so some countries get a different threshold than today.
- After activation, the selected methods each have their own threshold. If you later change the country's threshold under Delivery → Countries, it does not affect those methods.
- A test always has two variants, Current rate and New shipping rate, with half of the visitors in each.
- The price adjustment applies to all of the selected method's prices, meaning all countries and all weight ranges. See also countries and currency if you sell to several countries.
- All amounts are entered excl. VAT.
- If you delete the tested shipping method in the middle of a test, prices fall back to the store's normal prices, and the overview shows the shipping method as deleted. The test cannot be started again.
- The cost prices per shipment are locked the moment the test starts. If you change them later, it does not change the figures in a test that has already run.
Frequently asked questions
Where do I find the feature, and is it the same as the split test under Design?
No, they are two different features. The split test under Design tests appearance and layout. The shipping test is under Delivery → A/B Testing of Shipping Rates, and there is also a button called A/B Test Shipping Rates on the Delivery → Shipping methods page. If you want to test a price, the one under Delivery is the one to use.
I already have a shipping test running. What happens to it?
It keeps running exactly as before. A test that was set up before the The threshold applies to list was introduced only has the threshold on the selected shipping method, and the shipping cost is calculated with the single cost price figure. You cannot add methods once the test has started, so if you want to test the threshold on several methods, you need to create a new one. A draft that has never been started can still be opened and edited. The Orders per shipping method table is also shown on the older tests, so you can see whether customers switched method.
What if the customer browses on their phone and buys on their computer afterwards?
The assignment follows the browser the customer uses, so if they switch devices, they can in principle end up in the other variant. It is fairly rare in practice, but it can happen. If it does, and the customer asks, give them the lower of the two prices. It costs a few kroner and is far cheaper than an unhappy customer.
Does the price adjustment also apply to my heavy weight ranges?
Yes. If you choose minus DKK 20, the DKK 20 is deducted from all of the method's prices, including heavy parcels. If you are already close to your own cost price on heavy shipments, use a percentage change instead, or test on a shipping method that is only used for light parcels. You cannot select individual weight ranges within the test.
What happens to products that have their own shipping price?
They keep their own shipping price, as long as you leave the Ignore shipping prices set on individual products checkbox turned off, which it is by default. So if you have pallet goods or large, bulky items with a fixed shipping price on the product itself, don't check that box. It is only intended for stores where the products' shipping prices would otherwise override what you want to measure.
I have a freight carrier method that is only free over DKK 5,000. What do I do with it?
Leave it deselected in the list, and it keeps its own threshold in both variants. If you test a lower threshold, it is deselected by default. If you test no free shipping, all methods are selected by default, so there you need to remove the check mark yourself. The screen then warns you about the method. If the method should never be free, check Never free shipping on the method under Delivery → Shipping methods. Then it cannot be selected at all.
Should the cost per shipment be entered incl. or excl. VAT?
Excl. VAT, like all other amounts in the test and on the shipping prices page. Take the amount from your carrier invoice before VAT. The report's shipping revenue and shipping cost are calculated in the same unit, excl. VAT, so the figures can be compared with your bookkeeping before VAT. If you are unsure when reconciling, write to us.
Which cost price should I use when my shipping agreement varies?
Use the average amount you actually pay per shipment on that shipping method, including the surcharges that usually apply. Since both variants are calculated with the same cost prices, a small inaccuracy rarely skews who wins, but it does shift the level of the amounts. Rather take ten minutes to find the average from a real month of invoices than guess.
My cost prices are not up to date on all products, and I have quite a few returns. Can I trust the result?
Returns are taken into account as long as you credit them in Shoporama, because credited and canceled orders are deducted. Note that an order with a credit note is kept out of the figures entirely, even if you have only credited a single product on it. So if you have many partial returns, fewer orders are included in the statistics. If cost prices are missing for more than 20% of revenue, you get a warning in the report, and your estimated gross margin is used for the rest. It is a good idea to get the cost prices of your best-selling products in place before you start.
Does the result change retroactively if I correct cost prices or credit an order?
Yes, for the products. The report calculates with today's cost prices and with the orders that are marked as paid right now, so both a price increase from your supplier and a credit after the test has ended can shift the figures slightly. The cost prices per shipment, on the other hand, are fixed from the day the test was started. Note down or save the figures on the day you make your decision.
I have activated the test and want to change the free shipping threshold again. Where do I do that?
The threshold that applies is on the shipping method. Go to Delivery → Shipping methods, open the method, and change the Free shipping above field. If you clear the field, the method uses the country's threshold again. Also change the threshold under Delivery → Countries, because the free shipping text and the bar show the country's threshold until the customer has chosen a shipping method. If you activated no free shipping, you need to uncheck Never free shipping and enter a threshold in Free shipping above, because the country's threshold may also have been removed. If you want everything back the way it was before the activation, Undo on the results page is the easiest option.
Can the test cause problems with my Google Shopping feed?
Bots and crawlers are not assigned a variant, so Google always sees your current prices, the same ones that are in the feed. If you want to be completely safe, test a lower shipping price rather than a higher one. Half of your customers will then get lower shipping than expected, and that is the right way to be wrong.
Does the store get slower while the test runs?
Slightly. The static page cache is turned off while the test runs, because the pages need to show each visitor the right price. The pages are therefore built fresh on every visit instead of being served ready-made. It goes back to normal as soon as the test is stopped. If page speed matters a lot to you, choose a shorter test period, or run the test outside your busiest season.
Next steps
If you have not set up your shipping methods yet, start by creating a shipping option and setting up shipping prices per country. If shipping should depend on the weight of the parcel, you can read about weight-based prices, and if you want to see which delivery options your customers already choose, take a look at the shipping statistics.
If you have any questions, or would like a second pair of eyes on your setup before you click start, write to us at support@shoporama.dk. We are happy to help.
Related articles
Free shipping over a certain amount
How to set up free shipping over a certain amount in Shoporama. You set the threshold per country under Delivery → Countries or on the individual...
Shipping prices: set rates per country and order amount
How to use the price matrix under Shipping prices: one price per country and shipping method, empty fields that become DKK 0, free shipping over an...
Create a new shipping method
How to create a new shipping method in Shoporama, assign it to the countries you ship to, and set its price.
Countries and currency: delivery countries, VAT, and shipping
Set up delivery countries under Delivery → Countries with VAT rates, VAT zones, shipping options, and free shipping, and see how they relate to...
Weight-based shipping rates: shipping that depends on weight
How to set up weight-based shipping in Shoporama. Create weight intervals in grams, set prices per country and shipping method, and see what...
Shipping statistics: which delivery options do your customers choose?
See which shipping methods your customers choose, how many orders each method gets, and what they pay for shipping. Learn how to use the numbers to...
Checkout flow and shipping calculation in your theme
A guide for developers on implementing shipping in the checkout flow of a Shoporama theme, including the recommended page order and parcel shop...
Related features
A/B testing of shipping rates
Test two shipping prices against each other in your own store. Shoporama measures contribution margin per visitor, so you see what shipping really...
What should shipping cost? How to find the answer in your own store
A new shipping price can convert 21% better and still earn less. That is why A/B tests of shipping rates are decided on contribution margin per...
Shipping options
Set up shipping with PostNord, GLS, DAO, DHL, and Shipmondo. Parcel shops at checkout, tracking, free shipping, and weight-based shipping calculation.