Proje vitrini hazırlanıyorPreparing project showcaseПодготавливаем витрину проекта

Pre-Accounting

Gross profit margin: how to calculate and improve it

Gross profit margin — revenue minus the cost of goods sold — is the clearest signal of real profitability. Here is how to calculate and improve it, with a plain example.

Rocketly · 2026-07-25

Most small-business owners can tell you what they sold last month. Far fewer can tell you what they actually kept from those sales. The bank balance feels like an answer, but it quietly blends together loans, unpaid invoices, next month's costs, and tax you are only holding on behalf of the state. The one number that cuts through all of it is your gross profit margin — the share of every sale that survives after you pay for the goods or services you actually delivered.

This article explains what gross profit margin is, how to calculate it with a plain worked example, how it differs from net profit, and the practical levers that move it. All figures here are illustrative; for your own tax treatment and exact bookkeeping, check with an accountant.

What gross profit margin actually measures

Gross profit is easy to state: revenue minus the cost of goods sold, usually shortened to COGS. Revenue is what customers paid you for the sale. COGS is what that specific sale cost you to deliver — the materials, the stock you bought to resell, the direct labour. Gross profit is what remains to cover everything else: rent, salaries, software, marketing, and, in the end, your own reward for running the business.

The margin expresses that leftover as a percentage of revenue, which lets you compare a tiny order and a huge one on the same footing. A business with impressive revenue and thin margins can easily take home less than a smaller, more disciplined rival. That is exactly why margin, not turnover, is the number seasoned owners watch.

Gross profit and gross margin are not the same thing

These two terms get used interchangeably in conversation, and it causes genuine confusion. Gross profit is an amount of money. Gross margin is a ratio.

  • Gross profit answers a blunt question: how much money did this sale leave on the table after covering its own costs? It is revenue minus COGS.
  • Gross margin answers a sharper one: what percentage of the sale did we keep? It is gross profit divided by revenue, multiplied by 100.

You need both numbers. Gross profit is what actually pays the bills; margin tells you how efficient each sale was and whether your pricing will still hold up as volumes grow.

What belongs in COGS — and what doesn't

Your margin is only as honest as your cost figure, so it pays to be strict about what goes into COGS. As a rule, COGS holds the costs that rise and fall directly with each sale.

  • Usually in COGS: raw materials, the wholesale cost of goods you resell, packaging, the direct labour of making or delivering the product, outbound shipping you pay to fulfil an order, and payment-processing fees charged on the sale.
  • Usually not in COGS: rent, back-office salaries, accounting software, advertising, insurance, and the owner's car. These are operating expenses — they keep the whole business running but are not tied to any single sale.

The boundary is not always obvious, and it shifts by sector. A quick test settles most arguments: if you sold one more unit tomorrow, which costs would go up? Those costs belong in COGS. The ones that stay flat belong below the gross line.

How to calculate gross profit margin, step by step

Take a handmade-candle shop. Say it sells 300 candles in a month at 200 each, bringing in 60,000 in revenue. The wax, wicks, jars, and labels for those candles cost 24,000. The direct labour to pour, finish, and pack them adds another 9,000.

COGS is therefore 24,000 + 9,000 = 33,000. Gross profit is 60,000 − 33,000 = 27,000. The margin is 27,000 ÷ 60,000 = 0.45, or 45%. In plain terms: for every 100 the shop takes in, 45 is left to cover rent, marketing, and profit.

1Revenue2− COGS3= Gross profit4÷ Revenue5Margin %
The same five steps work for any product or service.

One caution before you trust the result: use figures that exclude VAT. The VAT you collect is never your revenue — you are simply holding it for the tax office until you pass it on. If that mechanism is fuzzy, our guide to how VAT is calculated lays it out step by step.

Gross, operating, and net margin: three different truths

Gross margin is the first layer of profit, not the last. Beneath it sit your operating expenses, and beneath those sit interest and tax. Each layer answers a different question about the business.

Revenue100%Gross profit45%Operating profit18%Net profit11%
Each band is what survives after the next set of costs.

