Profit Margin Calculator

Quickly compute gross, net, and contribution margins with a cost breakdown.

📈

Profit Margin

Enter your revenues and costs — results update instantly.

Gross Profit Margin
Net Profit Margin
Contribution Margin (after COGS + Ads)
Cost Breakdown
COGS:
Operating:
Ad Spend:
Net Margin:

What is Profit Margin?

Profit margins show how much of every sales dollar your business keeps after covering costs. Gross margin focuses on product-level profitability (after COGS), while net margin accounts for operating expenses and ad spend.

How to Calculate

Step 1: Calculate gross profit = Revenue − COGS. Step 2: Gross margin = Gross profit ÷ Revenue. Step 3: Subtract operating and ad costs to get net profit, then divide by Revenue for net margin. Contribution margin excludes operating costs and focuses on contribution after COGS and ads.

Formulas

Gross Profit = Revenue − COGS
Gross Margin = Gross Profit ÷ Revenue
Net Profit = Revenue − COGS − Operating − Ad Spend
Net Margin = Net Profit ÷ Revenue
Contribution Margin = (Revenue − COGS − Ad Spend) ÷ Revenue

Real-World Example

Using the example defaults: Revenue , COGS , Operating , Ad Spend . Gross profit is (), net profit is (), and contribution margin is .

Why This Matters

Understanding margins helps compare pricing and cost scenarios. Interpret the output against your own operating costs, tax treatment, channel mix, risk tolerance, and financial targets.