Gross Margin Formula: The Plain-English Guide for Small Business Owners
30 July 2026

Gross Margin Formula: The Plain-English Guide for Small Business Owners
It is usually around 11:30 PM on a Tuesday when the doubt creeps in. You are sitting at the kitchen table, a half-empty mug of tea beside your laptop, staring at a spreadsheet that looks more like a crime scene than a business plan. Sales actually looked decent this month—money came in, invoices were paid, clients seemed happy. But when you look at what is left in the bank account to cover your own salary, rent, and software subscriptions, the math simply refuses to add up.
You find yourself whispering the question every entrepreneur eventually faces: Where did all the money actually go?
If you searched for the gross margin formula tonight, you are probably tired of guessing whether your prices are high enough. Maybe you are launching a new product line, maybe you are staring down rising supplier costs, or maybe you just want to know why a busy month still leaves you sweating over payroll.
Take a breath. You aren't bad at business; you're just looking at the wrong numbers. Let's clear the fog off the screen, look at the math without the jargon, and figure out how to make your hard work actually pay off.
What Gross Margin Is (And What It Isn't)
Before we dive into the division and multiplication, we need to clear up a very common point of confusion. People mix up markup and margin all the time. Even seasoned business owners slip up here, and it is a trap that quietly bleeds profits dry.
Think of it like this:
- Markup is how much you add to what something cost you to make your retail price. If a handmade leather wallet costs you £30 to produce and you sell it for £60, you marked it up by 100%.
- Margin (specifically gross margin) looks at things from the other side. It asks: Of every single pound, dollar, or rupee that comes into the register from selling that wallet, what percentage is actually left over after paying the direct costs to make it?
Gross margin strips away all the overhead—your office rent, your internet bill, your business insurance—and looks purely at the transaction itself. It is the raw health of your product or service before the rest of the world takes its cut. If your gross margin is too thin, no amount of marketing or cost-cutting on rent will save you.
The Gross Margin Formula
The math itself is mercifully short. You don’t need an MBA or a complex financial model to run it. Here is the gross margin formula in its purest form:
$$\text{Gross Margin} = \frac{\text{Total Revenue} - \text{Cost of Goods Sold (COGS)}}{\text{Total Revenue}}$$
To turn that decimal into a percentage, you simply multiply the result by 100.
Let's break down those two ingredients, because this is where most people accidentally skew their results:
- Total Revenue: This is the total amount of money you brought in from sales before any expenses are taken out. If you sell 100 widgets for £10 each, your revenue is £1,000.
- Cost of Goods Sold (COGS): This is what it directly costs you to produce or deliver those 100 widgets. If you are selling physical goods, it's the raw materials, the factory labor, and the packaging. If you are selling digital services or software, it might be the cost of hosting servers or paying specialized freelance contractors per project.
Notice what is not in COGS: your salary, your marketing agency's retainer, your software subscriptions, or the coffee for the breakroom. Those are operating expenses. Gross margin cares only about the direct cost of delivery.
Walking Through the Numbers: Maya’s Handcrafted Candles
To see how this works in the real world, let's follow Maya. Maya runs an independent home fragrance brand. She has built a loyal following on Instagram, her website gets steady traffic, and she feels like she is constantly in her studio pouring wax and wrapping packages.
Let's look at one of her signature scented candle lines for a single month.
Step 1: Gather the Revenue Data
Last month, Maya sold 500 units of her seasonal lavender candle at a retail price of $30 each.
- Total Revenue = 500 units × $30 = $15,000
Step 2: Calculate the Cost of Goods Sold (COGS)
To make and ship those 500 candles, Maya has to buy soy wax, glass jars, cotton wicks, custom fragrance oils, and shipping boxes.
- Soy wax and wicks per candle: $4.00
- Glass jar and label: $3.50
- Fragrance oil: $2.50
- Packaging materials per unit: $1.00
- Total direct cost per candle = $4.00 + $3.50 + $2.50 + $1.00 = $11.00 per unit
Multiply that by the 500 units she sold:
- Total COGS = 500 × $11.00 = $5,500
Step 3: Apply the Gross Margin Formula
Now we plug Maya's numbers into our equation:
$$\text{Gross Margin} = \frac{$15,000 - $5,500}{$15,000}$$
$$\text{Gross Margin} = \frac{$9,500}{$15,000}$$
$$\text{Gross Margin} = 0.6333...$$
Multiply by 100, and Maya's gross margin is 63.3%.
What This Actually Tells Maya
For every dollar Maya brings in from selling a candle, she has 37 cents of direct production costs and 63 cents left over to cover her rent, her marketing, her software subscriptions, and—crucially—her own paycheck.
At 63%, Maya is in a relatively healthy position for a physical retail product. But what if her raw material costs jump next month, or she wants to see how a discount sale impacts her bottom line? Instead of doing these calculations by hand every time she tweaks a price tag, she can plug her variables straight into a Profit Margin Calculator to test different pricing scenarios in seconds.
What Trips People Up: Common Gross Margin Mistakes
Even when business owners understand the formula, a few classic edge cases and blind spots tend to trip them up. Let’s look at what goes wrong so you can avoid it.
1. Forgetting to Pay Yourself in COGS
If you are a solo founder or a small team doing the hands-on work of building, crafting, or coding your product, your time has a cost. If you leave your own labor out of the COGS calculation because "you don't pay yourself a formal salary yet," your gross margin will look artificially high.
The fix: If you had to step away and hire someone else to do your exact job at market rate, what would you pay them? Allocate a portion of that labor cost into your COGS for a true picture of your unit economics.
2. Confusing Gross Margin with Net Profit
This is the heartbreaker. A business owner looks at their gross margin of 60% and thinks, "Fantastic! I'm keeping sixty cents of every dollar!"
They forget about operating expenses (OpEx). Rent, liability insurance, accountants, Facebook ads, Shopify fees, and shipping software all live below the gross margin line. If your gross margin is 60%, but your operating expenses take up another 55%, your true net profit is a razor-thin 5%. One slow month or one broken piece of equipment can wipe out your entire year's earnings. Gross margin tells you if your product pricing works; net profit tells you if your entire business works.
3. Ignoring Shipping and Payment Processing Fees
If you sell online, credit card processing fees (like Stripe or Shopify Payments) and shipping costs can quietly eat your lunch. Depending on your business model, these often belong in your COGS or direct variable expenses. If you offer free shipping but absorb a $6 courier fee on a $25 item, your gross margin just took a massive, unannounced hit.
What "Good" Looks Like (Industry Benchmarks)
One of the first things people ask after calculating their margin is: Is this normal?
The honest answer is that a "good" gross margin depends entirely on what you sell. Comparing a software startup to a grocery store is like comparing an airplane to a bicycle—they operate under completely different laws of physics.
- Software & SaaS (Software as a Service): Because digital products can be copied infinitely without buying more raw materials, software companies often target gross margins of 70% to 85%+. Their primary costs are server hosting and engineering talent.
- Physical Retail & E-commerce: Traditional physical goods usually land between 50% and 70%. You have to pay for manufacturing, warehousing, and materials, which naturally compresses the margin.
- Restaurants & Food Service: Food and beverage operations famously run on tight margins, typically targeting 60% to 70% on the food itself, but once you factor in kitchen labor, spoilage, and high rent, net profits shrink dramatically.
- Professional Services: Consulting, agencies, and coaching businesses often see high gross margins (70% to 90%) because their main cost is the practitioner's time.
If your margins are lower than your industry average, don't panic. It usually points you directly to your next strategic move: you either need to raise your prices, renegotiate with your suppliers, or find ways to streamline production.
How to Improve Your Gross Margin Without Losing Customers
If you ran your numbers tonight and realized your margin is sitting at 20% when you need it to be 50%, you don't necessarily have to panic or double your prices overnight. You have three specific levers you can pull:
1. Optimize Your Supply Chain
Can you buy raw materials in bulk? Can you negotiate a 5% discount with your manufacturer if you sign a six-month commitment? Even small percentage drops in your COGS compound across hundreds of units sold, instantly widening your gross margin.
2. Audit Your Product Mix
Not all products are created equal. Often, 80% of your revenue comes from 20% of your catalog—and sometimes your most popular item is actually your least profitable one once you factor in production complexities. Run the gross margin formula on every single SKU you sell. You might find you are working twice as hard to sell a low-margin item that drains your energy.
3. Rethink Your Pricing Strategy
Many business owners underprice out of fear. They worry that raising prices by £2 or $5 will cause customers to flee. But when your margins are healthy, you need fewer total sales to keep the lights on, reducing your operational stress and giving you more breathing room to deliver exceptional quality.
The Exhale
It is easy to let business numbers feel like a report card on your personal worth. When the spreadsheet looks messy, it’s tempting to internalize it as personal failure.
Remember: numbers are not a judgment; they are just a dashboard. They are simply telling you how the engine is running right now.
Once you sit down, separate your direct costs from your overhead, and run the gross margin formula, the fog starts to lift. You stop guessing in the dark and start making choices with absolute clarity. You can look at a product, see its exact contribution to your business, and decide with confidence whether it stays, changes, or goes.
That is the moment the tension in your shoulders drops. The math isn't mysterious anymore—it's just a tool in your hands.
Frequently Asked Questions
What is the difference between gross profit and gross margin?
People use them interchangeably, but they measure two different things. Gross profit is a cash amount—it is your total revenue minus your cost of goods sold (e.g., "We made £10,000 in gross profit"). Gross margin is a percentage that shows that same relationship relative to total revenue (e.g., "Our gross margin is 40%"). Margin lets you easily compare profitability across products of very different sizes.
Should shipping costs be included in COGS?
If the shipping cost is directly tied to delivering a specific product to a specific customer (like postage on an e-commerce order), it is best treated as part of your direct variable costs or COGS. If it's general business shipping (like sending documents to your accountant), it belongs in operating expenses.
Can a gross margin ever be negative?
Yes. If your cost of goods sold is higher than the price you are charging for the product (for example, selling an item for $10 that costs $12 to manufacture), your gross margin is negative. This means you are literally losing money on every single sale—a common trap for startups trying to buy market share with unsustainable introductory pricing.
Disclaimer: This article is for informational and educational purposes only and does not constitute financial or business advice. Every business has unique circumstances; consider consulting a qualified accountant or financial advisor before making major pricing or operational changes.
For those moments when you need to check your numbers on the go, the free Finlaa app is built right into your pocket to help you run the math wherever your day takes you.
Related calculators
Related articles
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

The Formula to Determine Profit Margin Explained (Without the Math Dread)
Business Finance

How to Calculate Profit Margin: The Simple Formula That Keeps Small Businesses Alive
Business Finance