Contribution Margin Per Product Line

A one-person business with three offers can have a total profit that looks fine and still have no idea which offer is producing it. Revenue by line won’t tell you. The line that brings in the most money can be the one leaving the least behind, and the small line nobody talks about can be quietly carrying the rent.

Contribution margin is the number that sorts this out. It’s what each product or plan leaves over after paying for its own variable costs, before any of the fixed costs that the whole business carries. Put another way, it’s each line’s contribution to the pot that pays for everything else. Add the lines up, take away the fixed costs, and you have your profit.

I split every business I run this way at least once a quarter, and it’s changed my mind about what to grow more than once. Below is how to compute it, what counts as a variable cost when the main cost is your own time, and the allocation mistake that leads founders to drop an offer that was paying its way.

Where contribution margin sits

It helps to see the three margins as steps on the way from revenue to profit.

Gross margin is revenue minus the direct cost of delivering what you sold. For software that’s hosting, payment processing and the third-party services the product calls. The gross margin explainer on this site walks through those for a one-person SaaS.

Contribution margin goes one step further. It takes away every cost that rises and falls with sales of that line, including the variable costs of selling it. Affiliate commissions, marketplace fees, per-sale ad spend you can pin to that line, a contractor you pay per job. If the cost wouldn’t exist without that line’s sales, it comes off here.

Operating profit is what’s left after fixed costs, the ones that stay roughly the same whether you sell a lot or a little. Your accounting software, your website, your insurance, the salary you pay yourself.

So the chain reads: revenue, minus variable costs, equals contribution. Contribution from all lines, minus fixed costs, equals profit.

The reason to stop at contribution for each line is that it’s the last number you can compute honestly per line. Variable costs belong to a line by definition. Fixed costs don’t belong to any line, and the moment you start carving them up, the answers get arbitrary.

Why split by line rather than per customer

Unit economics usually works per customer. You compute what a customer pays, subtract what they cost to serve, and compare the result with what it cost to acquire them. The unit economics explainer covers that view.

That’s the right lens for asking whether it’s worth paying to win another customer. It’s the wrong lens for asking which of your offers deserves your next month of effort. A business that sells a subscription, a one-off template pack and a done-for-you setup service has three quite different cost structures sitting inside one set of books. Averaging them into one per-customer figure mixes a line with high margins and almost no time cost with a line that’s mostly your hours.

Splitting by line keeps them apart. It asks, for each offer, how much it leaves behind every month to pay the costs the whole business shares. That’s the question behind most real decisions a solo founder makes: raise the price on this, stop selling that, put the new feature here, stop taking custom work.

Within a single SaaS the same logic applies at the plan level. A heavy-usage plan with expensive API calls behind it can have a very different contribution from a light plan at a similar price.

A worked month with three lines

Here’s a made-up business to make it concrete. One founder, three offers, one month.

The subscription software brings in $4,000 of revenue. Hosting costs $300, payment processing about $150, and third-party APIs another $200. Variable costs are $650, so contribution is $3,350. As a share of that line’s revenue, that’s about 84%.

A digital template pack, sold through a marketplace and a small affiliate programme, brings in $1,500. The marketplace takes $300 and affiliates earn another $300. Variable costs are $600, contribution is $900, a ratio of 60%.

A done-for-you setup service brings in $2,500. The founder pays a contractor $1,500 to do most of the work, plus about $75 in payment fees and $50 for a tool used only on client jobs. Variable costs are $1,625, contribution is $875, a ratio of 35%.

Total revenue is $8,000. Total contribution is $3,350 plus $900 plus $875, which is $5,125. Fixed costs for the month are $3,000. Profit is $2,125.

Now look at the shares. The service line is 31% of revenue but only 17% of contribution. The template pack is 19% of revenue and 18% of contribution. The software is half the revenue and about two thirds of the contribution.

If you’d only looked at revenue, you’d have ranked the service a strong second. By contribution it’s last.

The ratio and the dollars both matter

There are two ways to state contribution, and each one answers something different.

The contribution margin ratio is contribution divided by that line’s revenue. It tells you what share of each extra dollar of sales the line keeps. In the example, an extra $100 of software sales adds about $84 to the pot. An extra $100 of service work adds $35. That’s useful when you’re deciding where to push for more sales, because it tells you what a dollar of growth is worth in each line.

Contribution in dollars tells you how much the line actually pays toward fixed costs right now. A line with a lovely 90% ratio on $200 of revenue contributes $180, which won’t cover much. A line with a mediocre 40% ratio on $10,000 contributes $4,000, which might be what keeps the lights on.

Founders sometimes chase the ratio and forget the dollars, or the other way round. The first mistake leads to neglecting a big, unglamorous line that’s doing the heavy lifting. The second leads to piling effort into volume on a line that keeps very little of each sale.

