A discount code is a string of characters, such as WELCOME10 or FREESHIP, that a customer enters at checkout to change the price of their order. Depending on how you set it up, it takes a percentage off, a fixed amount off, removes the shipping cost or adds a free item. The same thing is called a coupon code, a promo code, a voucher code or a promotional code depending on the country and the platform. They all mean one thing: a key that unlocks a lower price.
Discount codes concern every online seller, from a creator who gives 20% off to newsletter subscribers to a brand running a seasonal promotion. They are the simplest marketing lever there is, which is exactly why they are so often misused.
What is a discount code?
A discount code is a rule attached to a keyword. When the keyword is entered at checkout, the rule is applied to the cart. The rule has three parts:
- The benefit. A percentage off (10%), a fixed amount off ($5), free shipping, or a free product added to the cart.
- The conditions. A minimum order amount, a specific product or collection, a first order only, one use per customer, a start and end date, a total number of uses.
- The code itself. Public (printed on a flyer, posted on social media) or private (sent to one person, single use).
"Coupon code" and "discount code" are interchangeable. In the United States and Canada, "coupon" and "promo code" are the common words. In the United Kingdom and Australia, "discount code" and "voucher" are more frequent. Your customers search for both, and your checkout field should accept both names in its label.
A discount code is not an automatic discount. An automatic discount applies to everyone who meets the conditions, no code needed, and is usually shown on the product page. A code requires an action from the customer, which makes it trackable: you know exactly who used it and where it came from. It is also not a flash sale, which is a price cut applied to the whole store or a collection for a short time, visible without any code.
Why it matters
A discount code changes two numbers at once: the conversion rate goes up and the margin per order goes down. Whether the trade is good depends on the arithmetic, and most sellers never do it.
A worked example. A small store sells a $40 product with a $16 cost of goods, so the gross margin is $24 per order, or 60%. It launches a 20% code. The product now sells for $32, and the margin per order drops to $16. To make the same total margin, the store needs $24 ÷ $16 = 1.5 times as many orders. If the code brings a 30% lift in conversion, the store is losing money on it. If it brings a 60% lift, the store is ahead.
The same store with a 10% code: the price is $36, the margin is $20, and the break-even lift is only 20%. A 10% code that lifts conversion by 25% is profitable. This is why small percentages on a high-margin product often beat big percentages, and why you should know your cost of goods sold before writing any code.
Codes also have a second job: attribution. A code named after a creator, a podcast or a newsletter tells you where the order came from without any tracking pixel. For a creator selling through partners, this is often the only reliable source of data.
How it works
Setting up a code is fast. Setting up a code that does not hurt you takes a few more decisions.
- Choose the goal. A first order from a new visitor, a bigger cart, a return purchase from a past customer, a way to track a partner, or clearing stock. One code, one goal.
- Choose the benefit type. Percentage off scales with the cart and is easy to understand. Fixed amount off is safer on small carts and reads bigger on cheap products ($5 off a $20 item feels like more than 25%). Free shipping converts well when shipping is the main objection. A free gift protects the perceived price of the main product.
- Set the conditions. A minimum order amount turns a discount into an average order value lever ("$10 off orders over $60"). Restricting to first orders stops your existing customers from waiting for codes. A use limit and an end date create a real deadline.
- Name the code. Short, uppercase, readable, no ambiguous characters (0 and O, 1 and l). WELCOME10, SARA15, SPRING.
- Distribute it. Newsletter, welcome email, a partner's audience, a card in the parcel, a social post. Where the code appears decides who uses it.
- Measure it. Number of uses, revenue on orders with the code, average order value with and without the code, and the margin after the discount.
The math to keep at hand:
- Discount cost = number of orders with the code × average discount per order.
- Break-even lift = margin before ÷ margin after − 1. With a 60% margin and a 20% code, that is 24 ÷ 16 − 1 = 50%.
- Net effect = extra margin from added orders − discount given on orders that would have happened anyway.
Benchmarks and examples
Ranges seen in small stores and creator shops:
- Welcome code (10% to 15% off the first order). Redeemed by 8% to 20% of new subscribers within 30 days.
- Cart recovery code (10% off, sent 24 hours after abandonment). Recovers 3% to 8% of abandoned carts. See cart abandonment.
- Partner or creator code (10% to 20% off). Redemption depends entirely on the audience. A creator with 20,000 engaged followers can generate 50 to 200 orders in a launch week.
- Card in the parcel (15% off the next order). 5% to 12% of customers use it within 60 days.
- Free shipping over a threshold. Raises the average order value by 10% to 25% when the threshold sits just above the current AOV.
Typical situations:
- A creator selling a $49 course sends a code LAUNCH20 to her 3,000 subscribers for 72 hours. 4% redeem it: 120 orders at $39.20, or $4,704, in three days.
- A candle brand with a $34 average order sets free shipping at $50. Within two months the average order is $41 because customers add a second candle to reach the threshold.
- A store sends a 10% code to its 800 past customers before the holidays. 9% reorder, which is 72 orders it would not have had that week.
Common mistakes
- Discounting everyone, always. A permanent 10% banner is a price cut, not a promotion. Customers learn to never pay full price, and the code stops moving anyone.
- Not knowing the margin. A 30% code on a 40% margin product leaves 10% for shipping, payment fees and packaging. That order loses money.
- No conditions. A code with no minimum, no expiry and no use limit ends up on coupon sites and applies to orders that would have happened anyway.
- Guessable codes. SAVE10, SAVE20 and SAVE30 all get tried at checkout. Codes for partners or private lists should not follow a pattern.
- A visible empty code field on every checkout. It sends customers off to search for a code, and some never come back. Show the field collapsed ("Have a code?") rather than open.
Best practices
- Start from the margin, not from the number. Compute the break-even lift for each code before publishing it. If the lift needed is above 50%, lower the discount or add a minimum order.
- Attach a minimum order to fixed-amount codes. "$10 off over $60" costs less than a flat 15% and raises the average cart.
- Use codes to date the promotion. A 72-hour window with a clear end time in the email does more than the size of the discount.
- Give each channel its own code. NEWS10 for the newsletter, the partner's first name for partners, a distinct code on the parcel card. Redemptions become your attribution report.
- Prefer free shipping or a gift when the product price is part of the brand. It protects the perceived value of the product while still giving a reason to buy now.
- Limit welcome codes to first orders. Otherwise your best customers create new email addresses to reuse them.
- Review codes monthly. Kill the ones that only reach existing customers, keep the ones that bring new orders, and check that no expired code is still floating around on a coupon site with a working status.
In Roctify
Discount codes are available on every Roctify plan, including the free one. You create a code from the dashboard, choose a percentage or a fixed amount, and the same code works on the storefront checkout and on the link-in-bio checkout, because both sell from the same shared catalog and the same order list. Orders that used a code are visible in the order list, so you can count redemptions and compare the average order value with and without the code.
With email marketing on the Creator plan and up, you can send a code to your subscribers or to a segment of past customers and follow the orders it produced. Roctify takes 0% transaction fees on every plan, which matters when you discount: the only cost of a code is the discount itself and the payment provider's processing fee, not a platform commission on top.
FAQ
Is a coupon code the same as a discount code?
Yes. Coupon code, discount code, promo code and voucher code all describe a keyword the customer enters at checkout to get a lower price or a free benefit. The word changes by country and platform. Use both in your checkout field label and your help pages so customers find what they expect.
How much should a discount code be?
Base it on your margin. With a 60% gross margin, a 10% code needs a 20% lift in orders to break even and a 20% code needs a 50% lift. Most small stores get the best return with 10% to 15% on a first order, or a fixed amount with a minimum cart. Save 25% and above for clearing stock or a short launch.
Should I show the discount code field on my checkout?
Show it, but collapsed behind a "Have a discount code?" link rather than as an open field. An open empty field prompts customers to leave and search for a code, and some of them do not return. A collapsed field serves the people who already have a code without distracting everyone else.