How Do You Figure Out Cost Of Goods Sold

5 min read

Cost of goods sold (COGS) is a fundamental metric that tells a business how much it spent to produce the goods it sold during a specific period. Understanding COGS is essential for pricing decisions, profit analysis, tax reporting, and overall financial health. In this guide you’ll learn exactly how to figure out COGS, why it matters, the formulas involved, step‑by‑step calculations, common mistakes to avoid, and practical tips for keeping your numbers accurate.

What Is Cost of Goods Sold?

Cost of goods sold represents the direct costs attributable to the production of the products a company sells. These costs typically include:

  • Raw materials used in manufacturing
  • Direct labor wages for workers who physically assemble the product
  • Manufacturing overhead that can be traced directly to production (e.g., utilities for the factory, depreciation of production equipment)

Indirect expenses such as sales salaries, marketing, rent for office space, and general administrative costs are not part of COGS; they appear later on the income statement as operating expenses.

Why COGS Matters

  1. Profitability Insight – Gross profit is calculated as Revenue – COGS. Knowing COGS lets you see how efficiently you turn sales into profit before accounting for overhead.
  2. Pricing Strategy – If your COGS is high, you may need to adjust prices or find ways to reduce production costs.
  3. Inventory Management – COGS ties directly to inventory levels; tracking it helps you avoid overstocking or stock‑outs.
  4. Tax Reporting – Tax authorities require an accurate COGS figure to determine taxable income. Misstating COGS can lead to penalties or missed deductions.
  5. Financial Analysis – Investors and lenders examine COGS trends to gauge operational efficiency and cost control.

The Basic COGS Formula

The most straightforward way to calculate COGS is:

[ \text{COGS} = \text{Beginning Inventory} + \text{Purchases (or Production Costs)} - \text{Ending Inventory} ]

Where:

  • Beginning Inventory = value of inventory at the start of the period
  • Purchases/Production Costs = cost of raw materials bought, direct labor, and applicable manufacturing overhead incurred during the period
  • Ending Inventory = value of inventory left unsold at the end of the period

This formula works for both merchandisers (who buy finished goods) and manufacturers (who produce goods). The key is to capture all direct costs that go into making the product ready for sale Which is the point..

Step‑by‑Step Process to Figure Out COGS

Below is a practical workflow you can follow for any accounting period (monthly, quarterly, or annually).

1. Determine the Period

Choose the time frame you want to analyze—most businesses use a month, quarter, or fiscal year. Consistency is crucial for trend analysis.

2. Gather Beginning Inventory Value

Locate the inventory balance from the end of the previous period. This figure should already be recorded in your general ledger or inventory management system It's one of those things that adds up..

3. Calculate Total Purchases or Production Costs

  • For retailers/wholesalers: Add up all invoices for merchandise purchased during the period, including freight‑in, customs duties, and any purchase discounts taken.
  • For manufacturers: Sum:
    • Direct raw material costs
    • Direct labor wages (hours worked × wage rate)
    • Variable manufacturing overhead (e.g., electricity for machines, indirect supplies)

Exclude any selling, general, and administrative (SG&A) expenses.

4. Adjust for Purchase Returns, Allowances, and Discounts

If you returned goods to suppliers, received allowances, or earned purchase discounts, subtract those amounts from your total purchases. This ensures you only count what you actually kept And it works..

5. Compute Ending Inventory

Perform a physical count or use a perpetual inventory system to determine the quantity and value of unsold goods at period‑end. Apply the appropriate inventory valuation method (see next section) to assign a cost to each unit.

6. Apply the COGS Formula

Plug the three numbers into the formula:

[ \text{COGS} = \text{Beginning Inventory} + \text{Net Purchases/Production} - \text{Ending Inventory} ]

7. Verify the Result

Cross‑check the COGS figure against your sales revenue. Gross profit should be a reasonable percentage of sales (industry benchmarks help). If the numbers look off, revisit each step for data entry errors or missed costs No workaround needed..

Inventory Valuation Methods and Their Impact on COGS

The way you value inventory influences the COGS number, especially when prices fluctuate. The three most common methods are:

Method How It Works Effect on COGS in Rising Prices
FIFO (First‑In, First‑Out) Assumes the oldest inventory items are sold first. Still, Lower COGS (older, cheaper costs) → higher reported profit. And
LIFO (Last‑In, First‑Out) Assumes the newest inventory items are sold first. Higher COGS (newer, more expensive costs) → lower reported profit. Because of that,
Weighted Average Cost Computes an average cost per unit based on total cost and total units available. COGS falls between FIFO and LIFO; smooths price volatility.

Note: LIFO is prohibited under IFRS but allowed under U.S. GAAP. Choose the method that best matches your business’s financial reporting requirements and tax strategy, then apply it consistently That's the part that actually makes a difference..

Example Calculation (Retailer)

Suppose a small electronics retailer wants to calculate COGS for January.

  • Beginning Inventory (Jan 1): $12,000
  • Purchases during January: $35,000
  • Purchase returns: $1,000
  • Freight‑in (shipping to store): $800
  • Ending Inventory (Jan 31): $15,000

Step 1 – Net Purchases
[ \text{Net Purchases} = 35,000 - 1,000 + 800 = 34,800 ]

Step 2 – Apply Formula
[ \text{COGS} = 12,000 + 34,800 - 15,000 = 31,800 ]

Thus, the retailer’s cost of goods sold for January is $31,800. Day to day, if sales revenue for the month was $50,000, gross profit would be $18,200 and gross margin 36. 4 % Worth keeping that in mind..

Common Pitfalls When Calculating COGS

  • Misclassifying Expenses – Including rent, utilities, or sales commissions in COGS inflates the figure and understates gross profit.
  • Ignoring Freight‑In – Transportation costs to bring inventory to your location are part of product cost and must be added.
  • Using Inconsistent Inventory Methods – Switching between FIFO and LIFO mid‑
New In

Just Landed

Connecting Reads

What Goes Well With This

Thank you for reading about How Do You Figure Out Cost Of Goods Sold. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home