How to use the Profit Margin Calculator
- Enter your Cost of Goods Sold (COGS) or unit production cost.
- Enter your retail Selling Price / Revenue.
- Optionally include overhead and Operating Expenses (ad spend, shipping, labor) to calculate net profit.
- Instantly compare your Gross Margin %, Markup %, Net Profit %, and examine the target margin pricing matrix.
The Vital Difference Between Profit Margin and Markup
One of the most catastrophic accounting blunders committed by new business owners, retail merchants, and e-commerce sellers is conflating profit margin with markup. While both terms describe the dollar spread between wholesale cost and retail selling price, they use completely different denominators:
Markup (%) = (Profit / Cost) × 100
Consider an item that costs $50 to manufacture and sells for $100:
- Profit: $100 - $50 = $50.00
- Markup: ($50 Profit ÷ $50 Cost) = 100% Markup
- Profit Margin: ($50 Profit ÷ $100 Revenue) = 50% Margin
If a business owner wanting a 50% profit margin mistakenly applies a "50% markup" to a $50 product, they will price it at $75, earning only a 33.3% margin. Over thousands of sales, this pricing error erodes profitability and leads to cash flow deficits.
Gross Profit vs. Net Profit Margin
- Gross Profit Margin: Measures manufacturing and direct unit efficiency. It subtracts only the direct Cost of Goods Sold (raw materials, factory labor, packaging) from top-line revenue.
- Net Profit Margin: The true bottom line. It subtracts all operating overhead, marketing acquisition costs, administrative payroll, office rent, software subscriptions, loan interest, and corporate income taxes.
Worked Example: E-Commerce Product Launch
Suppose an online retailer sources custom leather wallets for $25.00 each, sells them for $75.00, and spends $20.00 per unit on Facebook advertising and shipping packaging:
| Financial Metric | Dollar Value | Calculation | Percentage of Revenue |
|---|---|---|---|
| Retail Selling Price | $75.00 | Top-line Revenue | 100.0% |
| Cost of Goods Sold (COGS) | $25.00 | Wholesale manufacturing | 33.3% |
| Gross Profit | $50.00 | $75.00 - $25.00 | 66.7% Gross Margin |
| Operating / Ad Expenses | $20.00 | CAC & Logistics | 26.7% |
| Net Profit | $30.00 | $50.00 - $20.00 | 40.0% Net Margin |
| Markup on Cost | - | ($50 ÷ $25) × 100 | 200.0% Markup |
Frequently asked questions
What is the formula for calculating profit margin?
How does margin differ from markup?
What is a good gross profit margin for a small business?
What is a healthy net profit margin?
How do I calculate price based on a desired profit margin?
Can profit margin ever exceed 100%?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.