Profit Margin Calculator
Last updated: October 15, 2026
Calculate gross profit, margin, and markup.
Profit margin
—
- Gross profit: —
- Markup on cost: —
On this page
Quick summary: Calculate gross profit, margin, and markup.
Read the method, example and limitations
Updated reference sections in this guide are in English.
Guide language: English. Updated October 15, 2026.
What this calculator estimates
Profit Margin Calculator
Inputs and units
Use the units shown for Revenue ($), Cost ($). Required fields cannot be blank. Use zero only where that field and the model allow it. Select Calculate after changing a scenario.
Method and assumptions
Profit is revenue minus cost. Margin is profit / revenue; markup is profit / cost. Each percentage is undefined when its own denominator is zero, while dollar profit remains available.
Worked example
Revenue 100 and cost zero give profit 100 and margin 100%; markup is undefined.
Limitations
Use consistent periods and all costs relevant to the margin being measured. This tool does not distinguish gross, operating and net cost classifications.