Module 04 · Profit & Profitability

Every Profitability Formula on One Page

Profit formulas cheat sheet with COGS, gross margin, net margin, markup and break-even units, each worked on one example of 3,600 servings at $25 each.

6 min readLesson 9 of 14 in this moduleUpdated 2026-08-25

Core profitability formulas: COGS = Opening Inventory + Purchases − Closing Inventory. Gross Margin = Gross Profit ÷ Revenue. Net Margin = Net Profit ÷ Revenue. Markup = Profit ÷ Cost. Break-Even (units) = Fixed Costs ÷ (Price − Variable Cost per Unit). Each is expressed as a percentage unless stated otherwise. This page collects all of them in one place, worked through against a single consistent example, so you can check your own numbers against real arithmetic rather than reconstructing the formulas from memory.

Key takeaways

  • Profit is calculated in layers: gross profit, then operating profit, then net profit — each one subtracts one more category of cost.
  • Margin divides profit by revenue or selling price; markup divides the same profit by cost. They are never the same number.
  • Contribution margin — price minus variable cost per unit — is the number that drives break-even analysis.
  • Work formulas from the top down: fixing a thin gross margin by cutting overhead doesn't work, because the two live at different layers.
  • Every formula below uses the same running example, so you can see how one business's numbers move through all of them.

The reference business used throughout this page

