How the calculation works
Profit margin % = ((Revenue − Cost) ÷ Revenue) × 100
Worked example
If revenue is $100 and cost is $60, profit is $40 and profit margin is 40%.
E-commerce Tool
Calculate gross profit amount and profit margin percentage from revenue and cost.
Free to use. No account required. Calculator inputs are processed in your browser.
Change the inputs to recalculate instantly.
Profit amount
$40
Profit margin
40%
Profit margin % = ((Revenue − Cost) ÷ Revenue) × 100
Worked example
If revenue is $100 and cost is $60, profit is $40 and profit margin is 40%.
Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost, so the percentages are not interchangeable.
Use the costs relevant to your decision. Product margin often starts with cost of goods, while net business margin includes a much wider set of expenses.
Yes. If cost is higher than revenue, the calculated profit and margin are negative.
Product Selling Price Calculator
Estimate a selling price from product cost and target profit margin.
Break-even ROAS Calculator
Estimate the ROAS required for ad revenue to cover cost of goods before other overhead.
ROAS Calculator
Calculate return on ad spend from advertising cost and attributed revenue.