How the five ratios work
The five ratios read the income statement from top to bottom. Gross margin is gross profit divided by revenue: revenue of $1,000,000 minus cost of goods sold of $600,000 is $400,000 of gross profit, and $400,000 ÷ $1,000,000 is 40.00% — forty cents of every sales dollar survives the direct cost of what was sold. Operating margin is operating income divided by revenue: $400,000 minus $250,000 of operating expenses is $150,000, and $150,000 ÷ $1,000,000 is 15.00% — fifteen cents survive the overhead. Net margin is net income divided by revenue: $150,000 minus $20,000 of interest is $130,000 of pre-tax income, 20% tax is $26,000, so net income is $104,000, and $104,000 ÷ $1,000,000 is 10.40%. Return on assets is net income divided by total assets: $104,000 ÷ $800,000 is 13.00% — thirteen cents earned per dollar of assets. Return on equity is net income divided by equity: $104,000 ÷ $500,000 is 20.80% — nearly twenty-one cents per dollar the owners put in.
The worked example, line by line
Setup: revenue $1,000,000, cost of goods sold $600,000, operating expenses $250,000, interest $20,000, tax rate 20%, total assets $800,000, equity $500,000.
Line 1 — gross profit and margin. $1,000,000 − $600,000 = $400,000, and $400,000 ÷ $1,000,000 = 40.00%.
Line 2 — operating income and margin. $400,000 − $250,000 = $150,000, and $150,000 ÷ $1,000,000 = 15.00%.
Line 3 — pre-tax income, tax, and net income. $150,000 − $20,000 = $130,000 of pre-tax income; 20% of $130,000 is $26,000 of tax; $130,000 − $26,000 = $104,000 of net income, and $104,000 ÷ $1,000,000 = 10.40% net margin.
Line 4 — ROA and ROE. $104,000 ÷ $800,000 = 13.00% return on assets; $104,000 ÷ $500,000 = 20.80% return on equity. The ROE is higher because the business holds $800,000 of assets against $500,000 of equity — the other $300,000 is debt, and debt that earns more than it costs lifts the owners' return.
Branch — the retailer: revenue $2,000,000, COGS $1,500,000, opex $350,000, interest $10,000, tax 20%, assets $1,200,000, equity $600,000. Gross is $500,000 ÷ $2,000,000 = 25.00%; operating is $150,000 ÷ $2,000,000 = 7.50%; pre-tax is $140,000, tax is $28,000, net income is $112,000, net margin 5.60%; ROA is $112,000 ÷ $1,200,000 = 9.33%; ROE is $112,000 ÷ $600,000 = 18.67%. Thin margins, but the ROE is still respectable because the business is leveraged two-to-one.
Branch — the SaaS business: revenue $500,000, COGS $100,000, opex $300,000, no interest, tax 20%, assets $400,000, equity $200,000. Gross is $400,000 ÷ $500,000 = 80.00%; operating is $100,000 ÷ $500,000 = 20.00%; net income is $80,000, net margin 16.00%; ROA 20.00%; ROE 40.00%. Software costs almost nothing to deliver, so the gross margin is huge — and the heavy spending is in operating expenses, not in the product.
Branch — the loss-maker: revenue $300,000, COGS $200,000, opex $150,000, interest $5,000, tax 0% (a loss pays no tax), assets $500,000, equity $250,000. Gross is $100,000 ÷ $300,000 = 33.33%; operating is −$50,000 ÷ $300,000 = −16.67%; pre-tax is −$55,000, tax is $0, net income is −$55,000, net margin −18.33%; ROA −11.00%; ROE −22.00%. The gross margin looks fine — a third of every sales dollar survives the direct costs — but the overhead eats it and more, which is exactly the pattern of a business that prices well and spends badly.
Branch — high leverage: the defaults with equity of $200,000 instead of $500,000. Every ratio is unchanged except the ROE: $104,000 ÷ $200,000 = 52.00%. Leverage only moves the return on equity, because the equity is the only denominator that changed — the same profit divided by a smaller equity base is a bigger percentage, and the same is true in reverse when the business loses money.
Output · formula · meaning
| Output | Formula | What it means |
| Gross margin | (Revenue − COGS) ÷ revenue | 40.00% at the defaults. |
| Operating margin | (Gross profit − opex) ÷ revenue | 15.00% at the defaults. |
| Net margin | Net income ÷ revenue | 10.40% at the defaults. |
| Return on assets (ROA) | Net income ÷ total assets | 13.00% at the defaults. |
| Return on equity (ROE) | Net income ÷ equity | 20.80% at the defaults. |
| Retailer branch | 2,000k rev, 1,500k COGS | Gross 25.00%, net 5.60%, ROA 9.33%, ROE 18.67%. |
| SaaS branch | 500k rev, 100k COGS | Gross 80.00%, net 16.00%, ROA 20.00%, ROE 40.00%. |
| Loss-maker branch | 300k rev, 150k opex | Gross 33.33%, net −18.33%, ROA −11.00%, ROE −22.00%. |
| High-leverage branch | Same as defaults, equity 200k | ROE 52.00%, all other ratios unchanged. |
Who uses this
- The small-business owner: enters $1,000,000 of revenue and learns the gross margin is 40.00%, the operating margin 15.00%, and the net margin 10.40% — ten cents of every sales dollar survives to the bottom line, and the ROA of 13.00% says the assets earn their keep.
- The investor comparing two stocks: sees a retailer at 25.00% gross and 5.60% net against a SaaS business at 80.00% gross and 16.00% net, and learns the difference is the business model, not the management — software costs almost nothing to deliver.
- The owner of a losing business: enters $300,000 of revenue and learns the gross margin is 33.33% but the net margin is −18.33% — the pricing is fine, the overhead is the problem, and the fix is spending, not sales.
- The lender checking leverage: sees the ROE jump from 20.80% to 52.00% when equity falls from $500,000 to $200,000 and learns that a high ROE can mean a good business or a heavily borrowed one — the ROA of 13.00% is the number that does not move.
Accuracy & limitations
The math is exact for the seven numbers you enter, but the ratios are only as good as the financial statements they come from. All seven inputs must come from the same period — mixing this year's revenue with last year's assets gives a ratio that means nothing — and the balance-sheet numbers (assets and equity) should be the period-end figures or, better, the average of the opening and closing balances. The tax line is a simplification: the calculator applies your tax rate to pre-tax income and charges no tax on a pre-tax loss, which matches the loss-maker branch, but real tax includes credits, carryforwards, and different rates on different kinds of income. The margins also ignore timing — a business can show a 10.40% net margin and still run out of cash if its customers pay late — and they ignore quality: revenue booked this year that is never collected still counts. Compare a business against its own past ratios and its industry peers, not against a single number: a 5.60% net margin is thin for software and normal for a supermarket. This is an educational tool, not financial advice.
Cite this calculatorBright Side Kit. “Profitability Ratios Calculator: Margins, ROA & ROE.” brightoolbox.com, 2026. Formulas: gross margin = (revenue − COGS) / revenue; operating margin = (gross profit − operating expenses) / revenue; net margin = net income / revenue; ROA = net income / total assets; ROE = net income / equity. Tax is charged at the entered rate on positive pre-tax income only.Bright Side Kit. "Profitability Ratios Calculator: Margins, ROA & ROE" https://brightoolbox.com/profitability-ratios-calculator/ Accessed October 24, 2026.
Embed this calculatorPaste this into any web page to embed the live calculator. The “Powered by Bright Side Kit” link below it must stay intact.