Look at both. The ratio says where growth is cheapest. The dollars say what you can’t afford to lose.

What counts as a variable cost

The test is simple to state. If sales of this line went to zero next month, would the cost go to zero too? If yes, it’s variable and it belongs to the line. If no, it’s fixed and it stays out.

Some cases are easy. Payment processing fees scale with each charge. Marketplace commissions scale with each sale. A contractor paid per project scales with projects. Affiliate payouts scale with referred sales.

Some are harder. Hosting is often a step cost: it stays flat until you outgrow a tier, then jumps. For a line that’s a clear driver of server load, treat the part you can attribute as variable. For hosting that’s genuinely shared, like one server running your website and three products, it’s more honest to leave it in fixed costs than to invent a split.

Advertising is tricky too. Ad spend aimed squarely at one product, with a landing page that only sells that product, can reasonably come off that line’s contribution. Brand-level marketing that lifts everything shouldn’t be forced onto any single line.

Refunds and chargebacks belong to the line they came from. A product with a high refund rate should carry those refunds in its revenue, or its contribution will look better than it is.

When a cost doesn’t fit cleanly, pick a rule, write it down and apply it the same way every month.

The cost a solo founder forgets: your own hours

In a one-person business the biggest variable cost often never shows up in the books. It’s your time.

Go back to the example. Suppose the software takes about 10 of your hours a month in support and maintenance. The template pack takes 5, mostly answering buyer questions. The setup service, even with a contractor, takes 40 hours of scoping calls, reviews and client emails.

Divide each line’s contribution by those hours. The software leaves $335 per hour of your time. The templates leave $180. The service leaves under $22.

That changes the picture again. If your time is the thing you’re shortest of, and for most solo founders it is, the line that uses it least well is the first candidate for a price rise, a narrower scope or a slow wind-down. The service line has a positive contribution, so it’s paying its way on paper. It just pays very little for the hours it eats.

You could put a notional hourly rate on your time and subtract it as a variable cost, and some people do. I prefer keeping it as a separate column, contribution per hour, so the money figures stay tied to real invoices and the time cost is visible without being mixed in. Either works, as long as you don’t leave the hours out entirely.

What a price rise does, line by line

Contribution makes one thing about pricing very visible: a price rise on a line drops almost entirely into that line’s contribution, and the effect is biggest where the ratio is lowest.

Take the service line again. It brings in $2,500 on $1,625 of variable costs. Raise its price by 20% with the same volume of work and revenue becomes $3,000. The contractor still costs $1,500, the tool still costs $50, and payment fees rise slightly to about $90. Contribution goes from $875 to about $1,360. A 20% price change produced a rise of more than half in what the line leaves behind.

Do the same to the software. Revenue goes from $4,000 to $4,800, and payment fees rise a little, so contribution moves from $3,350 to roughly $4,120. That’s a rise of about 23%, close to the price change itself, because the line was already keeping most of each dollar.

This is why thin-margin lines are the most sensitive to pricing, in both directions. A small discount on a line with a 35% ratio eats a large share of its contribution. A small increase repairs a lot of it.

It also tells you where the risk of a price rise is worth taking. If a rise on the service line loses a few clients, the hours it frees up were earning very little anyway. The price rise explainer on this site goes into what happens to the customers you already have, which is the other half of that decision.

The allocation trap

Here’s the mistake that makes this whole exercise dangerous if you get it wrong.

Someone decides that a fair profit picture needs every line to carry its “share” of fixed costs. They split the $3,000 of fixed costs in proportion to revenue. The software gets $1,500, the template pack $562.50 and the service $937.50.

Now the service line looks like this: $875 of contribution, minus $937.50 of allocated overhead, equals a loss of $62.50. On the spreadsheet, it’s losing money. The obvious move is to drop it.

So they drop it. Next month, revenue from the other two lines is unchanged. Contribution is $3,350 plus $900, which is $4,250. Fixed costs are still $3,000, because the accounting software and the website and the founder’s own salary didn’t go anywhere. Profit falls from $2,125 to $1,250.

The line that “lost” $62.50 was contributing $875 toward costs that don’t disappear when it does. Removing it removed the $875 and left the costs behind.

That’s why contribution margin, rather than allocated profit per line, is the number to decide with. Fixed cost allocation answers an accounting question. It doesn’t answer “what happens if I stop selling this”, and that’s the question you actually have.

When a line really should go

None of this means every line with a positive contribution is worth keeping. It means the decision needs better reasons than an allocation.

