How to calculate gross profit

Gross profit is net sales minus the cost of goods sold for the same sales. The calculator below models a batch using units, price, unit cost, discounts, and a specific nonrecoverable-return assumption.

Open the Gross Profit Calculator.

How to calculate gross profit for a product or period

Start with recognized sales revenue after applicable discounts, returns, and allowances. Subtract the cost of goods sold associated with those sales. The amount left is gross profit before the other expenses that sit outside your cost-of-sales boundary.

Gross profit = net sales − cost of goods sold.

For example, a hypothetical retailer records $18,000 in net sales and $10,800 in cost of goods sold for one month. Gross profit is $7,200. This is a currency amount. Dividing $7,200 by $18,000 produces a gross profit margin of 40%, which is a separate percentage measure.

A $7,200 gross profit does not mean that $7,200 can be withdrawn without affecting the business. Operating expenses, financing costs, tax, and cash commitments may still need to be covered. The SEC financial statement guide explains the distinction between gross profit and later income-statement results.

Use matching periods. Revenue from this month’s sales and the cost of last month’s purchases do not necessarily describe the same activity, especially when stock levels change. The reconciliation needs the costs assigned to goods sold, rather than every inventory payment made during the month.

Assemble net sales without counting reductions twice

List gross sales first if your records provide them, then deduct the relevant sales reductions once. If your accounting report already shows net sales, entering an additional returns percentage on top of that figure can deduct the same refunds again.

Suppose 200 units are invoiced at $60 each. Gross listed sales are $12,000. A uniform 10% discount reduces expected sales proceeds to $10,800 before returns. If there are no returns or other adjustments, this is the revenue figure used for the batch example.

A percentage discount applied uniformly is a simplification. If half the items have one discount and half another, calculate the actual combined proceeds or a properly weighted discount. A simple average of two rates is not reliable when the underlying sales values differ.

For tax-inclusive invoices, separate amounts collected on behalf of a tax authority from business revenue using the applicable accounting treatment. The tool does not determine whether a particular transaction is taxable or what rate applies. Keep any tax conversion outside the batch calculation and use compatible net revenue and cost figures.

Credit notes also need a period convention. A refund issued this month for an earlier sale may be shown differently in management reports depending on the report’s purpose. Preserve a clear reconciliation rather than silently moving it to improve a month’s apparent performance.

Determine the cost of goods sold for the same output

A reseller’s cost of goods sold reflects the inventory cost assigned to the units sold. A manufacturer’s calculation may include materials, production labor, and an allocation of manufacturing overhead. The relevant accounting policies determine the categories; this simple calculator cannot establish them.

For the 200-unit example, assume the documented cost assigned to each sold unit is $32. Cost of goods sold is $6,400. With discounted revenue of $10,800 and no returns, gross profit is $4,400.

Do not add the entire inventory purchase bill if some purchased items remain unsold. Equally, goods sold from earlier purchases still have a cost even if no new inventory was bought this month. Cash spending and cost of sales answer different questions.

Check whether a per-unit cost already includes freight or production overhead before adding such costs elsewhere. A duplicated expense can reduce the reported gross profit without any underlying change in business performance.

Business Queensland’s profit guidance separates cost of goods sold from other expenses. Keep that boundary consistent when comparing products or periods, and explain any change in classification rather than treating it as an operating improvement.

Use the embedded calculator within its return assumptions

Enter Units Sold, Selling Price per Unit, Cost per Unit, and Average Discount. Set Returns Rate to zero for a straightforward sold-batch example. Entering 200 units, $60 price, $32 cost, and 10% discount then produces $4,400 gross profit.

The calculator’s returns field reduces revenue but retains the original cost for every entered unit. That can represent a scenario where refunded units have no recoverable inventory value. It does not automatically represent a return that can be inspected and resold.

If the example includes a 5% return rate after the uniform discount, revenue becomes $10,800 × 0.95 = $10,260. The tool retains the entire $6,400 original cost, leaving $3,860. This is the result of its stated nonrecoverable-cost model, not a universal accounting rule for all returns.

If ten returned items instead recover their full $32 inventory cost under the applicable records, the cost assigned to retained sales would be $6,080. Against the same $10,260 net revenue, gross profit would be $4,180 before any separate return-processing costs. Do that reconciliation from actual records rather than using the calculator’s returns field as if it made the adjustment.

A return with partial recoverable value needs its own documented treatment. Refund amounts, lost value, repair costs, and resale proceeds should not be inferred from a single percentage.

Compare the batch scenarios

The following examples share 200 originally invoiced units at a $60 list price and $32 original unit cost. They show why identifying the return boundary matters.

Scenario Net revenue Cost assigned within scenario Gross profit
No discount or returns $12,000 $6,400 $5,600
10% discount, no returns $10,800 $6,400 $4,400
10% discount, 5% nonrecoverable returns $10,260 $6,400 $3,860
Same refunds, full $320 cost recovery $10,260 $6,080 $4,180

The fourth row is a separate inventory reconciliation, not the output of the calculator’s returns mode. All amounts are illustrative. The appropriate treatment for an actual return depends on what was recovered and how it is recognized.

A discount reduces revenue while leaving the original unit cost unchanged in this example. A 10% price discount therefore reduces gross profit by $1,200, from $5,600 to $4,400. That is a profit reduction of approximately 21.43%, even though the customer-facing price reduction was only 10%.

Volume could change after a promotion, but this table holds it constant. Do not claim the discount improves total gross profit without a separate, supported sales-volume scenario.

Read gross profit alongside margin and operating expenses

Gross profit answers how much remains after cost of sales. Gross margin answers what fraction of net sales remains at that stage. Calculate the percentage as gross profit divided by net sales, multiplied by 100.

In the discounted, no-return scenario, $4,400 divided by $10,800 gives approximately 40.74%. The $4,400 amount and 40.74% rate are both useful, but they should not be substituted for each other. A larger sales period can produce more gross profit while having a lower gross margin.

If the same period has $3,000 of additional operating expenses, the remaining amount after those expenses is $1,400 before other applicable items. This additional subtraction belongs to the next stage of the profitability analysis. It does not change the already calculated gross profit.

For a repeatable report, retain the sales period, units, net-sales adjustments, inventory valuation basis, and any return recovery. Reconcile the calculator example with the underlying sales and stock records. That makes a movement in gross profit traceable to price, cost, volume, or returns rather than an unexplained change in inputs.

Table of contents