doomath Calculator
Gross Profit Calculator
Calculate gross profit and gross profit margin from revenue and cost of goods sold.
InputsChange a value to recalculate instantly
ResultUpdates as you type
How it worksTransparent math
Calculation details are shown above.
Result breakdownSee the important numbers together
1Gross profit$4,000
2Gross margin40%
λ DooMathWork with this calculation
Local · deterministic · optionalQuick mathNatural-language-style shortcuts for deterministic arithmetic.
Calculator guide
How to use the Gross Profit Calculator
Calculate gross profit and gross profit margin from revenue and cost of goods sold.
01Set inputsChoose values, units and assumptions.
02Apply the modelGross profit = Revenue − COGS. Gross margin = Gross profit ÷ Revenue × 100.
03Read the resultCheck the output against the assumptions before using it.
What this calculator does
Subtract cost of goods sold from revenue, then express the result as a percentage of revenue.
Formula & method
Gross profit = Revenue − COGS. Gross margin = Gross profit ÷ Revenue × 100.
Assumptions & notes
- COGS should use the same period and scope as revenue.