Sunrise Kitchen sells 3,600 servings a month at $25 each. Ingredients cost $10 per serving. Monthly operating expenses (rent, wages, utilities, and the owner's own $10,000 salary) total $40,000, plus $1,000 of loan interest. These same numbers run through every formula below.

Cost of goods sold

COGS = Opening Inventory + Purchases − Closing Inventory

Cost of goods sold (COGS)

For a business selling manufactured or purchased goods, this is the direct cost of what was actually sold this period — not everything spent on inventory. What counts as COGS changes by business type: a retailer's COGS is purchase cost plus freight; a service business instead reports cost of service. Sunrise Kitchen's ingredient and packaging cost for the month is $36,000 — exactly $10 per serving across 3,600 servings.

Gross profit and gross margin

Gross Profit = Revenue − COGS

Gross profit

Gross Margin = Gross Profit ÷ Revenue × 100

Gross margin

Revenue $90,000 − COGS $36,000 = gross profit $54,000. Gross margin = $54,000 ÷ $90,000 = 60%. Gross margin isolates whether your pricing covers direct costs — nothing about rent or wages has entered the calculation yet.

Operating profit

Operating Profit = Gross Profit − Operating Expenses

Operating profit

Gross profit $54,000 − operating expenses $40,000 = operating profit $14,000, a 15.6% margin. Operating expenses cover the cost of running the business day to day — rent, wages, utilities — regardless of what was sold that specific month.

Net profit and net margin

Net Profit = Operating Profit − Non-Operating Expenses (interest, tax)

Net profit

Net Margin = Net Profit ÷ Revenue × 100

Net margin

Operating profit $14,000 − loan interest $1,000 = net profit $13,000. Net margin = $13,000 ÷ $90,000 = 14.4%. Gross margin and net margin measure different things: gross margin checks pricing against direct cost, net margin checks the whole business, top to bottom.

Markup

Markup % = (Selling Price − Cost) ÷ Cost × 100

Markup

Markup uses the same profit figure as margin but divides it by cost instead of selling price — and the two numbers are never equal for the same sale. A $10 ingredient cost per serving marked up to a $25 price is a 150% markup, but only a 60% margin, on that same serving: $15 profit ÷ $10 cost = 150%; $15 profit ÷ $25 price = 60%.

Markup = Margin ÷ (1 − Margin)

Convert margin to markup

Contribution margin

Contribution Margin = Selling Price − Variable Cost per Unit

Contribution margin per unit

$25 price − $10 variable ingredient cost = $15 contribution margin per serving, a 60% contribution margin ratio. This is the number break-even analysis is built on — every serving sold contributes $15 toward covering fixed costs, before any profit begins.

Break-even point

BEP (units) = Fixed Costs ÷ (Price − Variable Cost per Unit)

Break-even point (units)

BEP ($) = Fixed Costs ÷ Contribution Margin Ratio

Break-even point (revenue)

Fixed costs of $41,000 (operating expenses $40,000 + interest $1,000) ÷ $15 contribution margin per serving = 2,733.3 → 2,734 servings/month, or $41,000 ÷ 0.60 = $68,333.33 in revenue. Sunrise Kitchen actually sells 3,600 servings — 866.7 servings past break-even, worth 866.7 × $15 = $13,000, which is exactly the net profit figure above. Break-even and net profit are two views of the same underlying math.

All ten formulas, in one table

What you're calculating Formula Sunrise Kitchen's result
COGS Opening Inventory + Purchases − Closing Inventory $36,000
Gross Profit Revenue − COGS $54,000
Gross Margin Gross Profit ÷ Revenue × 100 60.0%
Operating Profit Gross Profit − Operating Expenses $14,000
Net Profit Operating Profit − Non-Operating Expenses $13,000
Net Margin Net Profit ÷ Revenue × 100 14.4%
Markup (Price − Cost) ÷ Cost × 100 150.0%
Contribution Margin Price − Variable Cost per Unit $15.00/serving
Break-Even (units) Fixed Costs ÷ Contribution Margin 2,734 servings
Break-Even ($) Fixed Costs ÷ Contribution Margin Ratio $68,333.33

The order these formulas should be checked in

Work from the top of the table down, not by jumping straight to the one that feels most urgent. If gross margin is already thin, no amount of trimming operating expenses will fix net margin — the problem lives in pricing or COGS, and has to be solved there first. If gross margin is healthy but net margin is thin, overhead is the place to look, not the price tag. And before setting a price at all, run it through the markup-to-margin conversion — pricing by markup when you meant margin is one of the most common ways these numbers go wrong before a single sale is even recorded.

Doing this in Reyuko

Reyuko calculates most of these formulas from your ledger automatically rather than requiring a separate spreadsheet. The Income Statement report, under Reporting, is generated live from posted transactions and shows revenue, COGS, gross profit, operating expenses, and net profit as a single structured statement — gross margin and net margin are a one-line division away from numbers you don't have to re-enter.

Cost of goods sold specifically is calculated per product using your chosen costing method — Average, FIFO, or LIFO — pulled from real purchase batches rather than a manual estimate. Break-even and contribution margin aren't dedicated report types, but the Budget module lets you set fixed-cost targets by account and compare them against actual spend, giving you the fixed-cost figure the break-even formula needs, already organized rather than reconstructed. The Income Statement and COGS calculation are part of Reyuko's free edition; Budget is included from the paid tiers upward.

Keep this page for quick reference

Bookmark this table rather than re-deriving any of these formulas from scratch next time a number needs checking. If you want the full explanation and worked reasoning behind any one of them, each links to its own dedicated page above — COGS, markup vs margin, break-even point, and gross margin vs net margin.

Quick self-test: fill in the blanks

A business has $120,000 revenue, $48,000 COGS, $50,000 operating expenses, and $4,000 interest. Gross profit? Gross margin? Operating profit? Net profit? Net margin?

Gross profit = $120,000 − $48,000 = $72,000. Gross margin = $72,000 ÷ $120,000 = 60%. Operating profit = $72,000 − $50,000 = $22,000. Net profit = $22,000 − $4,000 = $18,000. Net margin = $18,000 ÷ $120,000 = 15%.

Frequently asked questions

How do I calculate COGS from opening inventory and purchases?

Add opening inventory to purchases, then subtract closing inventory: COGS equals opening inventory plus purchases minus closing inventory. Sunrise Kitchen's ingredient and packaging cost is $36,000 for the month, or $10 across each of 3,600 servings. Stock still on the shelf at month-end is not COGS yet.

What does each margin formula divide by?

Both divide by revenue. Gross margin is gross profit divided by revenue, times 100, and net margin is net profit divided by revenue, times 100. Sunrise Kitchen has $90,000 revenue and $54,000 gross profit, so gross margin is 60 percent. Its net profit of $13,000 gives a 14.4 percent net margin. Gross margin tests pricing; net margin tests the whole business.

Why does the same $15 profit show two different percentages?

Markup divides profit by cost, while margin divides profit by selling price. Each Sunrise Kitchen serving costs $10 and sells for $25, so its $15 profit is a 150 percent markup but a 60 percent margin. Both are correct for the same sale, so always name which one you mean before you set or report a figure.

What divides fixed costs to find break-even servings?

Fixed costs divided by the contribution margin per unit. Sunrise Kitchen's fixed costs are $41,000, made of $40,000 operating expenses and $1,000 interest, and each $25 serving leaves $15 after its $10 ingredient cost. That gives 2,733.3, so 2,734 servings a month, or $68,333.33 in revenue at a 60 percent contribution margin ratio.

Which formula should I check first when my profit looks wrong?

Start at the top and work down, beginning with COGS and gross margin. If gross margin is thin, trimming overhead will not fix net margin, because the problem sits in pricing or direct cost. If gross margin is healthy but net margin is thin, look at operating expenses and interest next.

Which of these formulas does Reyuko work out for me?

The Income Statement under Reporting is built live from posted transactions and shows revenue, COGS, gross profit, operating expenses and net profit. Gross and net margin are a single division away from those lines. COGS is calculated per product from real purchase batches using Average, FIFO or LIFO. The Income Statement and COGS calculation are in the free edition; Budget starts at the paid tiers.

Stop recalculating these by hand

Reyuko's Income Statement and Budget reports pull COGS, gross margin, and net margin straight from your ledger, so these formulas run automatically every time you post a transaction.

Download Reyuko freeSee what's included