Gross Profit Calculator
Revenue minus cost of goods sold.
Enter your values
Enter the revenue in $.
Enter the cost of goods sold in $.
Enter the operating expenses in $.
Results update instantly as you type — no submit needed. Your values are remembered on this device, and the shareable link reopens the calculator with exactly these numbers.
- Gross profit
- $72,000.00
- Gross margin
- 40%
- Operating profit
- $32,000.00
- Operating margin
- 17.78%
- Markup on cost
- 66.67%
Quick answer
Gross profit is revenue minus direct costs; the margin shows what share of each sale is left to cover overhead.
Gross profit = Revenue − COGS
At a glance
| What it does | Revenue minus cost of goods sold. |
|---|---|
| Category | Business |
| Inputs needed | Revenue, Cost of goods sold, Operating expenses |
| Main output | Gross profit |
| Formula | Gross profit = Revenue − COGS |
| Cost | Free — no sign-up, no download |
How to use the Gross Profit Calculator
- 1Enter total revenue for the period.
- 2Enter cost of goods sold.
- 3Add operating expenses for the operating margin.
Inputs explained
- Revenue($)
- Enter the revenue in $.
- Cost of goods sold($)
- Enter the cost of goods sold in $.
- Operating expenses($)
- Enter the operating expenses in $.
Worked example
Using the values the calculator loads with:
Inputs
- Revenue180000 $
- Cost of goods sold108000 $
- Operating expenses40000 $
Results
- Gross profit$72,000.00
- Gross margin40%
- Operating profit$32,000.00
- Operating margin17.78%
- Markup on cost66.67%
Frequently asked questions
What counts as COGS?
Direct materials, direct labour and freight-in — not rent or marketing.
Is margin the same as markup?
No: margin is profit over revenue, markup is profit over cost.
What do I need to enter into the Gross Profit Calculator?
Just 3 values: revenue, cost of goods sold, operating expenses. Every field starts with a realistic example, so you can change one number at a time and watch the result update instantly.
How does the Gross Profit Calculator work out the answer?
Gross profit is revenue minus direct costs; the margin shows what share of each sale is left to cover overhead. It applies the formula Gross profit = Revenue − COGS and shows the working so you can check each step by hand.
Is the Gross Profit Calculator free, and do I need an account?
It is completely free with no sign-up, no download and no usage limit. Everything is calculated in your browser, so the numbers you type never leave your device.
Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.