- Marginal analysis asks one question: does the next step add more than it costs?
- Marginal benefit is the extra revenue or profit from one more unit; marginal cost is the extra cost of that unit.
- Keep going while marginal benefit is above marginal cost, and stop where they meet.
- Averages hide the margin: a campaign can have a healthy average POAS while its last $2,000 lost money.
- In a webshop, marginal cost includes product cost, shipping, fees and the extra ad spend needed for the sale.
Marginal analysis compares what one more step adds with what it costs. The step can be one more dollar of ad spend, one more discount code, one more product in the range or one more unit in a production run. If the extra benefit is larger than the extra cost, take the step. If it is smaller, stop.
It sounds obvious, but most store reports show averages, and averages hide exactly the part that matters. This guide explains marginal benefit and marginal cost, gives the formulas, works through an ad budget decision with example numbers, and shows four other places in a webshop where the method pays off.
What is marginal analysis?
"Marginal" means "at the edge": the next unit, not the whole. Marginal analysis looks at the change a decision causes, not at the total. It is built on two numbers:
- Marginal benefit (MB): what you gain from one more unit, such as the extra revenue or profit from one more order or one more $100 of spend.
- Marginal cost (MC): what that one more unit costs you, such as the product, the shipping, the payment fee and the extra ad spend needed to sell it.
Costs you pay either way, such as rent or last month's spend, are left out. They do not change with the decision, so they do not belong in it. This is the main difference with a full cost-benefit analysis, which weighs every cost and benefit of a project, including the fixed ones.
Ecommerce is full of marginal decisions, and they are made often: budgets change daily, discounts weekly, the range monthly. Small differences at the margin add up quickly.
The golden rule
| When | Meaning | What to do |
|---|---|---|
| MB > MC | The next unit adds more than it costs | Do more of it |
| MB = MC | The next unit just pays for itself | This is the best level: stop here |
| MB < MC | The next unit costs more than it adds | Do less of it |
Why stop where they are equal and not earlier? Because every unit before that point still added more than it cost. Stopping earlier leaves profit on the table; going further gives it back.
The formulas
- Benefit
- Usually revenue or, better, profit before ad spend. Marginal revenue is the revenue-only version; marginal benefit can also count value that is not revenue, such as a new customer who will order again.
An extra $2,000 of spend brings $1,400 of extra gross profit: $1,400 − $2,000 = −$600. The step loses money.
Worked example: should you increase ad spend?
An example store spends $10,000 a month on Meta ads. The orders those ads bring in leave $16,000 of gross profit (revenue minus product cost, shipping, fees and handling). The team raises the budget to $12,000 for a month, and gross profit from the ads rises to $17,400.
| Example store | Month 1 | Month 2 | Change |
|---|---|---|---|
| Ad spend | $10,000 | $12,000 | +$2,000 (MC) |
| Gross profit from the ads | $16,000 | $17,400 | +$1,400 (MB) |
| Average POAS | 1.60 | 1.45 | |
| Profit after ads | $6,000 | $5,400 | −$600 |
| Marginal POAS | $1,400 ÷ $2,000 = 0.70 |
Look only at the average and the extra spend seems fine: POAS is 1.45, well above break-even. Look at the margin and the picture flips. The extra $2,000 brought in $1,400 of gross profit, so the store paid $2,000 to earn $1,400 and ended the month $600 worse off. The right budget sits somewhere between $10,000 and $12,000, where the next dollar brings back exactly one dollar of gross profit.
Two cautions. First, one month against another also changes the season, the creatives and the competition, so a single comparison is noisy. Raise spend in steps, keep the rest stable and repeat. Second, if the extra customers come back and order again, their later orders are part of the benefit. A marginal POAS of 0.9 on the first order can be worth it when repeat orders add more than the missing 0.1.
Marginal benefit and the law of diminishing returns
Marginal benefit usually shrinks as you do more of something. The first dollars of ad spend reach the people most likely to buy; each extra dollar reaches people who are a little less likely. The first discount email to a list converts best; the fifth one in a month mostly trains people to wait for a code. This is the law of diminishing marginal benefit, and it is why there is a best level for almost every lever, not a "more is better".
What is marginal cost in ecommerce?
Marginal cost is what it costs to sell one more unit. In a webshop it has more parts than the purchase price:
| Part of marginal cost | Example per extra order |
|---|---|
| Product cost (COGS) | $14.00 |
| Packaging and pick-and-pack | $1.80 |
| Shipping you pay | $5.50 |
| Payment fee | $1.45 |
| Extra ad spend needed for the order | $12.00 |
| Expected returns cost | $1.25 |
| Marginal cost of one more order | $36.00 |
Marginal, average and total cost
Total cost is everything you spent. Average cost is total cost divided by the number of units. Marginal cost is what the last unit added. They can move in different directions: a volume discount from a supplier lowers marginal cost as you grow, while rising ad costs push it up. When a store scales on paid ads, the ad part of marginal cost usually rises faster than the product part falls.
Marginal cost vs marginal benefit: side by side
| Marginal benefit | Marginal cost | |
|---|---|---|
| Measures | What one more unit adds | What one more unit costs |
| Usual direction as you scale | Falls | Rises (in paid acquisition) |
| Ecommerce example | Extra gross profit from $1,000 more spend | The $1,000 itself, plus costs per extra order |
| Decision | Act while it is higher than marginal cost | Stop when it reaches marginal benefit |
Using marginal analysis in a webshop
- Scaling ad spend
Raise a campaign's budget in steps of 10 to 20%, compare the extra gross profit with the extra spend, and stop when the marginal POAS falls to 1.0 (or to the level your repeat orders justify).
- A sitewide discount
The benefit is the extra orders the discount creates. The cost is the discount on every order, including the ones that would have come at full price. A 20% discount that lifts orders by 15% usually loses money at a 50% margin.
- The free-shipping threshold
Raising the threshold from $50 to $65 adds revenue from people who top up their cart, and costs you the orders of people who leave. Compare the extra gross profit of the top-ups with the gross profit of the lost orders.
- Adding a new product
Count only the extra: its own gross profit, minus the sales it takes from existing products, minus extra stock and photography costs.
How to run one, step by step
- Write down the decision as a change: "+$2,000 spend", "discount from 10% to 15%".
- Measure the benefit before and after, in profit, not revenue.
- Count only the costs that change because of the decision.
- Compare: positive net marginal benefit means go on, negative means step back.
- Repeat after each change; the curve moves with season, creatives and competition.
Using marginal cost in pricing
Set a price floor. A sale below marginal cost loses money on every unit. That is the lowest price for a flash sale or a clearance, and only when the stock would otherwise go to waste.
Volume and tiered pricing. If the second unit in an order costs less to ship and handle than the first, its marginal cost is lower, and a "2 for" price can still earn more than one unit at full price.
Scaling decisions. When marginal cost per order rises with volume, mostly because ads get more expensive, growth needs a higher price, a higher order value or a cheaper channel to stay profitable.
Marginal analysis in ROASaurus

ROASaurus does this per campaign every morning. Actions › Recommendations › Budget advice fits a spend curve for each campaign that spent in the last week and shows its marginal LTV POAS: the profit the next unit of spend brings back, including the repeat orders of the new customers it finds within your payback target. When the whole uncertainty interval is above 1, the signal is Scale; when it is below 1, Cut; otherwise Hold. It suggests a new daily budget that moves at most one step (20% by default) towards break-even. A campaign needs at least 14 days of spend and 5 attributed conversions before it gets a curve.
For channels, Marketing › Budget & MMM uses a marketing mix model that needs about 120 days of orders and spend. It shows the marginal ROAS of the next 10% of spend per channel, and the Budget optimiser splits a total budget over channels for the most revenue or the most profit after ad spend. Neither page changes anything in your ad accounts on its own.
Next step
Sources
- OpenStax, Principles of Economics: Marginal decision-making and diminishing marginal utility
- OpenStax, Principles of Economics: How perfectly competitive firms make output decisions