Profit Margin Calculator — Free Gross & Net Margin Tool (2026)
Free profit margin calculator — instantly calculate gross margin, net profit & markup percentages. No login required. 100% private. Trusted by e-commerce sellers.
Last Updated: March 25, 2026
Instant Results
40.00%
Profit Margin
40.00
Profit
66.67%
Markup
How to Use
- Enter your total revenue (selling price) in the Revenue field.
- Enter your total cost (cost of goods sold) in the Cost field.
- Your profit margin, profit, and equivalent markup appear instantly on the right.
- Need to set a target price instead? Use our Markup Calculator to work backwards from your desired margin.
Formula Explained
Profit Margin (%) = ((Revenue − Cost) / Revenue) × 100
- Revenue
- = Selling price or total income from the sale
- Cost
- = Cost of goods sold (COGS) — direct costs to produce or acquire the item
Worked example: A product sells for $100 and costs $60 to produce. Profit = $100 − $60 = $40. Margin = $40 ÷ $100 = 0.40 = 40%.