The Formula to Determine Profit Margin Explained (Without the Math Dread)
30 July 2026

The Formula to Determine Profit Margin Explained (Without the Math Dread)
It is usually around 11:00 PM on a Tuesday when the doubt creeps in.
You are staring at an invoice or an open spreadsheet, wondering if you are actually making any money, or if you are just running an expensive hobby that keeps you busy until midnight. You sold a batch of products, the customer paid, but your bank account somehow looks almost as empty as it did before you started.
Somewhere in the back of your mind, you know the words you are looking for: profit margin. You know people talk about them in boardrooms and business podcasts. But when you try to look up the formula to determine profit margin, you are met with a wall of academic jargon about "gross percentages," "net earnings," and "cost of goods sold" that makes your eyes glaze over.
Take a deep breath. You do not need an accounting degree for this.
Profit margin is simply a way to measure how much of every pound, dollar, or rupee you bring in actually stays in your pocket after you pay for what it took to make that sale. Once you understand the basic mechanics, it stops being a scary financial metric and starts being a clear, reliable compass for your business. Let’s break it down together, step by step, until the numbers finally make sense and you can actually exhale.
The Two Flavors of Margin: Gross vs. Net
Before we plug any numbers into a calculator, we need to clear up the most common confusion in business finance. There isn't just one profit margin—there are two main ones you need to care about. Think of them as the big picture and the detailed zoom.
- Gross Profit Margin: This tells you how efficiently you are making or buying your product. It looks only at the direct costs tied to that specific item. If you sell handmade pottery, your gross margin looks at the cost of the clay, the glaze, and the specific box you ship it in.
- Net Profit Margin: This is the bottom line. It is the ultimate truth-teller. It takes your gross profit and subtracts everything else it takes to keep the lights on—rent, software subscriptions, shipping supplies, taxes, and marketing.
If your gross margin is healthy but your net margin is razor thin, it means your production costs are fine, but your overhead is eating you alive. If both are low, you have a pricing problem. Knowing which one you are looking at tells you exactly which lever to pull.
The Formula to Determine Profit Margin (Gross)
Let's start with the first gear in the engine: gross profit.
To find this, you need two pieces of information:
- Revenue: How much the customer paid you for the item.
- Cost of Goods Sold (COGS): What you directly paid to make or acquire that item.
Here is the exact formula to determine profit margin at the gross level:
$$\text{Gross Profit Margin} = \frac{\text{Revenue} - \text{COGS}}{\text{Revenue}} \times 100$$
Notice what we are doing here. We take the money left over after direct costs (that’s your gross profit), divide it by the total revenue to get a decimal, and multiply by 100 to turn it into a neat percentage.
If you want to run these numbers quickly without opening up a manual calculator every time, you can always drop your figures into a dedicated Profit Margin Calculator to see how the percentages shift instantly as you adjust your prices.
Following Maya’s Numbers: A Step-by-Step Example
Let's walk through this with a real, human story. Meet Maya.
Maya runs an independent online shop selling specialty coffee beans. She spends a lot of time sourcing great beans from small farms, roasting them in small batches, and shipping them out to subscribers.
Let's look at one of her popular products: a 12-ounce bag of single-origin roast.
Maya sells this bag to her customers for £15.00 (Revenue).
Now, what does it actually cost her to put that specific bag of coffee into a customer's hands?
- Green coffee beans: £4.00
- The branded bag and valve: £0.80
- Custom label: £0.20
That gives a total Cost of Goods Sold (COGS) of £5.00.
Step 1: Find the Gross Profit
Subtract the direct costs from the selling price: $$\text{£15.00 (Revenue)} - \text{£5.00 (COGS)} = \text{£10.00 (Gross Profit)}$$
Maya makes £10 on every bag before overhead. Not bad, right? But what is that as a percentage?
Step 2: Divide by Revenue
Divide that £10 profit by the total selling price of £15: $$10 \div 15 = 0.666...$$
Step 3: Multiply by 100
Turn it into a percentage: $$0.666 \times 100 = 66.7%$$
Maya’s gross profit margin is 66.7%. This means for every pound she brings in from selling a bag of coffee, roughly 67 pence is left over after paying for the beans and packaging to cover her business expenses and take home a salary.
What Trips People Up: Margin vs. Markup
Here is where even experienced business owners slip up. They confuse margin with markup, and it can cost them a lot of money.
People often use the terms interchangeably in casual conversation, but mathematically, they are completely different animals.
- Markup is how much you add to your cost to get your selling price.
- Margin is how much of the final selling price is profit.
Let’s go back to Maya. Her coffee cost £5 to make, and she sold it for £15. Her markup was £10 on a £5 cost, which is a 200% markup (she doubled the cost twice).
But her profit margin is 66.7%, because margin is always calculated against the selling price, never the cost.
Why does this matter? If you confuse the two when pricing your products, you will systematically underprice everything you sell. If Maya thought her 200% markup meant she kept 200% of her revenue (which is physically impossible), she would find herself constantly running out of cash when her bills came due. Always base your profitability targets on margin.
Moving to the Bottom Line: Net Profit Margin
Gross margin feels great because 66.7% sounds like a thriving business. But Maya cannot pay her website hosting fee, her commercial kitchen rent, or her business insurance with gross profit alone.
For that, we need the formula to determine profit margin at the net level.
To calculate net profit margin, you take your total revenue for the month, subtract all your expenses—both direct (COGS) and indirect (overhead)—and divide by total revenue.
$$\text{Net Profit Margin} = \frac{\text{Total Revenue} - \text{All Expenses}}{\text{Total Revenue}} \times 100$$
Let’s look at Maya’s full month to see how the story ends.
In a typical month, Maya sells 500 bags of coffee.
- Total Revenue: 500 bags × £15 = £7,500
- Total COGS: 500 bags × £5 = £2,500
- Gross Profit: £7,500 − £2,500 = £5,000
Now, let's add her monthly overhead expenses:
- Kitchen rent and utilities: £1,500
- Shipping software and ecommerce hosting: £150
- Marketing (Instagram ads): £350
- Packaging tape, printer ink, misc: £100
- Total Overhead: £2,100
Calculating Net Profit
Take her gross profit and subtract the overhead: $$\text{£5,000 (Gross Profit)} - \text{£2,100 (Overhead)} = \text{£2,900 (Net Profit)}$$
Calculating Net Profit Margin
Now, divide that net profit by her total monthly revenue (£7,500): $$2,900 \div 7,500 = 0.3866$$
Multiply by 100: $$0.3866 \times 100 = 38.7%$$
Maya’s net profit margin is 38.7%. Out of every £7,500 that flows through her business, £2,900 is true, clean profit that she can use to pay herself a living wage, reinvest in new roasting equipment, or put into savings.
Seeing that number in black and white changes everything. Maya isn't just scraping by; she is running a healthy, sustainable business with a robust net margin.
What Good Actually Looks Like: Is Your Margin Normal?
One of the most common questions people ask once they run these numbers is: “Is this good?”
The frustrating truth in finance is that "good" depends entirely on your industry. A software company with almost zero physical inventory can have a net profit margin of 80% and feel normal. A grocery store selling high volumes of perishable food might survive on a net margin of 2% to 3%.
Generally speaking, across small businesses:
- A gross margin of 50% or higher is often a healthy target for physical products, giving you enough cushion to cover overhead and still make a profit.
- A net profit margin of 10% to 20% is widely considered solid for a healthy small business. If you are sitting above 20%, you are doing exceptionally well. If you are sitting below 5%, a single bad month, broken piece of equipment, or unexpected tax bill could put you in the red.
If your numbers come back lower than you'd like, don't panic. You now have diagnostic tools. A low gross margin means you need to look at supplier costs or raise your prices. A low net margin means your overhead is too high for your current volume of sales.
Three Hidden Traps That Distortion Your Margins
Even when people use the right formula, a few sneaky traps often skew the results and give a false sense of security. Watch out for these three common pitfalls:
1. Forgetting to Pay Yourself
If you are a solo operator or running a small team, it is tempting to treat whatever is left in the business bank account at the end of the month as your "profit."
It isn't. If you spent 40 hours a week packing boxes, roasting beans, or answering customer emails, your labor is a cost. If you aren't paying yourself a formal salary or wage and factoring that into your expenses, your net profit margin is artificially inflated. A business isn't truly profitable if it only survives by underpaying its owner.
2. Ignoring "Invisible" Costs
When calculating COGS, people remember the raw materials, but they often forget the hidden friction costs:
- Damaged goods or items lost in transit that you had to refund.
- Transaction fees from credit card processors or payment gateways (which often eat 2% to 3% of every single sale right off the top).
- Packaging supplies that seem cheap individually but add up across hundreds of orders.
3. Assuming Higher Volume Fixes Low Margins
There is an old business joke: “We lose money on every sale, but we’ll make it up in volume.”
It sounds absurd when you say it out loud, but many business owners fall into this trap. If your profit margin on an item is razor thin (say, 2%), selling ten times as many items doesn't fix a broken financial model—it just multiplies your workload and accelerates how fast your equipment wears out. Fix the margin first; scale the volume second.
You Don't Have to Guess Anymore
Take a look back at where you started this article. Staring at a screen late at night, feeling that familiar knot of anxiety about whether the numbers work out.
The wonderful thing about math is that it doesn’t care about your anxiety. It is completely neutral. And because it is neutral, it is fixable.
Once you write down your revenue, subtract what it actually cost you to make your product, and factor in what it takes to keep your doors open, the fog clears. You aren't guessing anymore. You know precisely what your margins are, where your money is going, and what price tag you actually need to put on your work to sleep peacefully at night.
Run your numbers through the formulas above, check your assumptions, and give yourself permission to make adjustments. You’ve got this.
Frequently Asked Questions
What is the difference between profit and markup?
Markup is the percentage you add to your cost price to arrive at your selling price. Profit margin is the percentage of the final selling price that is actual profit. Because they use different denominators (cost vs. selling price), a 100% markup actually equals a 50% profit margin. Always use profit margin when analyzing your business health or setting long-term pricing strategies.
What should I do if my profit margin is too low?
You have two main levers: raise your prices or lower your costs. Raising prices often feels terrifying because business owners fear losing customers, but a modest price increase often results in higher total profit even if you lose a small percentage of buyers. Alternatively, negotiate better rates with suppliers for bulk orders, or audit your overhead expenses to cut software and subscriptions you aren't actively using.
Is gross margin or net margin more important?
Both matter, but they tell you different things. Gross margin tells you if your product pricing and production costs make sense in isolation. Net margin tells you if your entire business model—including rent, software, marketing, and taxes—is sustainable in the real world. If your gross margin is healthy but your net margin is negative, your product is fine, but your overhead is too high.
Disclaimer: This article is for informational and educational purposes only and does not constitute formal financial, tax, or legal advice. Every business situation is unique; consider consulting with a qualified accountant or financial professional regarding your specific circumstances.
Want to crunch these numbers on the go? Keep the free Finlaa app handy whenever you're mapping out your next pricing strategy.
Related calculators
Related articles

Calculate Gross Margin Formula: The Plain-English Guide for Business Owners
Business Finance

Contribution Margin Percent: What It Is and Why It Tells the Real Story of Your Business
Business Finance

The Simple Formula to Find Profit Margin (Without the Confusion)
Business Finance

The Plain-English Formula for Figuring Profit Margin (Without the Accounting Degree)
Business Finance