The first good reason is a negative contribution. If a line’s variable costs exceed its revenue, every sale makes the business poorer, and more volume makes it worse. That happens more than you’d think: a heavily discounted plan whose API costs have crept up, a service priced before the contractor raised their rate, a product sold mostly through a channel that takes a huge cut.

The second is opportunity cost. The service in the example contributes $875, but it takes 40 hours. If those 40 hours could produce more than $875 of contribution somewhere else, dropping it and redirecting the time is a better month. That’s a real trade, but only if you’d actually use the hours on the better line, and only if the other line has room to grow.

The third is a fixed cost that genuinely belongs to the line. If a product needs its own dedicated tool subscription or its own licence, and that cost vanishes when the product does, then it’s avoidable. Some people call contribution after those avoidable fixed costs “segment margin”. It’s the right figure for a keep-or-drop decision.

What’s not a good reason is a share of overhead that stays whether the line exists or not.

Bundles and shared sales

Some sales don’t belong to one line. A customer buys the software with a setup package at a combined price, or a template pack comes free with an annual plan. Contribution per line needs a rule for splitting that revenue, or the bundle will distort both lines.

The most defensible rule is to split bundle revenue in proportion to the standalone prices. If the software alone costs $600 a year and setup alone costs $400, a $900 bundle is 60% software and 40% setup, so $540 and $360. Each line’s variable costs stay with it as usual: the contractor still costs what the contractor costs.

A common shortcut is to put the entire discount on one line, usually the one the founder thinks of as the add-on. That makes the add-on look far less profitable than it is when sold alone, and it makes the main product look slightly better. Neither picture helps you price the next bundle.

Free add-ons are the extreme case. If the template pack is given away with every annual plan, its revenue in that bundle is zero and its variable costs, maybe a marketplace fee or a delivery cost, still exist. Either treat that cost as part of the software line’s cost of selling, which is honest if the pack is really a sweetener, or give the pack a notional share of the plan price. Pick one and say which.

Breakeven with more than one line

Contribution also tells you how much you need to sell to cover your fixed costs, which is the plainest way I know to answer “how far am I from safe”.

With one product, breakeven revenue is fixed costs divided by the contribution margin ratio. At $3,000 of fixed costs and an 84% ratio, you’d need about $3,571 of software revenue.

With several lines, you need the blended ratio, weighted by the current mix. In the example, total contribution of $5,125 on $8,000 of revenue is a blended ratio of about 64%. Breakeven revenue at that mix is $3,000 divided by 0.64, roughly $4,680.

The catch is “at that mix”. If next month’s sales lean more toward the service line, the blended ratio drops and breakeven rises. If they lean toward software, breakeven falls. The same total revenue can be comfortably profitable or barely covering costs depending on which lines produced it.

That’s a good reason to watch the mix, not just the total. A growing top line built mostly from your lowest-contribution offer can leave you working harder for roughly the same profit.

Contribution by plan inside one product

The same split works inside a single subscription product, and it’s often where the surprises are.

Take a SaaS with three plans. The entry plan is cheap and mostly light users. The middle plan is where most customers sit. The top plan includes a generous allowance of some expensive thing, maybe AI-generated output, file storage or outbound messages, that you pay a third party for per use.

Per-plan revenue is easy to pull from billing. Per-plan variable cost takes one extra step: tagging usage-based costs to the accounts that caused them. Most API providers and storage services will give you usage per key or per account, and a monthly export joined on account ID is enough.

What often comes out is that the top plan’s ratio is lower than expected, because its heaviest users consume far more than the price assumed. Sometimes the entry plan comes out better than expected, because light users barely touch anything metered.

A free tier can be treated as its own line with zero revenue and real variable cost. Its contribution is negative by construction. That isn’t automatically bad, since a free tier can feed paid signups, but it should be a known cost with a known purpose, not something discovered by accident on the hosting bill.

A service business has lines too

Everything above assumes a mix of products, but a pure service business can be split the same way, and it’s often where the numbers are most surprising.

The lines in a service business are usually packages or client types. A fixed-price audit, a monthly retainer, ad hoc hourly work, and maybe a small training offer. Revenue per line is easy. Variable costs are mostly subcontractors and the software each job needs. Contribution per line in dollars is often similar across them.

The real difference shows up in contribution per hour. A fixed-price audit with a tight scope and a template might leave three times as much per hour as hourly work does, simply because hourly work carries all the scoping, chasing and context switching that never gets billed. A retainer might sit in between, reliable but prone to scope drift that nobody tracks.

Because hours are the constraint, the per-hour column usually drives the decision. Raise the price of the line that pays least per hour, tighten its scope, or steer new enquiries toward the package that uses your time best.

The one thing to be careful of is counting unbilled hours honestly. The hours that matter are all the hours a line takes, including admin and email, not only the billable ones. If you only count billed time, every line looks better than it is and the worst offenders look best.

