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.

Updated · 10 min read

By the ROASaurus team

The short answer
  • 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

RatioFormulaWhat it shows
Gross margin(revenue − COGS) ÷ revenuePricing against product cost.
Contribution margin(revenue − variable costs) ÷ revenueWhat each sale leaves after product, shipping, fees and ads.
Operating marginoperating profit ÷ revenueWhether running the store pays, before financing and tax.
Net marginnet profit ÷ revenueWhat the business keeps.

Swipe the table sideways to see every column.

Return ratios

RatioFormulaWhat it shows
Return on assets (ROA)net profit ÷ total assetsHow well stock, equipment and cash earn a profit.
Return on equity (ROE)net profit ÷ shareholders' equityWhat the owners earn on the money they put in.
Return on investment (ROI)(gain − cost) ÷ costWhether one project, campaign or purchase paid back.
A store that holds a lot of stock can have a healthy net margin and a weak return on assets: the profit is real, but it ties up a lot of money.

Swipe the table sideways to see every column.

Ecommerce ratios

RatioFormulaWhat it shows
POAScontribution before ads ÷ ad spendWhether ads earn back their cost in margin, not only in revenue. Above 1 means profit after ads.
Average order valuerevenue ÷ ordersBasket size; the fixed costs of an order spread over more revenue.
Average order profitcontribution after ads ÷ ordersWhat one order leaves in euros.
CACmarketing spend ÷ new customersWhat a new customer costs.
Lifetime valuegross profit per customer over timeWhat a customer earns you across orders.
LTV:CAClifetime value ÷ CACWhether customers are worth what they cost to win.
Return ratereturned orders or value ÷ soldHow 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.

LineQ3 last year% of revenueQ3 this year% of revenueChange
Revenue€210,000100%€252,000100%+20.0%
Cost of goods sold€73,50035%€95,76038%+30.3%
Shipping and fees€18,9009%€22,6809%+20.0%
Marketing€50,40024%€68,04027%+35.0%
Overheads€33,60016%€35,28014%+5.0%
Operating profit€33,60016%€30,24012%−10.0%
Example data for a fictional store. Horizontal analysis reads the last column; vertical analysis reads the % columns.

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.

Break-even revenue=fixed costs ÷ contribution margin ratio

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.

ChannelRevenueContribution before adsAd spendProfit after adsPOAS
Meta prospecting€60,000€27,000€24,000€3,0001.13
Google Shopping€48,000€21,600€12,000€9,6001.80
Meta retargeting€18,000€8,100€3,000€5,1002.70
Email€30,000€13,500€900€12,60015.0
Example data for a fictional store, with a 45% contribution margin before ads on every channel. Prospecting brings the most revenue and the least profit; that does not make it useless, because it also finds the customers email sells to later.

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:

Which ratio answers which questionSample data
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%
Example data for a fictional store and product.

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

  1. 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.

  2. Choose the unit and the decision

    Product, channel, campaign, country or customer group, and what you want to decide: price, budget, range, supplier.

  3. 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.

  4. 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.

  5. Find what moved

    Look for the line whose share of revenue changed most, then drill into it: which products, campaigns, carriers or codes.

  6. Compare

    With your own history first, then with stores that sell similar products in similar markets.

  7. 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.

In ROASaurusProfit › Overview
  1. Open Profit › Overview and choose the period; change badges compare each figure with the previous period or the same period last year.
  2. 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.
  3. For vertical and horizontal analysis, open Profit › P&L by month and show amounts, % of sales or both.
  4. 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.
  5. For customer ratios, Customers › LTV & cohorts shows lifetime value, LTV:CAC and cohorts by month of first order.
The ROASaurus Mac app showing Profit › Overview: revenue, net profit, orders, total costs, gross profit, ad spend, blended ROAS and POAS. Fictional demo store, simulated data.
The ROASaurus iPhone app showing Profit › Overview: revenue, net profit, orders, total costs, gross profit, ad spend, blended ROAS and POAS. Fictional demo store, simulated data.
Profit › Overview: revenue, costs, net profit, break-even ROAS and POAS for the period. Fictional demo store, simulated data.

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.

More guides on profit and finance · All guides

FAQ

Questions, answered

More answers in the FAQ and the help center.

What is profitability analysis?

The study of how much profit a business makes and where it comes from: per period, product, channel, customer segment or region. It uses margins, return ratios and comparisons between periods and segments.

What is margin analysis, and how is it different from marginal analysis?

Margin analysis looks at how much of revenue remains after each layer of cost: gross, contribution, operating and net margin. Marginal analysis asks what one more unit, order or euro of spend adds or costs.

What does a profitability analyst do?

They collect revenue and cost data, calculate margins and returns per product, channel and customer group, explain what changed between periods, and recommend changes to prices, costs or budgets.

What is ROE in profitability analysis?

Return on equity: net profit divided by shareholders' equity. It shows what the owners earn on the money they have in the business, and is most useful when comparing investment options.

Is profitability a KPI?

Yes. Net profit margin, contribution margin after ads and POAS are common profitability KPIs for a webshop. Pick one or two that match the decisions you make most often.

What is a good profitability ratio?

It depends on the category, the business model and the stage of the store. Compare with your own trend, with what your CAC and overheads require, and with stores selling similar products, rather than a single target.

Are asset turnover, the current ratio or debt-to-equity profitability ratios?

No. Asset turnover is an efficiency ratio, the current ratio measures liquidity, and debt-to-equity measures leverage. Return on assets and return on equity are profitability ratios.

How often should you do a margin analysis?

A full analysis monthly, with a quarterly or yearly review for strategy. Stores with large ad budgets benefit from a weekly look at contribution after ads per channel.

How do you calculate the profitability of a store?

Subtract all costs for a period from revenue to get net profit, then divide by revenue for the net margin. For a fuller picture, add contribution margin per product and channel, and returns on assets and equity.

What are the 5 Ps of profitability?

There is no single standard list. The phrase usually adapts marketing's Ps (product, price, place, promotion, people) to profit. The analysis in this guide covers the same ground: product margins, pricing, channels, marketing return and costs.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.