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.
Subtract Cost from Revenue to get Profit, then divide Profit by Revenue and multiply by 100.
Margin (%) = (Revenue − Cost) ÷ Revenue × 100.
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.
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.
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.
Calculators vary by what they include as cost (COGS only vs. COGS + expenses) and whether they report gross or net margin.
Yes, this calculator is designed to be a no-cost resource for quick pricing checks.