Gross Profit Margin Calculator
Measure what survives the cost of delivery, convert it to the equivalent markup, and see why one point of margin beats far more than one point of sales growth.
Gross Profit Margin Calculator
Results recalculate instantly on every keystroke. Nothing you type is transmitted.
What this result does not account for
- COGS classification is genuinely inconsistent across industries, which limits cross-company comparison.
- A single-period margin says nothing about trend, which acquirers weight more heavily.
- The discount model assumes cost per unit is unchanged as volume rises.
In short: Revenue of $2,400,000 against $912,000 of COGS is a 62.00% gross margin — but that is a 163.16% markup on cost, not a 62% one. One point of margin is worth $24,000, which would otherwise take $38,709.68 of new sales to replicate.
Formula
Margin divides by revenue; markup divides by cost. The same $1,488,000 of gross profit is a 62.00% margin and a 163.16% markup, which is why quoting one as the other systematically underprices goods.
Worked Example
- Subtract only the cost of delivery. $2,400,000 less $912,000 of COGS is $1,488,000. Overheads, salaries outside production and interest belong further down the statement, not here.
- Divide by revenue. $1,488,000 ÷ $2,400,000 is 62.00%. This is the ceiling on every margin below it — no amount of cost control can produce an operating margin above the gross margin.
- Convert to markup as a cross-check. $1,488,000 ÷ $912,000 is 163.16%. A 62% margin requires a 163% markup, and pricing staff who apply 62% to cost will undercharge on every unit.
- Value one point of margin. One point is $24,000. Replicating that through growth alone would require $38,709.68 of additional sales — a 1.61× leverage of pricing over volume.
- Price the discount before granting it. A 10% discount cuts the margin to 57.78%, so volume must rise 7.31% just to stand still. Discounts are almost never modelled this way before they are offered.
The markup arithmetic is where real money is lost. A business targeting a 62% margin that instructs its sales team to add 62% to cost will price a $912,000 cost base at $1,477,440 rather than $2,400,000 — leaving $922,560 of revenue on the table across the year, and landing at a 38.24% margin instead of 62.00%. The two numbers converge only at zero. Every point of margin above zero widens the gap between them, and the error is largest exactly where margins matter most.
Strengths & Limits Of This Model
Where this engine is strong
- Reports the equivalent markup, preventing the most expensive pricing error in commerce.
- Quantifies one point of margin against the sales growth needed to replicate it.
- Solves the discount question in the only way that matters — required volume increase.
Where it stops
- Cannot tell you whether your COGS boundary matches the peers you are comparing against.
- Says nothing about overhead, which is where most businesses actually fail.
Practical Use Cases
Setting a price list from a cost base
Work from the required margin to the markup, never the reverse. The Markup Calculator handles the conversion in both directions.
Judging whether a discount is affordable
The engine reports the volume increase needed to hold gross profit flat. If sales cannot commit to that increase, the discount destroys profit.
Benchmarking against your industry
A 62% gross margin is excellent for manufacturing and poor for pure SaaS. The verdict line places the figure against the 2026 industry bands rather than a generic threshold.
Tracing margin down the statement
Gross margin caps everything below it. Carry the figure into the Operating Margin Calculator to see what the cost base leaves behind.
Methodology & Editorial Standards
Gross profit margin measures the proportion of revenue remaining after the direct cost of producing or delivering what was sold. The engine treats COGS strictly as direct cost, which is the standard treatment, though the boundary is genuinely contested in practice: full-service restaurants that load kitchen labour into COGS report gross margins near 32% on an NAICS 722511 basis while the same operations report 55% to 65% when only food and beverage cost is deducted, and software businesses must consider whether developer wages are capitalised and amortised under IRC section 174 rather than expensed as cost of revenue. Comparisons are therefore only meaningful within a consistent cost-classification convention. Benchmarks verified for 2026 come from the Damodaran NYU Stern dataset published in January 2026, which places the US all-industry average at 37.8% gross, alongside industry bands of 71% to 82% for software, 30% to 40% for manufacturing, 25% to 35% for retail and construction, and 40% to 50% for e-commerce. The discount calculation solves for the volume increase that holds absolute gross profit constant, which is the only correct way to evaluate a price reduction, and the equivalent markup is reported because confusing margin with markup is the single most expensive arithmetic error in small-business pricing. The engine implements the standard published formula for this calculation. Inputs are validated for domain and sign before evaluation, and any undefined case returns an em-dash rather than a spurious value.
Computation runs in IEEE-754 double precision at full internal precision; rounding to two decimal places occurs strictly at the display layer, so no cumulative drift enters the result. All monetary outputs use accounting presentation — grouped thousands, two decimals, negatives in parentheses — so figures can be transcribed directly into a model or working paper. Division-by-zero and out-of-domain inputs return an em-dash rather than a misleading number.
This engine was reconciled against an independent reference implementation and hand-verified for the worked example above before release. Our full five-stage review process is published on the About Us page.
Disclaimer. This calculator is provided for informational and modelling purposes only and does not constitute financial, tax, legal, medical, or engineering advice. Verify all figures with a qualified professional before acting on them.
Gross Profit Margin Calculator — 20 Expert FAQs
20 analyst-written answers to the questions practitioners actually ask — optimised for voice and answer-engine retrieval.
What is a good gross profit margin?
It depends entirely on the industry. The US all-industry average is 37.8%, but software runs 71% to 82%, manufacturing 30% to 40% and retail 25% to 35%.
What is the difference between margin and markup?
Margin divides profit by revenue; markup divides the same profit by cost. A 62.00% margin is a 163.16% markup — applying 62% to cost instead would underprice every unit.
What should be included in COGS?
Only direct costs of producing or delivering the sale: materials, freight-in, direct production labour and, for software, hosting and payment processing. Overhead belongs below the line.
Does gross margin include labour?
Direct production labour yes, general salaries no. The boundary matters enormously — restaurants report 32% or 55% to 65% depending purely on whether kitchen labour sits in COGS.
Why is my gross margin different from a competitor's?
Frequently it is classification rather than performance. Two identical businesses can report margins 20 points apart based on where they draw the COGS boundary.
How much is one point of gross margin worth?
On $2,400,000 of revenue, $24,000. Matching that through growth alone would take $38,709.68 of new sales, a 1.61 times leverage of pricing over volume.
How much volume do I need to justify a discount?
A 10% discount on a 62% margin cuts it to 57.78%, requiring a 7.31% volume increase just to hold gross profit flat. Most discounts are granted without this calculation.
Can gross margin be negative?
Yes, and it means each sale loses money before any overhead is paid. It is common in early hardware and marketplace businesses buying market share.
Why does gross margin cap operating margin?
Because operating expenses are deducted from gross profit. No amount of overhead control can produce an operating margin above the gross margin.
Does a price rise improve margin more than a cost cut?
Usually yes, because price flows entirely to gross profit while a cost cut only saves a fraction of revenue. A 3% price rise here beats a 5% COGS reduction.
How does gross margin affect valuation?
Directly. Businesses with gross margins above 80% earn a median 7.6 times EBITDA multiple against 5.5 times for those below.
Should freight and shipping be in COGS?
Freight-in on inbound inventory generally yes. Outbound shipping to the customer is more often treated as a selling expense, though practice varies.
How do software companies treat developer wages?
Under IRC section 174 development costs are capitalised and amortised rather than expensed as cost of revenue, which keeps reported SaaS gross margins high.
Is gross margin the same as contribution margin?
No. Gross margin deducts only COGS; contribution margin deducts all variable costs including variable selling expense, so it is usually the lower of the two.
How often should I review gross margin?
Monthly. It is the fastest indicator of input cost inflation or discounting drift, and it moves long before net margin does.
What is a good gross margin for a startup raising capital?
Investors generally look for 75% to 80% for SaaS and 45% to 50% for direct-to-consumer e-commerce. Falling short is not disqualifying but requires an explanation.
Is this gross profit margin calculator free to use?
Yes. It is free, requires no account, and has no usage limits. ApexConverter is funded by contextual advertising, never by selling user data.
Is my data sent to a server?
No. The engine runs as Vanilla JavaScript inside your browser under our Zero-Server Client-Side Execution model. Your figures are computed locally and are never transmitted, logged, or stored.
How accurate is this calculator?
It applies the standard closed-form formula in IEEE-754 double precision, rounding only at the display layer. The engine is reconciled against an independent reference implementation before release.
Does it work on mobile?
Yes. The interface is mobile-first with numeric keypad hints and is tested down to a 320-pixel viewport with no horizontal scrolling.