
Accounting Cost of Goods Sold (Annual) Calculator Examples
Worked annual COGS examples for retailers, makers, and seasonal businesses using inventory, purchases, direct costs, and sales revenue.
These examples show how different inventory levels and direct costs affect annual cost of goods sold, gross profit, and gross margin. Each example uses the same basic annual COGS approach but represents a distinct business situation.
Retail shop with stable inventory
A homewares shop has regular purchases throughout the year and a modest increase in closing inventory.
Input Summary
Annual sales revenue
$500,000
Opening inventory
$80,000
Inventory purchases
$240,000
Other direct costs
$30,000
Closing inventory
$70,000
Calculation Breakdown
- 1Goods available for sale$80,000 + $240,000 + $30,000$350,000
- 2Annual COGS$350,000 - $70,000$280,000
- 3Gross profit$500,000 - $280,000$220,000
- 4Gross margin$220,000 / $500,000 × 10044.0%
Result Summary
Gross margin
44.0%
Accounting Cost of Goods Sold (Annual) Calculator
The estimated annual COGS is $280,000, leaving gross profit of $220,000 and a gross margin of 44.0%.
Small maker with direct production labour
A candle maker buys materials during the year and records wages paid directly for production as other direct costs.
Input Summary
Annual sales revenue
$180,000
Opening inventory
$25,000
Inventory purchases
$65,000
Other direct costs
$35,000
Closing inventory
$20,000
Calculation Breakdown
- 1Goods available for sale$25,000 + $65,000 + $35,000$125,000
- 2Annual COGS$125,000 - $20,000$105,000
- 3Gross profit$180,000 - $105,000$75,000
- 4Gross margin$75,000 / $180,000 × 10041.7%
Result Summary
Gross margin
41.7%
Accounting Cost of Goods Sold (Annual) Calculator
Estimated COGS is $105,000, gross profit is $75,000, and gross margin is 41.7%.
Seasonal retailer building stock
An outdoor retailer buys stock ahead of the next peak season, leaving a large closing inventory balance.
Input Summary
Annual sales revenue
$320,000
Opening inventory
$40,000
Inventory purchases
$190,000
Other direct costs
$15,000
Closing inventory
$95,000
Calculation Breakdown
- 1Goods available for sale$40,000 + $190,000 + $15,000$245,000
- 2Annual COGS$245,000 - $95,000$150,000
- 3Gross profit$320,000 - $150,000$170,000
- 4Gross margin$170,000 / $320,000 × 10053.1%
Result Summary
Gross margin
53.1%
Accounting Cost of Goods Sold (Annual) Calculator
Estimated COGS is $150,000, gross profit is $170,000, and gross margin is 53.1%.
Wholesaler with reduced ending stock
The business starts with a high inventory balance but finishes with less stock after meeting demand.
Input Summary
Annual sales revenue
$750,000
Opening inventory
$180,000
Inventory purchases
$390,000
Other direct costs
$25,000
Closing inventory
$110,000
Calculation Breakdown
- 1Goods available for sale$180,000 + $390,000 + $25,000$595,000
- 2Annual COGS$595,000 - $110,000$485,000
- 3Gross profit$750,000 - $485,000$265,000
- 4Gross margin$265,000 / $750,000 × 10035.3%
Result Summary
Gross margin
35.3%
Accounting Cost of Goods Sold (Annual) Calculator
Estimated COGS is $485,000, gross profit is $265,000, and gross margin is 35.3%.
How to Read Your Results
Annual COGS is the estimated direct cost assigned to inventory sold during the accounting year.
Goods available for sale shows the total cost pool before year-end unsold inventory is removed.
Gross profit is not net profit because it excludes indirect operating expenses, finance costs, and taxes.
Gross margin makes gross profit easier to compare across years or revenue levels, but it should be read alongside inventory valuation methods.
A change in closing inventory can affect COGS even if purchases and sales revenue stay unchanged.
Assumptions & Important Notes
- Each example uses one accounting period and one currency.
- Opening and closing inventory are valued consistently.
- Other direct costs are assumed to be directly attributable to acquiring or producing inventory.
- Sales revenue and COGS are assumed to relate to the same year.
Related Examples
Frequently Asked Questions
Can a business have high purchases but lower COGS?
Yes. If a meaningful portion of purchased inventory remains in closing inventory, it is not assigned to current-year COGS.
Why does a stock build reduce the COGS result?
The stock build increases closing inventory, which is deducted from goods available for sale because those items have not yet been sold.
Does gross profit include rent and advertising?
Generally, gross profit is calculated before indirect costs such as general rent, advertising, and administration. Actual classification can vary.
Can these examples be used for a service-only business?
They are mainly designed for businesses that buy, make, or hold inventory. A service-only business may have little or no inventory-based COGS.
Ready to calculate your own result?
Use the live calculator with your own inputs, timing, and preferences.