About the Gross Profit Calculator
Gross profit is the first profit figure on an income statement and, for most businesses that sell products, the most important one to watch. It is what is left from sales after paying for the goods that were sold — before rent, wages, marketing or anything else. If gross profit is too small, no amount of cost cutting elsewhere will make the business profitable.
This gross profit calculator takes your sales, any returns and discounts, and the cost of goods sold, and gives the gross profit and gross margin. It also shows the COGS ratio — the share of every sale that goes on the goods themselves — and the average markup the figures imply, so you can compare them with the markups you use when pricing.
How to Use the Gross Profit Calculator
Enter your sales for the period, before returns and excluding sales tax or VAT.
Enter any returns and discounts: refunds, allowances for damaged goods and discounts given at the till. Leave it at zero if there were none.
Enter the cost of goods sold for the same period. If you do not know it, the COGS calculator works it out from your stock figures.
How Gross Profit Is Calculated
net sales = sales − returns and discounts
gross profit = net sales − cost of goods sold
gross margin = gross profit ÷ net sales
COGS ratio = cost of goods sold ÷ net sales
average markup = gross profit ÷ cost of goods sold
The gross margin and the COGS ratio always add up to 100%.
Step-by-Step Example
Sales of 250,000, returns and discounts of 10,000, cost of goods sold of 144,000.
Net sales: 250,000 − 10,000 = 240,000
Gross profit: 240,000 − 144,000 = 96,000
Gross margin: 96,000 ÷ 240,000 = 40%
COGS ratio: 144,000 ÷ 240,000 = 60%
Average markup: 96,000 ÷ 144,000 = 66.67%
Had the returns been ignored, the margin would have looked like 42.4% — a flattering figure that does not reflect the money the business actually kept.
What Goes into Cost of Goods Sold
| Included in COGS | Not in COGS (operating expenses) |
|---|---|
| Stock bought for resale | Shop or office rent |
| Raw materials | Office and sales salaries |
| Direct production labour | Advertising and marketing |
| Inbound freight and import duty | Software and subscriptions |
| Packaging that ships with the product | Delivery to customers (often) |
Where a cost sits matters. Moving a cost from operating expenses into COGS lowers gross profit but leaves net profit unchanged, so compare margins only with businesses that classify costs the same way.
Using Gross Margin
Track it over time. A falling gross margin is an early warning: supplier prices are rising, discounts are creeping up, or the sales mix is shifting towards lower-margin products.
Compare products. Work out the gross margin of each main product line. The products that sell most are not always the ones that earn most.
Check it covers overheads. Gross profit has to pay every operating expense before any net profit appears. If overheads are 30% of sales and the gross margin is 28%, the business loses money on every sale however busy it is.
Set pricing targets. Knowing the gross margin you need lets you set prices with the profit margin or markup calculator.
Gross Profit in Service Businesses
A business that sells services rather than goods can still calculate gross profit. The cost of sales is the direct cost of delivering the service: subcontractors, the wages of staff who do the billable work, and materials used on jobs. What is left pays for the office, the sales effort and the management time that are not charged to a particular client.
Gross Profit for Online Sellers
Selling online adds costs that are easy to put in the wrong place. Marketplace fees charged on each sale, payment processing fees and the packaging that goes out with every order all rise with sales, and many sellers treat them as part of the cost of each sale when judging whether a product is worth stocking. Others keep them in operating expenses so that gross margin stays comparable with a physical shop. Either approach works, as long as it is applied consistently.
What matters most is not to forget them. A product with a 45% gross margin before fees can fall below 30% once a 15% marketplace commission and card fees are taken into account, and advertising on the marketplace can take several points more. Work out the margin after these per-sale costs before deciding a product is profitable.
Why Gross Margin Changes
A change in gross margin from one period to the next always has a cause, and finding it is usually worthwhile.
Price changes. Discounts, promotions and price cuts to match competitors lower the margin directly.
Cost changes. Supplier price rises, currency movements and higher freight costs raise the cost of goods.
Sales mix. If a larger share of sales comes from low-margin products, the overall margin falls even though no individual price or cost has changed.
Shrinkage. Theft, damage and spoilage increase the cost of goods sold without adding any sales.
Understanding Your Result
Gross profit is net sales less the cost of goods sold.
Gross margin is gross profit as a percentage of net sales.
Net sales shows the sales figure after returns and discounts.
COGS ratio is the share of net sales spent on the goods themselves.
Average markup is the markup on cost that the totals imply.
Worth knowing shows how much ignoring returns would have flattered the margin, and reminds you that overheads still have to be paid.
When Should You Use This Calculator?
Preparing monthly or annual accounts.
Checking whether prices cover the cost of goods with enough to spare.
Comparing product lines or sales channels.
Reviewing the effect of discounts and returns on profit.
Preparing figures for a lender or investor.
Common Mistakes
Using gross sales instead of net sales. Returns and discounts come off first.
Putting overheads into COGS, or leaving direct costs out of it.
Including sales tax in sales. Tax collected is not revenue.
Mixing periods. Sales and COGS must cover the same weeks or months.
Confusing gross margin with markup. A 40% margin is a 66.67% markup.