Margin Calculator
Margin and markup are two different percentages describing the identical dollar amount of profit — and confusing them is one of the most common and costly pricing mistakes a small business can make. This calculator computes both from cost and revenue, showing exactly why they’re never the same number for an identical sale.
How the Margin Calculator Works
Enter your cost (what you paid or spent to produce or acquire the item) and your revenue (what you actually sold it for), and the calculator computes the dollar profit (revenue minus cost), gross margin (profit as a percentage of revenue), and markup (profit as a percentage of cost) — three related figures from the same two inputs.
Why Margin and Markup Are Never the Same Percentage
This is the single most important thing to understand, and it trips up even experienced business owners: margin and markup use different numbers as their denominator, which means they’re never identical for the same sale, except in the specific case of zero profit. Margin divides profit by revenue (the selling price) — it answers “what percentage of what I sold this for is actual profit?” Markup divides profit by cost — it answers “what percentage did I add on top of my cost to set this price?” Because revenue is always larger than cost whenever there’s a profit, and you’re dividing the identical profit dollar amount by two different denominators, markup is always a larger percentage than margin for the exact same sale.
A Concrete Example Showing the Gap
Take a product costing $60 to produce, sold for $100 — a $40 profit. Margin is $40 ÷ $100 (revenue) = 40%. Markup is $40 ÷ $60 (cost) = 66.7%. Both percentages describe the identical $40 profit on the identical sale — they’re not two different profit amounts, just two different ways of expressing the same profit as a ratio against two different reference points. Someone who mistakenly assumes “40% markup” when they actually calculated margin (or the reverse) will price products incorrectly, since applying a 40% markup to that same $60 cost would only produce a $24 profit and a $84 selling price — a meaningfully different result than the $100 price that actually produces a 40% margin.
Why This Confusion Costs Real Money
Business owners who want to achieve a specific margin target but mistakenly apply that percentage as a markup instead (or the reverse) end up systematically underpricing or overpricing their products relative to their actual intended profitability goal. Because markup percentages are always larger than the equivalent margin percentage, mistaking a margin target for a markup instruction (“I want 40% margin” applied as “add 40% markup instead”) results in underpricing — charging less than intended and earning a smaller actual margin than planned. This is exactly the kind of quiet, compounding pricing error that can meaningfully erode profitability across an entire product line without ever being obviously wrong on any single sale.
Which One Should You Actually Use?
Neither margin nor markup is inherently “correct” — they’re just different lenses on the same underlying profit, useful for different purposes. Margin is generally the more useful figure for understanding overall business profitability and comparing performance against revenue, financial statements, and industry benchmarks, which are typically expressed in margin terms. Markup is often more directly useful at the point of setting an individual product’s price, since it starts from a known cost and answers “how much do I need to add to reach my target profit.” Many businesses use markup for initial pricing decisions and margin for reporting and analyzing overall profitability — the two serve genuinely different practical purposes even though they describe the identical profit.
Discount and Percent-Off: Pricing From the Buyer’s Side
Margin and markup describe a business’s pricing from the seller’s side of a transaction. If you’re instead working through a discount or percent-off calculation from a shopper’s perspective — the price after a percentage is taken off, rather than a percentage added on top of cost — the Discount Calculator and Percent Off Calculator handle that separate, buyer-facing calculation.
Commission: A Different Percentage Applied at the Point of Sale
Commission is another percentage-based calculation related to sales, but it answers a genuinely different question than margin or markup — it’s the share of a sale paid to a salesperson for facilitating the transaction, not a measure of the business’s own profitability on the product itself. The Commission Calculator handles that separate calculation, including how commission splits are typically structured.
Depreciation: Cost Changes Over Time for Business Assets
While margin and markup deal with the profit on a single sale, businesses also need to account for how the cost basis of longer-term assets changes over time through depreciation, a related but distinct financial calculation. The Depreciation Calculator handles that separate business accounting calculation.
Basic Percentage Calculations
Both margin and markup are fundamentally specific applications of percentage calculation. If you need a broader percentage tool for other business or everyday calculations, the Percentage Calculator covers several common percentage question types beyond the margin-and-markup framing this calculator specifically addresses.
Frequently Asked Questions
What is the difference between margin and markup?
Margin divides profit by revenue (the selling price). Markup divides profit by cost. Both describe the identical dollar profit on a sale, but because revenue is larger than cost whenever there’s a profit, markup is always a larger percentage than margin for the same sale.
If I want a 40% margin, what markup should I use instead?
You cannot simply use 40% markup to achieve a 40% margin — they produce different results. To find the correct markup for a target margin, use this calculator by testing prices until the margin figure matches your target; the corresponding markup percentage will be higher than the margin percentage.
Which is more common in business: margin or markup?
Both are used, but for different purposes. Margin is typically used for overall profitability reporting and comparison against financial benchmarks. Markup is often used for setting individual product prices, since it starts from a known cost.
Why does mistaking margin for markup cost businesses money?
Because markup percentages are always larger than the equivalent margin percentage. Applying a margin target as if it were a markup instruction results in underpricing — charging less than intended and earning a smaller actual profit margin than planned.
Can margin and markup ever be the same percentage?
Only when profit is zero (both would be 0%). For any sale with actual profit, markup will always be a larger percentage than margin, since it’s calculated against the smaller cost figure rather than the larger revenue figure.