Gross margin shows whether the core product or service makes sense on its own. Operating margin shows whether the business built around it is run efficiently. Net margin is what finally reaches you after everything, tax included. A healthy gross margin sitting on top of a thin net margin usually points to bloated overheads rather than a broken product — a useful diagnosis, because the two problems have completely different fixes.

Why margin, not revenue, tells you the truth

Revenue is a vanity number. It feels wonderful to announce and it hides a great deal. A business can double its sales and still slide backwards if those extra sales carry a weaker margin — for example, when volume is bought with steep discounts that quietly gut the profit on every unit.

Revenue is what people notice; margin is what keeps the lights on.

Margin is also the fastest sanity-check on pricing. If one product runs at a 12% margin while a competitor across the street sits near 40%, either your costs are too high or your price is too low — and neither problem repairs itself. It is worth knowing your margin before you send a price out, which is why a proforma invoice or quote should never go out on gut feel alone.

Know your margin on every deal

Rocketly ties quotes, invoices, and costs together so you can see gross margin per customer and per product.

See how it works

How to improve your gross margin

There are only three real levers: charge more, spend less on COGS, or shift the mix toward higher-margin work. Most durable improvements combine all three, gently.

Raise prices with intent

A modest, well-explained price rise usually loses fewer customers than owners fear, and almost all of it drops straight through to gross profit. Test it on a single product line first, then expand from there.

Bring down the cost of goods

Renegotiate with suppliers, order in sensible volumes, and attack waste and rework. If you import any of your stock or materials, exchange-rate swings can quietly erode a margin you thought was safe; it is worth reading up on invoicing in a foreign currency if that describes your supply chain.

Sell more of what already earns well

Look at margin per product, not just units sold. Very often a handful of lines quietly carry the whole business while others barely break even. Promote the earners, feature them, bundle them — and retire the dead weight without ceremony.

  • Trim standing discounts: a permanent 15% discount is a direct 15-point cut to your margin, so make sure it is buying real, repeat loyalty and not just habit.
  • Reduce returns and waste: every reworked, spoiled, or scrapped unit is COGS with no revenue behind it — pure margin lost.
  • Reconcile supplier accounts: being double-billed or missing a credit note silently inflates your COGS, and regular account reconciliation is how you catch it before it compounds.

Common mistakes that distort the number

Most misleading margin figures trace back to a short list of repeat offenders.

  • Leaving VAT in the maths: counting tax-inclusive revenue inflates the margin and paints a rosier picture than reality.
  • Forgetting hidden COGS: shipping, payment fees, and packaging are genuine costs of the sale even when they land on separate invoices weeks later.
  • Mixing in overhead: rent and office salaries belong below the gross line; dropping them into COGS makes every product look like a loss-maker.
  • Measuring once a year: a margin you only see at tax time cannot guide a single pricing decision. The right bookkeeping software keeps it in front of you month by month.

None of this is a substitute for professional advice. Sector rules and tax treatment vary more than most owners expect, so confirm the specifics with an accountant before you act on any of them.

Frequently asked questions

What is a good gross profit margin?

It depends heavily on the sector. A grocery shop may run on single-digit margins by design, while a software or professional-services business can sit far higher. Compare yourself to similar businesses and to your own trend over time rather than a universal target.

Is gross profit margin the same as markup?

No, and the gap trips up a lot of pricing. Margin is gross profit as a percentage of the selling price; markup is the same profit as a percentage of cost. A 50% markup on a 100 cost gives a 150 price and a 33% margin — not 50%.

Should VAT be included in the calculation?

No. Use VAT-exclusive figures for both revenue and costs, because the VAT you collect is not yours to keep — you are only passing it through to the tax office.

How often should I check my margin?

Monthly suits most small businesses, with a quick separate check on any unusually large or heavily discounted order before you commit to it.

Gross profit margin is not an accounting formality — it is the clearest early signal that your pricing and your costs are in balance. Calculate it honestly, watch the trend rather than any single month, and let it guide the small decisions that quietly compound. Tools like Rocketly keep your quotes, invoices, and costs in one place so the number stays current, but the habit of looking at it is what changes outcomes. When the figures start driving real decisions, bring in your accountant to confirm the specifics.