What Is Margin Calculator?
A free online margin calculator for e-commerce sellers, retailers, and business owners. Enter your revenue (selling price) and cost (COGS) to instantly see gross profit, margin percentage, markup percentage, break-even price, and recommended selling price for a target margin.
Profit margin is one of the most important metrics in any business. It tells you how much of each dollar of revenue is actually profit after accounting for costs. Margin Calculator computes gross profit, margin percentage, markup percentage, break-even price, and target margin pricing — everything you need to price products and evaluate profitability.
Enter the revenue (selling price) and cost (COGS — cost of goods sold). The calculator immediately shows the gross profit amount and the margin percentage. For example, a product sold for $100 that costs $60 to produce has a gross profit of $40 and a margin of 40%. That means 40% of the selling price is profit.
The markup percentage is also displayed — this is the profit expressed as a percentage of the cost, not the selling price. For the same $100 product costing $60, the markup is 66.7% ($40 profit ÷ $60 cost). Understanding the difference between margin and markup is critical for accurate pricing.
The break-even price shows the minimum selling price needed to cover costs (zero profit). The target margin section lets you enter a desired margin percentage, and the calculator shows the selling price needed to achieve it. For example, if you want 50% margin on a $60 cost, the selling price must be $120. The per-dollar breakdown shows how much of each dollar goes to cost vs. profit.