Dec 5, 2026 · 12 min read
When to Send a Replenishment Email: Use Order Gaps
Send a replenishment email a few days before customers usually reorder that product. To find that day, look at your own Shopify orders. For each product, count the days between a customer's first and second order of it. Then take the middle value, which is called the median. For most consumables, this gap is one to two weeks longer than the label says. So a reminder based on the label often lands while the customer still has plenty left.
This guide shows you how to find the reorder gap for each product. It also shows how to set the send day in Klaviyo. Finally, it explains how the same gap tells you which products work as a subscription.
Why the Label Date Is Too Early
Most replenishment flows use the label to pick a send day. A bottle of 60 capsules, taken twice a day, lasts 30 days. So the reminder goes out on day 21 or day 25. Klaviyo and Mailchimp both suggest this in their guides. It is a fine starting point for a new product with no order history.
But people rarely use a product exactly as the label says. Some skip days, and some share a tub with a partner. Others buy two bottles to get free shipping. Each of these habits pushes the reorder date later. If your reminder arrives on day 25 and the customer still has two weeks left, they ignore it. By the time they run out, your email is buried in their inbox.
Your order history has a better answer. Every customer who bought a product twice has shown you how long it lasted for them. When you collect those gaps for each product, you can send the reminder when your customers really need it.

How to Find Each Product's Reorder Gap
You can find the gap with a Shopify orders export and a spreadsheet. There are four steps. Each one fixes a common mistake that makes the gap look wrong.

Step 1: Measure the gap to the next order of the same product
For each customer, find their first order of a product. Then find their next order that includes the same product. The days between those two orders are one reorder gap.
Only count the next order of the same product. If a customer comes back on day 20 to buy something else, they have not run out of the first product yet.
In your Shopify orders export, you need five columns. These are Name (the order number), Email, Created at, Lineitem name and Lineitem quantity. Shopify puts each extra product in an order on its own row. Those rows leave Email and Created at blank. So before you sort, copy the email and date down from the first row of each order. Then sort the sheet by email and then by date. For each customer and product, keep only the first two orders. If a first order had two different products, count a separate gap for each one.
Step 2: Use the median, not the average
Once you have a list of gaps for a product, sort them from shortest to longest. The median is the value in the middle. Don't use the average for this. A few customers who come back after seven or eight months will pull the average up a lot, even though most customers reorder much sooner.
In our example store, the average gap for the 60-capsule magnesium was 51 days. The median was 38 days. A reminder based on the average would reach most customers about two weeks after they ran out. By then, many of them would have bought from another store.

Step 3: Split by pack size and by quantity
Treat a 60-capsule bottle and a 120-capsule bottle as two different products. Measure them separately, even if they share a product page.
Do the same for orders with two or more units of a product. A customer who bought two bottles will take about twice as long to come back. You can measure these orders as their own group, or you can leave them out of the main median.
Step 4: Leave out customers who bought recently
Only include customers whose first order was at least 180 days ago. If your slowest product has a gap over 90 days, go back even further.
This step is easy to skip, but skipping it makes every gap look shorter. Think about a customer who first bought last month. They can only show up as a repeat buyer if they came back fast. If you include lots of new customers, your list fills up with quick reorders. That pulls the median down and makes you send reminders too early.
For our example store, we asked Daymark, "How many days do customers usually wait before buying the same product again, by product and pack size?" It showed the median gap for each product. It also showed how many customers each number came from. That told the founder which numbers they could trust and which ones were based on too few customers. Read more about finding how long customers take to buy again.
Worked Example: Four Products, Four Send Days
Here are the results for our example store's four best sellers. Each row only uses customers whose first order was 6 to 18 months ago. We set the send day five days before the median gap. For products with a gap over 60 days, we send it a week before instead.
| Product | Label says | Repeat customers measured | Average gap | Median gap | Send reminder on |
|---|---|---|---|---|---|
| Magnesium, 60 capsules | 30 days | 410 | 51 days | 38 days | Day 33 |
| Magnesium, 120 capsules | 60 days | 180 | 88 days | 71 days | Day 64 |
| Collagen powder, 30 servings | 30 days | 260 | 57 days | 44 days | Day 39 |
| Electrolyte sticks, 20 pack | 20 days | 150 | 34 days | 26 days | Day 21 |
Every product's median gap is longer than its label. The difference is 6 to 14 days. The store's old flow sent every reminder on day 25. That was 8 days too early for the 60-capsule magnesium and 14 days too early for collagen. For the 120-capsule bottle, it was 39 days too early. Day 25 was only close for the electrolyte sticks, and that was luck.
We use five days before the median because it gives the customer time to open the email and place the order. It also gives the order time to arrive before they run out. For products with a longer gap, we add a couple of extra days. People on a long cycle are less sure of the exact day they will run out.
The founder's next question was, "Which products have the biggest gap between when we send the reminder and when customers actually reorder?" Daymark compared each product's reorder gap with the flow's send day. It then ranked the products by how far off the timing was. The 120-capsule bottle and the collagen came out on top, so the team knew which flows to fix first. You can check your current repeat rate with the repeat purchase rate calculator.
When the Gap Is Too Spread Out for a Subscription
The same data shows which products suit a subscription. A subscription ships on a fixed schedule. That works well when most customers reorder at about the same time. When timing varies a lot, a fixed schedule sends some people too much and others too little. Those subscribers usually cancel.
To check, look at the middle half of each product's gaps. This is the range from the 25th to the 75th percentile, which is where half of your customers fall. Then compare the width of that range with the median.
- If the range is less than half the median, a subscription is a good fit.
- If the range is between half and the full median, offer a subscription but don't push it.
- If the range is wider than the median, use a reminder email instead.
| Product | Median gap | Middle half of gaps | Range width | Subscription fit |
|---|---|---|---|---|
| Magnesium, 60 capsules | 38 days | 31 to 49 days | 18 days | Good |
| Magnesium, 120 capsules | 71 days | 60 to 90 days | 30 days | Good |
| Collagen powder, 30 servings | 44 days | 28 to 90 days | 62 days | Poor |
| Electrolyte sticks, 20 pack | 26 days | 19 to 41 days | 22 days | Borderline |