Watching contribution move over time

A single month is a snapshot, and product lines drift. Three kinds of drift are worth watching.

Cost creep is the quiet one. A third-party provider raises its per-call price, a contractor’s rate goes up, a marketplace changes its fee. Revenue for the line looks the same, but contribution shrinks. Tracking the ratio monthly catches it within a cycle or two instead of at year-end.

Discount drift is the second. Promotions, founding-member deals and legacy pricing accumulate. A line whose list price hasn’t changed can see its effective price fall year after year as more customers sit on older or discounted plans. The contribution ratio will show it even when the price sheet doesn’t.

Mix drift is the third, and it’s the one I described in the breakeven section. As lines grow at different speeds, the business’s overall margin changes even if nothing about any single line does.

A simple monthly table covers all three: one row per line, with revenue, variable costs, contribution, the ratio and your hours. Put the last six months side by side and changes that would never be visible in total profit stand out immediately.

Mistakes that bend the table

A few errors turn up again and again, and each of them pushes the numbers in a predictable direction.

Payment processing left in fixed costs is the most common. It feels like a general business cost, but it scales with every charge on every line. Leaving it out of the lines makes each one look a little better and makes fixed costs look higher than they are.

Refunds are the next. If a line’s revenue is booked gross and refunds are tracked somewhere else, the lines with the most refunds get flattered the most.

Timing mismatches cause trouble too. An annual plan paid up front counts as a year of revenue in one month if you work from cash, while its hosting cost arrives monthly. Use the monthly equivalent of annual plans, the same way recurring revenue does, and the line stops lurching from month to month.

Counting your own time twice is a subtler one. If you’ve subtracted a notional hourly rate as a variable cost, and then also pay yourself a salary listed in fixed costs, your time is in the table twice and every line looks worse than it is.

The last is comparing lines on different periods. A line that launched mid-month should be compared on a full month’s run rate, or left out of the comparison, until it has one.

What contribution margin cannot tell you

Contribution margin treats each line as if it stood alone. Real businesses aren’t that tidy.

Lines feed each other. The template pack might be how half your software customers first found you. The service might be where you learn what to build next. Cut a low-contribution line and you might cut the top of the funnel for a high-contribution one. The per-line numbers can’t see those links. You have to ask about them directly: where did my best customers come from, and what did they buy first?

It can’t tell you about the future. A new line often starts with poor contribution because its costs are front-loaded and its prices are experimental. Judging it on month two is premature. The reverse is also true: a mature line with great contribution might be quietly shrinking.

It can’t settle strategy. A line might be worth keeping at a thin margin because it keeps a key customer happy, or worth dropping at a decent margin because it pulls the business somewhere you don’t want to go. Those are judgment calls that the figure informs without making.

And, as ever, it’s a tool for understanding your own numbers, not advice on what your business should do. Accounting treatments vary, and if you’re preparing figures for tax or for a buyer, an accountant should set the rules.

The spreadsheet that does all of this

You don’t need anything clever. One tab, a row per product line, and these columns:

Revenue for the month, net of refunds and discounts. Variable costs, itemised in a second tab so you can see what’s in them. Contribution in dollars. Contribution as a ratio of revenue. Your hours spent on the line. Contribution per hour.

Below the rows, total contribution, then fixed costs listed on their own, then profit.

Two rules keep it honest. Never put a fixed cost into a line’s row unless it would genuinely disappear with that line. And never change what counts as variable without writing down the change and when you made it, so next quarter’s numbers can be compared with this one’s.

Pulling the data is usually the slowest part the first time. Billing exports give revenue by product or plan. Payment processor exports give fees per charge, which you can join to products. Marketplaces and affiliate platforms report their cuts per sale. Contractor invoices are already per job. After the first month, a template makes it a short monthly chore.

What to do on Monday

Start with the list of offers. Write down every distinct thing you sell, including the small ones you forget about and the free tier if you run one.

For last month, find each line’s revenue. Then list the costs that would disappear if that line disappeared, and total them. Subtract. That’s contribution for each line.

Put a rough number on the hours each line took. Your calendar and your inbox will get you close enough.

Add up contribution across lines and compare it with your fixed costs. If contribution is comfortably above fixed costs, you know by how much. If it isn’t, you know which lines are doing the least to close the gap.

Then resist the urge to allocate overhead to make the table look complete. Leave fixed costs in their own row. When you’re tempted to drop a line, ask what would actually change in next month’s numbers if it were gone, and compute that instead.

The other metric explainers, from gross margin to unit economics to the ways a few customers can dominate revenue, are collected on the Data Research Analysis Collection home page.

Get new guides and videos first — join the Telegram channel.