Margin Calculator
Calculate gross profit margin, markup and selling price from any two values. Four calculation modes, additional cost tracking, bulk product table, break-even calculator, and industry benchmark comparisons.
Margin Calculator
Enter your cost and desired markup percentage to find the selling price and resulting margin.
Know your cost and desired margin? Find exactly what price to charge.
Add multiple products to compare margins side by side. Enter cost and price for each row. Margin, markup and profit update automatically.
| Product name | Cost | Price | Margin % | Markup % | Profit |
|---|
Rate this tool
Four calculation modes, additional costs, bulk product table and break-even calculator
Most margin calculators do one thing: divide profit by revenue. This calculator handles four real pricing scenarios, tracks additional costs like platform fees and shipping to show true net margin, lets you compare margins on a full product catalogue at once, and includes a break-even point calculator to determine how many units you need to sell to cover your fixed costs.
How to calculate profit margin
Margin vs markup conversion table
| Gross margin % | Equivalent markup % | Equivalent ROI | Health assessment |
|---|---|---|---|
| 10% | 11.1% | 11.1% | Low — typical for grocery/supermarkets |
| 20% | 25.0% | 25.0% | Moderate — typical for electronics retail |
| 30% | 42.9% | 42.9% | Good — solid for most product businesses |
| 40% | 66.7% | 66.7% | Strong — typical for fashion and e-commerce |
| 50% | 100.0% | 100.0% | Very strong — typical for branded goods |
| 60% | 150.0% | 150.0% | Excellent — typical for software and SaaS |
| 70% | 233.3% | 233.3% | Exceptional — luxury / high-IP products |
| 80% | 400.0% | 400.0% | Exceptional — software / information products |
LazyTools vs other margin calculators
| Feature | ⭐ LazyTools | Omni Calculator | Shopify | CalculatorSoup |
|---|---|---|---|---|
| Gross margin calculation | ✔ | ✔ | ✔ | ✔ |
| Additional costs / net margin | ✔ Full | ✘ | ✘ | ✘ |
| Bulk product table | ✔ Unlimited rows | ✘ | ✘ | ✘ |
| Break-even calculator | ✔ | ✘ | ✘ | ✘ |
| Industry benchmarks | ✔ 8 industries | ✘ | ✘ | ✘ |
| VAT / tax-inclusive pricing | ✔ | Separate tool | ✘ | ✘ |
Margin Calculator — Gross Profit Margin, Markup and Pricing Strategy Explained
Profit margin is the single most important number in your pricing strategy. It tells you what fraction of every sale you keep as profit after covering the cost of the product. Without knowing your margin, you cannot know whether your business is profitable, how much room you have to offer discounts, or whether a new product is worth selling at all. This calculator computes all the margin-related metrics you need: gross profit margin, net margin (after additional costs), markup percentage, ROI and break-even point.
What is gross profit margin?
Gross profit margin is the percentage of your selling price that is profit before accounting for operating expenses like rent, salaries and marketing. The formula is: Gross Profit Margin (%) = (Revenue - Cost) / Revenue x 100. For example, if you buy a product for $60 and sell it for $100, your gross profit is $40 and your gross profit margin is 40%. This 40% means that for every dollar of revenue, you keep 40 cents as gross profit. Gross margin does not account for the cost of running your business — only the direct cost of the product sold.
Margin vs markup — what is the difference?
Margin and markup are the same dollar profit viewed from different angles. Margin uses revenue as the base: a $40 profit on a $100 sale is a 40% margin. Markup uses cost as the base: a $40 profit on a $60 cost is a 66.7% markup. This distinction causes enormous confusion and real pricing mistakes. If a supplier says "50% markup" and you interpret it as "50% margin", you will underprice your products significantly. At a 50% markup, the selling price is cost x 1.5. At a 50% margin, the selling price is cost / 0.5 = cost x 2. For the same cost, a 50% margin requires charging twice the price of a 50% markup.
How to calculate gross margin percentage
To calculate gross margin percentage: (1) Find your cost of goods sold (COGS) — what you pay to manufacture or buy the product. (2) Find your revenue — the price you charge customers. (3) Subtract cost from revenue to find gross profit. (4) Divide gross profit by revenue and multiply by 100 to get the percentage. Example: cost = AED 150, selling price = AED 300. Gross profit = AED 150. Gross margin = 150/300 x 100 = 50%. This means you keep half of every sale. Note that gross margin is always less than 100% (you cannot have more profit than revenue) and always less than the equivalent markup percentage.
What is a good profit margin?
There is no universal answer — it depends entirely on the industry. Grocery retailers operate on 2-5% net margins and survive on volume. Software-as-a-service (SaaS) businesses regularly achieve 60-80% gross margins because marginal costs are near zero. For most product-based businesses, a gross margin above 30% is considered healthy, and a net margin above 10% after all operating costs is solid. The industry benchmark panel in this calculator compares your margin against 8 industry benchmarks. If your margin is below your industry average, focus on either reducing COGS or increasing your selling price.
How to calculate selling price from a target margin
To find the selling price that gives you a specific margin percentage, use the formula: Selling Price = Cost / (1 - Margin%). For a 40% target margin on a product costing $60: Selling Price = $60 / (1 - 0.40) = $60 / 0.60 = $100. This is the reverse margin formula and is extremely useful when building a price list for new products. Use the Find Price tab in this calculator to apply this formula instantly for any cost and target margin combination.
Break-even analysis for businesses
The break-even point is the number of units you must sell for your total revenue to equal your total costs — the point at which you make neither profit nor loss. The formula is: Break-Even Units = Fixed Costs / (Selling Price - Variable Cost per Unit). The denominator (Selling Price - Variable Cost) is called the contribution margin — how much each sale contributes toward covering fixed costs. If your fixed costs are $10,000 per month, your selling price is $100 and your variable cost is $60, your contribution margin is $40 and your break-even point is $10,000 / $40 = 250 units per month.