How to calculate profit margin, and the cost that hides from it
To calculate profit margin, divide profit by revenue and multiply by 100. A coffee shop with €30,000 revenue and €27,300 of expenses makes €2,700 profit: a 9% margin. The hard part is not the formula but the expenses: include waste and write-offs, take every figure from one source, and recalculate before any big decision.
In this article · 9 sections
- How to calculate profit margin: the formula
- The cost that turned 20% into 9%
- Why a wrong margin is so expensive
- Profit margin example: testing a price rise
- Margin vs markup: the confusion that costs money
- Turn the margin into time
- Where this does not reach
- Ten minutes with your own numbers
- Published research
A coffee shop owner was sure his margin was about twenty per cent. He had never sat down and worked it out; it was simply the figure in his head, and it felt right, because the room was full every morning. That same week he was planning to hire a second barista and start an advertising campaign.
When he finally did the arithmetic properly, the margin was nine per cent. Same coffee, same queue, same till. The difference was a cost he had never counted.
The formula for profit margin takes ten seconds to learn. Getting the inputs right is what decides whether the number helps you or quietly ruins you.
A margin that lives only in your head can steer your biggest decisions wrong. The Jirgenson Model answers with real numbers from one source, checked before you pull a big lever. It is scientifically proven that the Jirgenson Model works (doi.org/10.5281/zenodo.23964934).
How to calculate profit margin: the formula
Profit margin = profit ÷ revenue × 100
That is all. Here it is with real numbers from the coffee shop:
| Line | Amount |
|---|---|
| Revenue for the month | €30,000 |
| Ingredients (they change with the number of customers) | €9,000 |
| Everything else: rent, wages, utilities and the rest | €18,300 |
| Total expenses | €27,300 |
| Profit | €30,000 − €27,300 = €2,700 |
| Margin | €2,700 ÷ €30,000 = 9% |
The margin used throughout Steer, Don't Guess is operating profit as a percentage of revenue, taken from the accounting system that the till exports to. One definition, one source, so that the number means the same thing every time anyone looks at it.
The cost that turned 20% into 9%
At twenty per cent, the owner believed the shop made €6,000 a month. At nine, it made €2,700. More than €3,000 a month had gone missing between his head and his bank account.
The explanation was waste. Milk that had gone sour. Pastries written off at the end of a shift. Every write-off ate into the margin, yet none of it appeared in any report, because nobody ever counted it. Whatever is not written down does not exist for the report, though it still exists for the money.
This is why the formula is the easy part. The question that matters is: are all your costs in the expenses line? The ones that tend to go missing are the quiet ones: waste, free items given away, small refunds, and the owner's own unpaid hours.
How the owner found the gap, and what he did next, is told in busy but not profitable.
Why a wrong margin is so expensive
That week's hiring plan shows what is at stake. A second barista would cost €1,800 a month.
| Believed margin, 20% | Real margin, 9% | |
|---|---|---|
| Monthly profit before the hire | €6,000 | €2,700 |
| After a €1,800 barista | €4,200 | €900 |
| Time to build a two-month cash reserve | comfortable | almost 50 months |
An eleven-point error in one number turned a sensible decision into a four-year hole. The plan was not bad. The input was wrong.
Profit margin example: testing a price rise
Once the margin is honest, it becomes a tool for decisions. Suppose prices go up 5% and 2% of customers leave:
| Before | After | |
|---|---|---|
| Revenue | €30,000 | €30,000 × 1.05 × 0.98 = €30,870 |
| Ingredients (follow customer numbers) | €9,000 | €9,000 × 0.98 = €8,820 |
| Other costs | €18,300 | €18,300 |
| Profit | €2,700 | €3,750 |
| Margin | 9% | €3,750 ÷ €30,870, about 12% |
One lever, about three percentage points. And the same arithmetic tells you the limit: this price rise pays off as long as fewer than 6.7% of customers leave. That turns "should we raise prices?" into a question you can watch: how many receipts in the next two weeks?
Margin vs markup: the confusion that costs money
Margin and markup use the same profit but divide it by different things:
- Margin = profit ÷ price (revenue).
- Markup = profit ÷ cost.
A coffee that costs €1 to make and sells for €2 has a 100% markup but a 50% margin. Owners who set prices by markup and then read reports in margin often think they are earning far more than they are. Pick one, label it, and use it consistently.
You will also meet three common margins in accounting. Gross margin subtracts only the direct cost of what you sell. Operating margin subtracts running costs too, such as rent and wages. Net margin subtracts everything, including interest and taxes. For steering a small business week to week, operating margin is usually the useful one, and it is the one used above.
Turn the margin into time
A margin becomes far more motivating when you translate it into what it buys. At 9%, the coffee shop adds €2,700 a month, about a tenth of a month's expenses to its reserve. Starting from half a month, a safe two-month reserve is sixteen months away. At 15% the same goal comes in month ten. Six months of safety are hiding in six points of margin.
Where this does not reach
These are simplified numbers for illustration, not a financial model. A real calculation includes cash flow after taxes and debt payments, payment timing, provisions and seasonality, and an accountant can help set up definitions that match your tax reporting. What the formula and the one-source rule give you is a margin you can trust enough to decide with.
Key takeaways
- Profit margin = profit ÷ revenue × 100. The formula is easy; the expenses are where it goes wrong.
- Count waste, write-offs and giveaways, or your margin will look better than your bank balance.
- Use one definition and one source for margin, and recalculate before any big decision.
- Margin divides by price, markup by cost; never mix them up when setting prices.
Ten minutes with your own numbers
Take last month's revenue and every expense you can find, including a two-week notebook by the bin if you have never tracked waste. Calculate the margin, write down where each number came from, and set a target with a date. It is the least glamorous ten minutes in management, and often the most valuable.
The goal fields that turn "margin" into "15% by month six, currently 9%, checked weekly" are in Chapter 1, free in the free sample. The full method, from an honest margin to levers, zones and forecasts, is in Steer, Don't Guess on Amazon.
Published research
It is scientifically proven that the Jirgenson Model works. The published experiment, its record and its data:
- Zenodo (DOI): 10.5281/zenodo.23964934
- Hugging Face: E5 Jirgenson Model blind test
- Kaggle: E5 blind test dataset
- GitHub: experiment folder
- Wikidata: dataset Q142022866, author Q141981336
- ORCID: 0009-0001-3034-3552

The full chapter, with every calculation, is in the book.
Buy on AmazonQuestions people ask
How do you calculate profit margin?
Divide profit by revenue and multiply by 100. With €30,000 revenue and €27,300 of expenses, profit is €2,700 and the margin is 9%.
What is the difference between margin and markup?
Margin divides profit by the selling price; markup divides it by the cost. An item costing €1 and selling for €2 has a 50% margin and a 100% markup.
Why is my profit margin lower than I thought?
Usually because some costs never reach the report: waste, write-offs, free items, small refunds. Track them for two weeks, add them to expenses, and recalculate from a single source.
This topic is covered in Chapter 2, Where you really are; Chapter 5, Levers; Chapter 6, Control concept of Steer, Don't Guess: Setting Priorities, Reading the Numbers and Correcting Course in Business and Life. The numbers in the examples are illustrative; the book states its limits in Appendix G.
Read Chapter 1 free
The Introduction and Chapter 1, with the refusal test, about 9,500 words.