Profit Margin Calculator
How to calculate profit margin
Profit margin formula example
Net Profit
Profit Margin (gross margin)
Markup (profit % vs cost)
Inputs
Margin vs Markup
Margin (Gross Profit Margin)
Markup (Profit Percentage)
What is a healthy profit margin?
How to judge your margin
Profit margin calculator FAQs
What is profit margin?
Profit margin is the percentage of each sale that remains as profit after you subtract the product’s cost. It’s a standard way to compare how profitable products or businesses are.
How do you calculate profit margin?
Subtract Cost from Revenue to get Profit, then divide Profit by Revenue and multiply by 100.
Margin (%) = (Revenue − Cost) ÷ Revenue × 100.
What’s the difference between gross profit, net profit and margin?
Gross profit is calculated as revenue minus the cost of goods sold (COGS). Net profit goes a step further by also subtracting operating expenses, such as marketing, shipping, or overhead, which are not always included in simple profit calculators. Profit margin then expresses profit as a percentage of revenue and can be calculated using either gross or net profit, depending on which costs are included. This calculator reports profit and margin based on the cost inputs you provide, helping you understand your true profitability.
How do I calculate a 20% profit margin (reverse calculation)?
To achieve a 20% margin, divide your total cost by (1 − 0.20). Example: required selling price = Cost ÷ 0.8. Shopify’s guide shows this reverse-calculation approach for target margins.
Which is more important: profit or profit margin?
Both matter. Profit is the actual dollars you keep; margin shows efficiency and comparability. Use profit to manage cash flow and margin to evaluate pricing and competitiveness.
Why do different calculators give slightly different results?
Calculators vary by what they include as cost (COGS only vs. COGS + expenses) and whether they report gross or net margin.
Is this calculator free to use?
Yes, this calculator is designed to be a no-cost resource for quick pricing checks.