Skip to main content

Profit Margin Calc – Gross, Net % of Revenue

Quick answer

Margin = (revenue − costs) ÷ revenue × 100.

  • $12,000 sales, $7,200 costs = 40% margin.
  • Quick per-product check.

Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.

How Profit Margin Is Calculated

Profit Margin % = (Revenue − Total Costs) ÷ Revenue × 100

Margin expresses profit as a share of revenue, which makes products and periods comparable. Subtract total costs from revenue, divide by revenue, and multiply by 100. Worked example: $12,000 of sales carrying $7,200 of combined product, fulfillment and ad costs leaves $4,800 profit — a 40% margin. A 40% margin means 40 cents of every sales dollar survives as profit. Always divide by revenue, not by cost: dividing by cost would give markup (66.7% here), a different and commonly confused metric.

  1. 1

    Enter revenue

    Total sales for the product or period.

  2. 2

    Enter total costs

    COGS plus fulfillment, ads and allocated overhead.

  3. 3

    Read margin %

    Profit share of every sales dollar.

Use Cases

Product line pruning

Kill or reprice the bottom-margin SKUs each quarter.

Promo guardrail

Never discount below a floor margin set per category.

Channel comparison

Compare marketplace vs own-store margins including fees.

Common Mistakes

  • Dividing profit by cost instead of revenue — computing markup by accident

  • Ignoring ad and fulfillment costs that ride on every order

  • Comparing gross margin to a competitor's net margin

FAQs

What is a good profit margin?

Retail nets 2-6%, restaurants 5-10%, SaaS 20-30%+ — compare within your sector.

Why is my margin 40% but markup 66%?

You divided by cost; margin divides the same profit by price, which is always larger.

Gross or net margin?

Gross subtracts only product cost; net subtracts everything — both matter for different decisions.

Can margin exceed 100%?

No — costs are at least zero, so profit can never be larger than revenue.