How to use the Gross Profit Calculator
- Enter revenue for the period, after returns and discounts.
- Enter the cost of goods sold for the same period.
- Read the gross profit, the gross margin, and COGS as a share of revenue.
Gross profit and gross margin formulas
Where:
- = revenue (net sales)
- = cost of goods sold
Show as plain text
Gross profit = Revenue − Cost of goods sold Gross margin = Gross profit ÷ Revenue × 100
Cost of goods sold is the direct cost of producing what you sold: materials, direct labour and manufacturing or purchase costs. It excludes overheads such as rent, marketing and administration.
Gross profit shows how much is left from sales to pay those overheads and produce a net profit.
Assumptions and limitations
- Revenue is net of returns and discounts.
- Both figures cover the same period.
Example: Revenue of $500,000 with COGS of $300,000
- Gross profit: $500,000 − $300,000 = $200,000.
- Gross margin: $200,000 ÷ $500,000 × 100 = 40%.
When to use the Gross Profit Calculator
- Preparing the top section of a monthly or yearly income statement.
- Tracking whether product costs are rising faster than sales.
- Moving on to the bottom line with the net profit calculator.
Gross Profit Calculator FAQs
What is the difference between gross profit and net profit?
Gross profit deducts only the direct cost of the goods or services sold. Net profit goes further and also deducts operating expenses, interest and tax. Use the Net Profit Calculator for the full picture.
What is included in COGS?
Raw materials, direct labour, inbound freight and factory overhead for manufacturers, or the purchase cost of stock for retailers. Selling, marketing and office costs are operating expenses, not COGS.
Why can gross margin fall even when sales are growing?
Gross margin is a ratio, so it falls whenever cost of goods sold grows faster than revenue. Common causes are supplier price rises, heavier discounting and a shift towards lower-margin products. Compare the margin period by period rather than the profit alone.
How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.