Most people take magnesium every day, so its gaps sit close together and a subscription makes sense. Collagen is different. Some people use it daily and others only on workout days. That is why its middle range runs from four weeks to three months. A 30-day collagen subscription would send many people a new tub before they finish the old one. A reminder at the median works better, with a second reminder two weeks later for anyone who hasn't reordered. The electrolyte sticks fall in between because people use more of them in summer. You can offer a subscription for them without pushing it.
To decide, the founder asked Daymark, "Which products have the most consistent time between orders?" Daymark ranked the products by how close together their reorder gaps were. Magnesium came out as a strong subscription product, and collagen did not. So the team kept the subscription discount on both magnesium sizes and moved collagen to a reminder flow. Read more about finding which products bring customers back.
Setting the Send Day in Klaviyo
Once you have a send day for each product, the setup is simple. Create one replenishment flow for each product, or group products with similar gaps into one flow. Use Ordered Product as the trigger, and add a trigger filter for that product. Set the time delay to the send day from your table.
Then add a flow filter that removes anyone who has ordered that same product since they entered the flow. In Klaviyo, use Ordered Product zero times since starting this flow, filtered to the product name. This stops the email from going to customers who already reordered. A customer who bought a different product in the meantime still gets the reminder, because they have not restocked the first one.
Klaviyo can also predict each customer's next order date once your account has enough history. But that prediction is for the customer's next order of anything, not for one specific product. It works well for win-back emails. For replenishment, a median gap for each product is still the better trigger.
Recalculate your medians every three months. Also redo them after you change pack sizes, prices or your free-shipping minimum. These changes affect how many units people buy at once, so they change the gap too. If you track repeat purchase rate by product, the new timing should lift it within one or two reorder cycles. See how your rate compares in what is a good repeat purchase rate.
Frequently Asked Questions
When should I send a replenishment email?
Send it a few days before customers usually reorder that product. Find this by looking at your Shopify orders and taking the median number of days between a first and second order of the product. Split it by pack size. Five days before the median works for most consumables. For products with a gap over 60 days, send it about a week before.
Should I use the average or the median time between orders?
Use the median. A few customers who come back after six months or more will pull the average up. A reminder based on the average then reaches most customers after they have already run out. In many consumables stores, the average gap is 10 to 15 days longer than the median. That is enough time for customers to buy from another store.
How many days before a product runs out should I send a reminder?
Send it about five days before the median reorder gap for most consumables. This gives the customer time to open the email and place the order. It also gives the order time to arrive. For products with a gap over 60 days, a week before is safer. If you send it much earlier, the customer still has plenty left and will likely ignore it.
Which products should be subscriptions instead of reminders?
Products with reorder gaps that sit close together suit a subscription. Look at the middle half of each product's gaps, from the 25th to the 75th percentile. If that range is less than half the median gap, a subscription is a good default. If it is wider than the median, people use the product at very different rates, so a reminder email works better.
Can I use the 30-day label to time replenishment emails?
Only as a starting point for a new product with no order history. People skip days, share products and buy more than one unit at a time. So the actual reorder gap is usually one to two weeks longer than the label. Once about 100 customers have bought a product twice, switch your flow to the median gap from your own orders.
What to Do This Week
Download your Shopify orders export and pick your five best-selling consumables. Find the median gap for each one, using only first orders that are at least six months old. Then compare each median with the delay in your current replenishment flow. Fix the products with the biggest difference first, because changing the timing usually does more for reorders than rewriting the email.
If you don't want to rebuild this spreadsheet every three months, Daymark can show you how long customers take to buy each product again. See how it works on our page about repeat purchase analysis, or start a 14-day free trial and check the reorder gaps for your own products. To learn what to do when a customer misses their reorder date, read our retention playbook.
About the author