Guide · Profit and finance
Profitability analysis for ecommerce: ratios, formulas and examples
What profitability analysis is, the ratios that matter for a webshop, six methods with worked examples, a step-by-step margin analysis and its limits.
- Profitability analysis asks where a store makes and loses money: per period, product, channel, customer group or order, not only in total.
- The core ratios are the margins (gross, contribution, operating, net) and the returns (on assets, on equity); for a webshop add POAS, LTV:CAC and average order profit.
- Compare each ratio three ways: against the same period last year, as a share of revenue, and per segment.
- Margin analysis is a habit, not a one-off: pick a period, break margins down, find what moved, act, and check the effect next month.
- Ratios show that something changed, not why; the reason sits in the orders, costs and campaigns behind them.
A store can grow revenue every month and make less money each time. Profitability analysis is how you notice that early and find the cause. It looks at the profit behind the sales, broken down far enough to show which products, channels, customers and costs drive it.
This guide covers what profitability analysis is and what it is for, the ratios to use, six methods with labelled example numbers, how to run a margin analysis step by step, and where the ratios fall short. The formulas for each margin are worked through in detail in the profit margin formula guide; here the focus is on reading and comparing them.
What profitability analysis is
Profitability analysis is the systematic study of the profit a business earns from its different parts: products, product groups, sales channels, customer segments, regions and campaigns. It answers three questions:
- How profitable are we? The margins and returns for the business as a whole.
- Where does the profit come from? Which segments earn it, and which consume it.
- What changed? Which costs or prices moved between two periods.
Margin analysis is the part of it that looks at margins line by line: how much of revenue remains after each layer of cost. It is not the same as marginal analysis, which asks what one more unit, euro of ad spend or order adds or costs.
What it is for
The point of the analysis is a decision. Typical ones it supports:
- Pricing: which products can carry a price increase and which are already priced at the limit.
- Range: which products to push, bundle, reprice or drop.
- Marketing budget: which channels and campaigns earn back their spend after product and order costs.
- Costs: which cost line grew faster than revenue: a carrier, a supplier, refunds, software.
- Cash planning: how much profit the coming months will leave for stock, hiring or debt.
Without it, decisions follow revenue and ROAS, which rise happily while profit falls. A product can sell well and lose money on each unit after shipping; a customer group can buy often and return half of it; a campaign can show a strong ROAS on low-margin items.
The ratios to use
Profitability ratios fall into two groups: margin ratios, which compare profit with revenue, and return ratios, which compare profit with what was invested to earn it. A webshop adds a few of its own.
Margin ratios
| Ratio | Formula | What it shows |
|---|---|---|
| Gross margin | (revenue − COGS) ÷ revenue | Pricing against product cost. |
| Contribution margin | (revenue − variable costs) ÷ revenue | What each sale leaves after product, shipping, fees and ads. |
| Operating margin | operating profit ÷ revenue | Whether running the store pays, before financing and tax. |
| Net margin | net profit ÷ revenue | What the business keeps. |
Swipe the table sideways to see every column.
Return ratios
| Ratio | Formula | What it shows |
|---|---|---|
| Return on assets (ROA) | net profit ÷ total assets | How well stock, equipment and cash earn a profit. |
| Return on equity (ROE) | net profit ÷ shareholders' equity | What the owners earn on the money they put in. |
| Return on investment (ROI) | (gain − cost) ÷ cost | Whether one project, campaign or purchase paid back. |
Swipe the table sideways to see every column.
Ecommerce ratios
| Ratio | Formula | What it shows |
|---|---|---|
| POAS | contribution before ads ÷ ad spend | Whether ads earn back their cost in margin, not only in revenue. Above 1 means profit after ads. |
| Average order value | revenue ÷ orders | Basket size; the fixed costs of an order spread over more revenue. |
| Average order profit | contribution after ads ÷ orders | What one order leaves in euros. |
| CAC | marketing spend ÷ new customers | What a new customer costs. |
| Lifetime value | gross profit per customer over time | What a customer earns you across orders. |
| LTV:CAC | lifetime value ÷ CAC | Whether customers are worth what they cost to win. |
| Return rate | returned orders or value ÷ sold | How much revenue comes back, with its shipping and handling lost. |
Swipe the table sideways to see every column.
Six methods of profitability analysis
The same numbers can be read in several ways. Each method below uses the fictional ROASaurus Demo Store.
1. Horizontal analysis: compare periods
Put the same lines next to each other for two or more periods and look at the change. It shows growth and decline per line.
2. Vertical analysis: every line as a share of revenue
Divide every line of the P&L by revenue. Costs that grow with sales stay flat as a percentage; a line whose share rises is the one to investigate.
| Line | Q3 last year | % of revenue | Q3 this year | % of revenue | Change |
|---|---|---|---|---|---|
| Revenue | €210,000 | 100% | €252,000 | 100% | +20.0% |
| Cost of goods sold | €73,500 | 35% | €95,760 | 38% | +30.3% |
| Shipping and fees | €18,900 | 9% | €22,680 | 9% | +20.0% |
| Marketing | €50,400 | 24% | €68,040 | 27% | +35.0% |
| Overheads | €33,600 | 16% | €35,280 | 14% | +5.0% |
| Operating profit | €33,600 | 16% | €30,240 | 12% | −10.0% |
Swipe the table sideways to see every column.
Read together: revenue grew 20%, operating profit fell 10%. Vertical analysis points at two lines: COGS rose from 35% to 38% of revenue (a supplier price, a mix shift to cheaper products, or more discounting), and marketing from 24% to 27% (growth was bought with ads). Overheads fell as a share, so that is not the problem.
3. Cost-volume-profit analysis: the break-even point
Cost-volume-profit (CVP) analysis asks how much you need to sell to cover your fixed costs, given the margin each sale leaves.
Fixed costs of €35,000 a month and a 28% contribution margin after ads: €35,000 ÷ 0.28 = €125,000 of revenue a month before the store makes a profit.
4. Segment analysis: who earns the profit
Split the result by product, channel, country, customer type or discount code. Totals average good and bad segments into one figure; segments separate them.
| Channel | Revenue | Contribution before ads | Ad spend | Profit after ads | POAS |
|---|---|---|---|---|---|
| Meta prospecting | €60,000 | €27,000 | €24,000 | €3,000 | 1.13 |
| Google Shopping | €48,000 | €21,600 | €12,000 | €9,600 | 1.80 |
| Meta retargeting | €18,000 | €8,100 | €3,000 | €5,100 | 2.70 |
| €30,000 | €13,500 | €900 | €12,600 | 15.0 |
Swipe the table sideways to see every column.
5. Contribution margin analysis
Rank products, orders or campaigns by contribution in euros, not by revenue. It shows which ones pay for the fixed costs, and which only add work. A contribution margin view per product often reorders the bestseller list.
6. Trend analysis
Follow one ratio over many periods, ideally monthly for at least a year. One bad month is noise; a margin that slips a little every month for six months is a trend. Seasonal stores should compare each month with the same month a year earlier.
A worked example: one store, four questions
Which ratio to use depends on the part of the business you look at. For the ROASaurus Demo Store, four questions and the ratio that answers each:
| Products: is the Vitamin C Serum priced well? | Gross margin 68% |
|---|---|
| Products: does it still pay after shipping and fees? | Contribution before ads 52% |
| Marketing: do its campaigns earn their spend? | POAS 1.6 |
| Customers: are serum buyers worth acquiring? | LTV:CAC 3.1 after 12 months |
| Business: is the store as a whole profitable? | Operating margin 12% |
None of these ratios alone would justify a decision. Together they say the serum is priced well, earns back its ads with room to spare and brings customers who return: a candidate for more budget, while the store-level operating margin says the overheads deserve a look too.
How to run a margin analysis, step by step
- Choose the period
A month for regular reviews, a quarter or a year for strategy. Compare it with the same period last year, not only the one before, to take seasonality out.
- Choose the unit and the decision
Product, channel, campaign, country or customer group, and what you want to decide: price, budget, range, supplier.
- Get the data consistent
One currency, one time zone, revenue after discounts and refunds without VAT, product costs valid for the period, and ad spend for the same dates.
- Break margins down
Gross, contribution before and after ads, operating and net, in euros and as a share of revenue, for the whole store and each segment.
- Find what moved
Look for the line whose share of revenue changed most, then drill into it: which products, campaigns, carriers or codes.
- Compare
With your own history first, then with stores that sell similar products in similar markets.
- Decide and check
Pick one change, write down the expected effect, and look at the same analysis next month.
Metrics for analysing retail and webshop profitability
Beyond the margins, six figures explain most of what happens to a store's profit:
- POAS per campaign and channel: the margin each euro of ads brings back.
- Average order value: bigger baskets spread shipping and payment fees over more revenue.
- Average order profit: the euros one order leaves after its costs and its share of ads.
- CAC: what a new customer costs, against what their first order earns.
- Lifetime value: what customers earn over time, best measured in gross profit, not revenue; see customer lifetime value.
- Return rate: each return costs shipping twice, handling and often the product's resale value.
Use them to set prices that protect the margin, cut the costs that grew without a reason, judge marketing by profit rather than revenue, find the products that really carry the store, and plan cash with the profit you can expect rather than the revenue.
What counts as a good ratio
There is no single good number. A margin depends on what you sell, how you sell it and what stage the store is in: a brand that makes its own products keeps a higher gross margin than a reseller; a store that buys customers with ads needs a higher margin before ads than one that lives on repeat orders. Three comparisons are more useful than a universal target:
- Your own trend. The same ratio, same period last year. Direction matters more than level.
- Your own requirements. Contribution before ads must cover your CAC; contribution after ads must cover your overheads. Working back from your fixed costs gives the margin you need.
- Similar stores. Peer data for the same category and region. Our profit margin benchmarks and the guide to a good profit margin explain how to read them.
The limits of profitability ratios
Ratios are a summary, and a summary leaves things out:
- They show what, not why. A falling gross margin can be a supplier, a discount, a product mix or refunds. You find out in the orders behind it.
- They depend on the inputs. Missing product costs or unrecorded fees make every ratio look better than it is.
- They ignore timing and cash. A profitable month can still empty the bank when stock was bought in bulk; see profit vs cash flow.
- A good ratio can hide a small business. A 40% net margin on very little revenue does not pay the bills; read margins next to the euro amounts.
- Accounting choices change them. Whether shipping is revenue or a cost reduction, when refunds are booked, how stock is valued: decide once and keep to it, or the comparison over time breaks.
How to run profitability analysis in ROASaurus
ROASaurus keeps the inputs together: orders and refunds from your store, product costs, shipping and fee rules, ad spend imported per day and the overheads you add. The ratios update as orders arrive.
Profit › Overview- Open Profit › Overview and choose the period; change badges compare each figure with the previous period or the same period last year.
- Read revenue, total costs, gross profit, contribution, net profit, blended ROAS, break-even ROAS and POAS; filter by new or returning customers and one-time or subscription orders.
- For vertical and horizontal analysis, open Profit › P&L by month and show amounts, % of sales or both.
- For segment analysis, use Profit › Products per product or variant, Profit › Breakdowns per discount code, payment gateway, shipping country and sales channel, and Marketing › Channels & campaigns › Profit per campaign for POAS per campaign.
- For customer ratios, Customers › LTV & cohorts shows lifetime value, LTV:CAC and cohorts by month of first order.

Actions › Recommendations › Profit insights lists the biggest risk and opportunity it finds in the period, such as campaigns that lose money after costs or a rising refund rate.
Start freeOpen the live demo14-day trial of every feature, no credit card.
Related pages
- Profit margin formula
- How to increase profit margin
- Profit and loss statement
- Profit leaks
- Profit margin benchmarks
- What is a good profit margin?
- Gross vs operating vs net profit
- Marginal analysis
- Christmas marketing
- Christmas products
- Contribution margin
- Contribution margin calculator
- Profit analytics in ROASaurus