Gross profit and gross margin answer different questions
Gross profit is an amount: revenue less cost of goods sold, or COGS. Gross margin expresses that amount as a percentage of revenue. One describes the absolute contribution after the costs assigned to sales; the other makes that contribution comparable across different sales volumes.
Gross profit is not the final profit of the business. Selling and administrative expenses, other operating items, financing and tax may still need to be covered. A business can have a positive gross margin and still report a net loss.
The formulas used in the calculator
Gross profit = revenue − COGS. Gross margin = gross profit ÷ revenue × 100. COGS percentage = COGS ÷ revenue × 100. With positive revenue, gross margin plus COGS percentage equals 100%, including when costs exceed sales.
Use net sales and the costs attributable to those same sales. For a single product, revenue can be the selling price per unit and COGS the cost per unit. Do not mix unit cost with total company revenue. Use tax-exclusive amounts consistently when recoverable sales taxes are not part of revenue or cost.
Worked example: 40% margin is not 40% markup
Revenue of 1,000 and COGS of 600 leave gross profit of 400. Gross margin is 400 ÷ 1,000 = 40%. COGS represents 60% of revenue. Markup, however, is 400 ÷ 600 = 66.67% because it uses cost as the denominator.
Adding a 40% markup to a cost of 600 gives a selling price of 840. The resulting margin is only 240 ÷ 840 = 28.57%. Confusing margin with markup is therefore a pricing error with a direct effect on profitability.
Reverse-solve a target margin
The revenue-plus-target method calculates maximum COGS = revenue × (1 − target margin). At revenue of 1,000 and a 40% target, the cost limit is 600. Holding revenue fixed, lower costs would create a higher margin.
The cost-plus-target method calculates required revenue = COGS ÷ (1 − target margin). At cost of 600 and a 40% target, required revenue is 1,000. A 100% margin cannot be achieved with positive costs at any finite selling price, so that reverse method requires a target below 100%. These are static calculations; they do not predict how demand changes with price.
Pricing, product mix and cost changes
Higher prices can improve the margin if unit costs and sales volume remain unchanged. Discounts reduce revenue without necessarily reducing the cost of delivering the product. A shift toward lower-margin products can also lower the blended company margin even when each product’s price and cost are stable.
Separate price, volume, mix and cost effects when investigating a change. A stronger percentage on shrinking revenue may generate less gross profit in currency terms. For the next stage, the EBIT calculator connects gross profit to operating expenses and depreciation.
Cost classification limits comparisons
COGS can include materials, direct labor and allocated production overhead, depending on the accounting policy. Service businesses may call it cost of revenue. The location of depreciation and personnel costs matters when comparing companies: moving a cost between COGS and operating expenses changes gross margin without changing total profit.
Zero revenue makes a gross margin undefined. Zero COGS with positive revenue gives a 100% margin but no defined markup on cost. COGS above revenue produces a valid negative margin. This tool allows that loss rather than hiding it with a zero floor.
Frequently asked questions
Is margin the same as markup?
No. Margin divides profit by revenue; markup divides profit by cost. A 40% margin corresponds to a 66.67% markup when revenue is 1,000 and cost is 600.
How do I find the selling price for a target margin?
Divide the unit cost by one minus the target margin expressed as a decimal. For cost of 60 and a 25% margin, the price is 60 ÷ 0.75 = 80.
Can gross margin be negative?
Yes. If the cost of the sales exceeds the revenue earned from them, gross profit and gross margin are negative. This signals a loss at the gross-profit stage.
Does gross margin include operating expenses?
It includes costs classified as COGS. Selling, administrative and other expenses classified below gross profit are excluded. Check the accounting classification before comparing reported margins.
Is a 100% margin possible?
Mathematically, yes with positive revenue and zero COGS. With positive costs, no finite revenue produces exactly 100%. Markup is undefined when its cost denominator is zero.