Margin and markup: not the same number
Margin and markup both use cost and price, but they compare profit to different bases. Margin is profit divided by the selling price, markup by cost, so the same sale shows two different percentages. Mix them and your price ends up lower than you planned.
TL;DR
- Profit margin measures gross profit relative to the final retail selling price
- Formula: Profit Margin % = (Profit ÷ Revenue) × 100 | Markup % = (Profit ÷ Cost) × 100
- Example 1: Selling an item for $150 that cost $100 to produce
How it works
Profit margin measures gross profit relative to the final retail selling price. It tells you what percentage of your total sales revenue is pure profit. Markup, on the other hand, measures gross profit relative to the original cost of the product. It tells you what percentage you added to the unit cost to establish the retail tag. Margin can never exceed 100%, while markup can grow infinitely.
The math
To calculate profit margin and markup, first find the absolute gross profit by subtracting unit cost from selling price. Then, divide this profit by either sales revenue (for margin) or product cost (for markup).
Profit represents absolute income (Revenue - Cost). Margin relates this surplus to the total sales price, while markup focuses on what you added to the initial unit purchase cost.
Examples
Example 1: Selling an item for $150 that cost $100 to produce
- Identify unit cost: $100.00
- Identify retail selling price: $150.00
- Calculate gross profit: $150.00 - $100.00 = $50.00
- Calculate profit margin: ($50.00 ÷ $150.00) × 100 = 33.3%
- Calculate product markup: ($50.00 ÷ $100.00) × 100 = 50.0%
Example 2: Setting retail prices for boutique merchandise
- Boutique inventory cost: $20.00
- Target markup percentage: 60%
- Calculate markup addition: $20.00 × 0.60 = $12.00 profit
- Establish retail selling price: $20.00 + $12.00 = $32.00
- Resulting profit margin: ($12.00 ÷ $32.00) × 100 = 37.5%
When to use it
✦ E-commerce Product Pricing
Online sellers use markup calculators to set retail prices that cover wholesale costs, advertising spend, transaction fees, and shipping, securing sustainable profit margins.
✦ Corporate Financial Reporting
Businesses track gross margin over time to monitor financial health. Declining profit margins often signal rising production costs or intense market competition.
✦ Contractor Service Estimations
Plumbers, carpenters, and consultants use markup rates on raw materials and labor to ensure their service contracts yield enough profit to cover business overhead.
⚠ Common mistakes
- Confusing Margin with Markup: Believing that a 50% markup equals a 50% profit margin can cause severe losses. A 50% markup yields only a 33.3% margin. Always know which metric you are using.
- Ignoring Overhead Costs: Setting prices based only on raw product cost without accounting for rent, software, shipping, and payment processing fees will quickly eat away your profits.
FAQ (7)
Why is markup always higher than profit margin?
Markup is calculated relative to a smaller base (the production cost), while profit margin is calculated relative to the total retail selling price (which includes the profit itself).
What is a healthy profit margin for a retailer?
Healthy margins vary by industry, ranging from 5-10% for high-turnover grocery lines to 50-70% for luxury goods, cosmetics, and software.
Can profit margin be negative?
Yes, if you sell an item for less than it cost to buy or produce, your profit is negative, resulting in a negative profit margin (and a business loss).
If I type my salary or prices here, do you store them?
No — and that's deliberate. Everything runs locally in your browser, nothing leaves your device. We don't see your net salary, your margins, or the VAT numbers you test. For a finance tool that matters: you can run a quick check on a payslip or an invoice while on public Wi-Fi and close the tab knowing no trace is kept server-side.
Can I use it on the train without signal to check an invoice?
Yes. Load the page once, then it works offline. VAT, discount and mortgage math are all pure JavaScript — no API call. I often test it in airplane mode: open the mortgage page, type 250,000 at 4.5% for 25 years, you get the schedule instantly, even in a tunnel.
Can I file taxes with these results?
Use it as a fast sanity check, not as the final filing. Formulas are standard (e.g. Net = Gross / 1+VAT) and verified against official sources listed at the bottom, but rates and thresholds change — Italy's 22% vs Germany's 19%, or IRPEF brackets. For the actual declaration, double-check with your accountant or Agenzia delle Entrate / HMRC / IRS.
How do I send a calculation to my accountant?
Hit 'Share Link' under the results. It encodes the inputs in the URL — e.g. ?price=1200&vat=22 — so your accountant opens the exact same view, no screenshot needed. You can also copy the result with one tap and paste it into an email.