Skip to main content
7BBusyBoss

Gross Margin Calculator — Profit, Margin, Markup

Calculate gross margin from revenue and COGS. See gross profit, margin percentage, and equivalent markup to understand your unit economics.

No limitsZero data leaksSuper fast

Gross Margin Calculator

$
$

Gross profit

$40,000

Gross margin

40.00%

Equivalent markup

66.67%

Gross margin = (revenue − COGS) ÷ revenue. Don't confuse it with markup, which is profit ÷ COGS — markup is always higher than margin.

You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.

Browse all Business Math
About this tool

Margin tells you what you keep, not whether you survive

An 80% gross margin looks excellent until you see what it costs to acquire each customer. A 20% margin looks precarious until you notice the volume — 20% of $100M is $20M, which is serious money. Gross margin measures what each unit of revenue leaves behind after the direct cost of delivering it, and that remainder is the entire pool available to fund salaries, rent, marketing, product development and everything else. A healthy gross margin is necessary for profitability but nowhere near sufficient.

The formula

Gross margin is (revenue − COGS) ÷ revenue, expressed as a percentage.

Take $100,000 of revenue against $60,000 of cost of goods sold. Gross profit is $40,000, and the margin is $40,000 ÷ $100,000 = 40%. In plain terms, 40 cents of every revenue dollar survives the direct cost of delivery. That $40,000 — not the $60,000, which is already spent on the goods themselves — is what has to cover every other cost in the business. If operating expenses come to more than $40,000, the business loses money despite a perfectly respectable margin.

Why the ratio shapes the business model

This is the number that constrains what kind of company you can be. A business at 20% gross margin has to run its entire operation on 20 cents in the dollar, which forces high volume, tight overheads and little room for a large sales team. One at 80% can afford substantial spending on acquisition, support and R&D from the same revenue.

Two companies with identical revenue and identical net profit can therefore be in completely different shape. The one with the higher gross margin has more levers to pull and more room to absorb a bad quarter.

Three things this number deliberately omits

Operating expenses are invisible. Gross margin excludes salaries, rent, software and advertising entirely. A company with an 85% gross margin fails just as reliably as any other if its operating costs consume more than 85% of revenue — and companies with excellent gross margins go under regularly for exactly that reason.

The COGS boundary is genuinely ambiguous. What belongs in cost of goods sold varies between businesses, and the choices are defensible either way. One software company counts hosting as COGS; another files it under operating expenses. Payment processing fees, support staff, shipping and returns all get classified differently. This makes cross-company margin comparison unreliable unless you know what each side included.

It is a ratio, not an amount. A 90% margin on $1,000 of annual revenue is $900 of gross profit, which pays nobody. A 15% margin on $10M is $1.5M. Watch for the pattern where margin percentage rises while gross profit in currency falls — that combination is common and it is not good news. Track both.

Markup is the same profit expressed differently

The tool shows the equivalent markup alongside the margin. A 40% gross margin is a 66.67% markup, because markup divides the same profit by cost rather than by revenue — a smaller denominator, so always a larger percentage. For pricing from a cost target and converting between the two, see the Markup Calculator.

What moves margin in practice

Rising input costs cut margin directly. Product mix shifts it without any individual product changing — if high-margin lines sell less and low-margin lines sell more, blended margin falls on its own.

Discounting deserves particular attention, because the effect is larger than it looks and there is a simple rule for it: the share of unit profit a discount consumes is the discount divided by the margin. A 5% discount on a 20% margin product costs 5 ÷ 20 = a quarter of the profit on that unit. The same 5% on a 60% margin product costs only a twelfth. This is why routine discounting is survivable for high-margin businesses and quietly fatal for thin-margin ones.

To model whether your gross profit actually covers fixed costs, the Break-Even Calculator is the next step. This is general business information, not financial advice.

How to use the Gross Margin Calculator

Takes about a minute. No signup, no download, your data stays in your browser.

  1. 1
    Open the tool. Scroll up to the Gross Margin Calculator above — it loads instantly in your browser, no install needed.
  2. 2
    Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
  3. 3
    Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.

Frequently asked questions

Common questions about the Gross Margin Calculator.

If my gross margin is high, am I profitable?

No. Gross margin only shows what is left after direct product costs, and excludes salaries, rent, marketing and software entirely. Plenty of companies with excellent gross margins fail because operating costs exceed the gross profit available. You need operating margin and net profit to answer the profitability question.

Why is my margin percentage rising while profits fall?

Because margin is a ratio and profit is an amount. If revenue falls faster than costs do, the percentage can improve while the money shrinks. At 10,000 revenue and 5,000 cost the margin is 50% and gross profit is 5,000; drop to 4,000 revenue and 1,800 cost and the margin rises to 55% while gross profit falls to 2,200. Always track both together.

How much does a discount cost me?

Divide the discount by the margin — that is the share of unit profit it consumes. A 5 percent discount on a 20 percent margin product costs a quarter of the profit on that unit, and a 10 percent discount on a 30 percent margin product costs a third. The thinner the margin, the more damage a small discount does, which is why low-margin businesses have to be disciplined about them.

What is a good gross margin for my business?

It depends entirely on the industry and on what you count as COGS, so the only meaningful comparison is against direct competitors reporting on the same basis. Software typically runs high because the marginal cost of a copy is near zero, while resale and distribution run much lower because the goods themselves dominate the cost. Comparing your margin to a figure from another industry tells you nothing.

Does this include operating expenses or taxes?

No. It calculates gross margin only, which is the profit before operating expenses, tax and financing. It tells you what is available to cover those things, not whether they fit. To work out the sales volume needed to cover your fixed costs, use the break-even calculator instead.

Community rating

Discussion (0)

No comments yet. Start the discussion.