// Tools

Profit margin calculator

Find margin from cost and price, or calculate your VAT-inclusive selling price from a target margin.

Everything is calculated in your browser; your numbers are never sent to us.
Calculation Mode
(optional)

Leave 0 if your price excludes VAT.

Profit per unit:—
Results

Results

Profit per unit
—
Profit margin
—
Price excl. VAT
—
Price incl. VAT
—
Markup
—
Approx. break-even ROASExcludes shipping, fees and other costs; use the break-even ROAS tool for the full picture.
—
// Formula

Profit margin, markup and pricing equations

Net Selling Price

Net Price = Gross Selling Price ÷ (1 + VAT % ÷ 100)

True commercial revenue retained by the business after statutory indirect sales tax is deducted.

Unit Profit

Profit = Net Selling Price − Unit Cost

Absolute dollar gross profit generated on each unit sold prior to operating expenses.

Profit Margin (%)

Margin (%) = (Profit ÷ Net Selling Price) × 100

Percentage of net revenue that represents profit. Margin can never exceed 100%.

Markup (%)

Markup (%) = (Profit ÷ Unit Cost) × 100

Percentage added on top of direct cost to establish the selling price. Markup can exceed 100%.

Price from Target Margin

Net Price = Cost ÷ (1 − Target Margin % ÷ 100) | Gross = Net × (1 + VAT %)

Required net and gross customer selling price necessary to achieve your desired profit margin.

Approximate Break-Even ROAS

Break-Even ROAS = 100 ÷ Margin %

Theoretical minimum advertising return threshold considering product cost alone.

// Example

Example calculation

Example

A product with $300 unit cost, $600 retail selling price, and a 20% VAT rate.

Input Values

Unit cost (excl. VAT)$300
Selling price$600
VAT rate20%

Calculated Results

Price excl. VAT$500
Price incl. VAT$600
Profit per unit$200
Profit margin40%
Markup66.67%
Approx. break-even ROAS2.50x
// Guide

Deep Dive & Methodology

Understanding profit margin and why it matters

Profit margin reflects the proportion of sales revenue remaining after paying for the product itself. It is the fundamental metric dictating your business cash flow and growth flexibility.

Confusing markup with margin is one of the most common financial errors in e-commerce, frequently leading to discount promotions that inadvertently destroy profitability.

The critical difference between margin and markup

If a product costs $100 and sells for $150, profit is $50. The markup on cost is 50% ($50 ÷ $100), but the profit margin is only 33.3% ($50 ÷ $150).

Offering a 40% discount believing you have a 50% margin creates an immediate loss on every sale. Always compute discounts against margin, not markup.

Why VAT must be removed before calculating margins

Sales tax and VAT are collected on behalf of the government and do not belong to your business. Computing margin against VAT-inclusive retail prices artificially inflates your perceived profit.

True margins must always be calculated against net revenue, with VAT added back when setting consumer-facing price tags.

Connecting profit margin to break-even ROAS

A product with a 40% gross margin requires a 2.50x approximate break-even ROAS (100 ÷ 40) to cover inventory costs.

However, real e-commerce operations also incur shipping, payment processing fees, and customer returns. For a full unit economics breakdown that includes all variable costs, use our Break-Even ROAS calculator.

// Frequently Asked Questions

Questions about profit margin and pricing

What is the formula for profit margin?

Profit Margin (%) = [(Net Selling Price − Cost) ÷ Net Selling Price] × 100. The denominator is always the selling price, never the cost.

Is a 50% markup equal to a 50% margin?

No. A 50% markup yields a 33.3% margin. To achieve a 50% margin, you need a 100% markup (selling at twice the cost).

How do I calculate retail price from a target margin?

Divide your cost by (1 − target margin). For example, with a $400 cost and a 20% target margin: $400 ÷ 0.80 = $500 net price.

How should marketplace sellers calculate margin?

Marketplaces like Amazon, eBay and Etsy deduct commissions and fulfillment fees directly from the sale; your current rates are in your seller dashboard. Use our Break-Even ROAS tool to incorporate these platform fees into your margins.

What is considered a healthy gross margin in e-commerce?

There is no single healthy number; it depends on your category, business model and order volume. The real question is whether your margin covers variable costs such as ads, shipping, fees and returns. The break-even ROAS calculator shows you exactly that.

// INDEPENDENT AUDIT

The maths is done. Are the numbers right?

ROAS and CPA are only as accurate as your tracking. Missing or duplicated conversions break every calculation above. Let an independent audit check your measurement.