Looking for support for your finance function? Book a time with an expert.
Follow us on LinkedIn
Corporate Finance
12
Minute Read

Cost of Goods Sold (COGS): The Formula and Why it Matters

Exposing which costs legitimately belong in your COGS calculations versus those masquerading as production expenses that should be banished

Exposing which costs legitimately belong in your COGS calculations versus those masquerading as production expenses that should be banished

In the world of financial management, few metrics carry as much weight as Cost of Goods Sold (COGS). This crucial figure serves as the gold standard for measuring business profitability and drives key operational decisions. While many businesses track their revenues diligently, those that fail to master their COGS often struggle with pricing strategies, inventory management, and, ultimately, sustainable growth.

The Cost of Goods Sold (COGS) Formula

Basic formula structure

The basic COGS formula appears deceptively simple:

COGS = Beginning Inventory + Purchases - Ending Inventory

For example, if a furniture store generates $200,000 in revenue with a COGS of $160,000, its COGS ratio would be 80%

This foundational formula requires careful inventory management and consistent valuation methods to ensure accurate results.

Components of COGS

The components of COGS vary significantly across industries:

  • For retailers: includes the purchase cost of merchandise, inbound freight, customs duties, and other costs directly tied to acquiring inventory.
  • For manufacturers: expands to include raw materials, direct labor costs, and manufacturing overhead like factory utilities and depreciation of production equipment.
  • For service businesses: While service companies don't sell physical products, they may still have direct costs tied to service delivery, such as contractor payments or materials used in service provision.

These components must be properly identified and consistently tracked to ensure accuracy in financial reporting.

Importance of COGS

Impact on gross profit

Gross profit, calculated as Revenue minus COGS, represents the profit a company makes after deducting the costs associated with producing and selling its products. This metric reveals a company's efficiency in managing production costs before accounting for operating expenses.

A higher gross profit margin indicates strong pricing power, efficient cost management, or both. Conversely, a declining gross margin often signals pricing pressure, rising input costs, or production inefficiencies that require immediate attention.

For example, if a retail business generates $500,000 in revenue with COGS of $300,000, its gross profit is $200,000, yielding a gross margin of 40%. Comparing this figure to industry benchmarks and historical performance provides valuable insights into a company’s operating efficiency.

Influence on pricing strategies

COGS serves as the foundation for pricing decisions. Without an accurate understanding of product costs, businesses risk underpricing products and services, which erodes margins. Similarly, they risk overpricing these and losing sales volume. 

Strategic pricing requires a clear view of both direct and indirect costs. Many businesses make the mistake of basing prices solely on competitors' pricing without understanding their own cost structure. This approach can lead to unsustainable pricing models and margin compression.

When product costs increase, businesses must decide whether to absorb these costs or pass them to customers—and with accurate COGS data, they can make an informed decision. 

Role in tax reporting

COGS plays a crucial role in tax compliance and planning. Since it directly reduces taxable income, accurate COGS reporting ensures businesses pay the correct amount of taxes while maximizing legitimate deductions.

Tax authorities scrutinize COGS calculations, particularly regarding inventory valuation and cost capitalization policies. Consistency in accounting methods is essential to withstand potential audits.

Different inventory valuation methods can significantly impact taxable income, creating opportunities for strategic tax planning within regulatory boundaries.

Identifying growth opportunities

Beyond compliance and reporting, COGS analysis uncovers opportunities for business growth and efficiency improvements. Detailed examination of cost components often reveals:

  • Supplier consolidation opportunities: Analyzing material costs may show where a company can gain advantages by purchasing in bulk from fewer suppliers.
  • Automation potential: High direct labor costs within COGS might indicate where processes should be considered for automation.
  • Product mix optimization: COGS analysis by product line helps identify which products deliver the highest margins.

Ensuring Proper Financial Management

While the COGS formula itself is straightforward, implementing proper inventory tracking and financial reporting systems requires expertise.

 Many growing companies find value in hiring a fractional CEO or interim CEO to establish robust financial procedures and reporting mechanisms. These experienced executives can work alongside a controller to ensure that COGS and other financial data are accurately tracked, reported, and analyzed.

A fractional leadership approach allows companies to access executive-level financial expertise without the commitment of a full-time hire, particularly during growth phases or financial restructuring periods when proper COGS management can significantly impact profitability.

Methods of Calculating COGS

First-In-First-Out (FIFO) method

The FIFO method assumes that inventory items purchased or produced first are sold first. This approach generally reflects the natural flow of inventory for most businesses.

During inflationary periods, FIFO typically results in lower COGS and higher reported profits, as older, less expensive inventory costs are allocated to goods sold first. While this presents more favorable financial results, it also increases tax obligations.

FIFO provides a more current inventory valuation on the balance sheet, as the ending inventory reflects more recent purchases. This method works particularly well for businesses dealing with perishable goods or products subject to obsolescence.

Last-In-First-Out (LIFO) method

LIFO assumes that the most recently acquired inventory items are sold first. While less common than FIFO, this method offers certain advantages in specific situations.

During periods of rising costs, LIFO results in higher COGS and lower reported profits, potentially reducing tax liabilities. This tax advantage explains why some businesses prefer LIFO despite its divergence from typical physical inventory flows.

However, LIFO can lead to outdated inventory values on the balance sheet and is prohibited under International Financial Reporting Standards (IFRS), limiting its use for global companies.

Average Cost Method

The Average Cost method, sometimes called weighted average, calculates the average cost of all inventory items available during the period. This method strikes a middle ground between FIFO and LIFO.

The formula applied is: 

Average Cost per Unit = Total Cost of Goods Available for Sale / Total Units Available for Sale

This approach smooths out price fluctuations and is less susceptible to manipulation than other methods. It's particularly useful for businesses dealing with homogeneous products or commodities where individual units are indistinguishable.

The Average Cost method simplifies record-keeping, making it attractive for businesses with high transaction volumes or limited accounting resources.

Specific Identification method

The Specific Identification method tracks the actual cost of each inventory item individually. This highly accurate approach works best for businesses selling unique, high-value items like automobiles, jewelry, or custom machinery.

While providing the most precise COGS calculation, this method requires sophisticated inventory tracking systems and detailed record-keeping. The administrative burden makes it impractical for businesses with high-volume, low-value inventory.

Unlock Your Finance Potential

Empower your finance team with expert leadership and strategic support. Whether you need an interim CFO or help developing your current leaders, we’re here to elevate your finance function.

Unlock Your Finance Potential

Empower your finance team with expert leadership and strategic support. Whether you need an interim CFO or help developing your current leaders, we’re here to elevate your finance function.

Speak with a Fractional CFO

Feel free to reach out to us for a free consultation, no strings attached.

Costs Included in COGS

Direct materials

Direct materials encompass all raw materials and components that become part of the finished product. For a furniture manufacturer, this includes wood, fabric, fasteners, and finishing materials. For a food producer, it includes ingredients, packaging, and labeling materials.

Tracking direct materials requires robust procurement and inventory management systems. Many businesses implement material requirements planning (MRP) systems to optimize material ordering and usage.

Direct labor

Direct labor refers to wages, benefits, and payroll taxes for employees directly involved in manufacturing products or delivering services. This includes production line workers, assembly technicians, and quality control personnel who handle the product.

In service businesses, direct labor might include billable consultant hours or technician time directly attributable to specific customer engagements.

As automation increases across industries, many businesses see shifts from direct labor costs to overhead or capital expenditures. These transitions require careful accounting treatment to maintain accurate COGS calculations.

Manufacturing overhead

Manufacturing overhead encompasses all indirect costs associated with production facilities. These costs include:

  • Factory utilities (electricity, water, heating)
  • Production equipment maintenance
  • Production supervisor salaries
  • Factory insurance and property taxes
  • Depreciation of manufacturing equipment
  • Production supplies not directly incorporated into products

Allocating manufacturing overhead to specific products presents accounting challenges, especially for businesses with diverse product lines.

Costs Excluded from COGS

Selling, General, and Administrative Expenses (SG&A)

SG&A expenses support business operations but don't directly contribute to product production. These costs include:

  • Sales commissions and marketing expenses
  • Executive salaries and administrative staff
  • Office rent and utilities
  • Customer service operations
  • Corporate legal and accounting fees

The distinction between manufacturing overhead (included in COGS) and SG&A expenses requires careful judgment. For instance, a production facility manager's salary typically counts as manufacturing overhead, while the CEO's compensation falls under SG&A.

Misclassifying SG&A expenses as COGS distorts gross margin calculations and can mislead management about true product profitability.

Research and Development (R&D) costs

Despite their importance to product creation, R&D costs generally fall outside COGS calculations. These expenses include:

  • New product research and prototyping
  • Product testing and certification
  • Patent and intellectual property development
  • Technology exploration and innovation initiatives

While excluded from COGS, these expenses represent critical investments in future product development and competitive advantage. 

Non-manufacturing costs

Other costs excluded from COGS include:

  • Distribution and logistics expenses (after production)
  • Corporate financing costs
  • Investment activities
  • Extraordinary expenses

Businesses sometimes struggle with borderline costs that could reasonably fall within or outside COGS. In these cases, industry norms, materiality considerations, and consistency in application should guide classification decisions.

Practical Examples of COGS Calculation

FIFO Method (First-In, First-Out)

Imagine a small t-shirt shop:

  • Start with 100 shirts at $10 each
  • Buy 100 more at $15 each
  • Buy 100 more at $20 each
  • Sell 250 shirts total

With FIFO, you sell the oldest inventory first:

  1. Sell first 100 shirts ($10 each) = $1,000
  2. Sell the next 100 shirts ($15 each) = $1,500
  3. Sell the last 50 shirts ($20 each) = $1,000
  4. Total COGS = $3,500

Remaining inventory: 50 shirts at $20 each = $1,000

LIFO Method (Last-In, First-Out)

Same scenario, but selling newest inventory first:

  1. Sell 100 newest shirts ($20 each) = $2,000
  2. Sell 100 middle batch shirts ($15 each) = $1,500
  3. Sell 50 oldest shirts ($10 each) = $500
  4. Total COGS = $4,000

Remaining inventory: 50 shirts at $10 each = $500

The difference between methods is clear: LIFO produces a higher COGS ($4,000 vs. $3,500) and lower ending inventory ($500 vs. $1,000) in this period of rising costs. This illustrates why businesses might prefer one method over the other for financial reporting and tax purposes.

General example for service-based businesses

Service businesses must identify direct costs associated with service delivery. Consider a consulting firm with the following monthly costs:

  • Consultant salaries for billable hours: $50,000
  • Project-specific travel expenses: $5,000
  • Software licenses specifically for client projects: $2,000
  • Office rent: $8,000
  • Administrative staff: $15,000
  • Marketing: $10,000

Only the first three items ($57,000 total) would be included in COGS, as they directly relate to service delivery. The remaining $33,000 represents SG&A expenses.

If the firm generated $120,000 in revenue, their gross profit would be: $120,000 - $57,000 = $63,000 (52.5% gross margin)

COGS and Financial Statements

COGS on the income statement

On the income statement, COGS appears immediately after revenue and is subtracted to calculate gross profit. This prominent position emphasizes its importance in profitability analysis.

The income statement typically presents:

Revenue                 $500,000

Cost of Goods Sold      $300,000

--------------------------

Gross Profit            $200,000

This structured presentation allows financial statement users to immediately calculate the gross margin percentage (40% in this example), a key performance indicator that facilitates comparisons across time periods and against competitors.

Relationship with the balance sheet

COGS directly impacts the balance sheet through inventory valuation. The ending inventory from the COGS calculation becomes a current asset on the balance sheet.

Inventory typically represents a significant portion of current assets for product-based businesses. Accurate COGS calculations ensure proper inventory valuation, directly affecting financial ratios like the current ratio and quick ratio that measure the liquidity of a company. 

For example,  if a business is able to reduce it’s COGS ratio to 70% by streamlining the manufacturing process and finding a cheaper supplier, it would earn an additional $20,000 of profit without increasing revenue, a 50% increase from its original gross profit margin.

Conclusion and Best Practices for Managing COGS

Regular review and analysis

Effective COGS management requires regular review and analysis. Leading companies implement:

  • Monthly variance analysis comparing actual vs. standard costs
  • Quarterly deep-dives into cost trends by category
  • Annual comprehensive reviews of costing methodologies and allocation bases

These reviews should include cross-functional participation from finance, operations, procurement, and sales teams to ensure all perspectives are considered.

Importance of accurate record-keeping

Accurate COGS calculations depend on meticulous record-keeping. Best practices include:

  • Implementing robust inventory management systems
  • Conducting regular physical inventory counts
  • Documenting cost allocation methodologies
  • Maintaining clear audit trails for all inventory transactions
  • Ensuring consistency in accounting methods year-over-year

A CFO or Controller can work in tandem to ensure all financial data is accurate, timely, and compliant with accounting standards. There are great coaching programs available to CFOs to bolster their understanding of cost accounting and COGS methods and implementation, including training that can extend to an organization's entire financial team to ensure COGS is properly calculated, allocated, and analyzed for strategic decision-making.

Utilizing COGS for strategic decision-making

Beyond compliance and reporting, COGS data should drive strategic decisions:

  • Product line profitability analysis: Understanding product-level COGS helps identify which products deserve additional investment and which might need repricing or discontinuation.
  • Make-vs-buy decisions: Detailed cost breakdowns inform decisions about in-house production versus outsourcing.
  • Supplier negotiations: Granular COGS data strengthens negotiating positions with suppliers by highlighting cost sensitivities.
  • Operational improvements: Identifying high-cost areas within COGS guides process improvement initiatives and automation investments.

In a financially healthy company with proper allocation of expenses, COGS should generally be in a range of 50% to 65% of sales. 

Today's forward-thinking businesses are transforming COGS from a backward-looking accounting figure into a strategic compass that points the way to competitive advantage through smarter cost management and precision pricing.

Companies that master their COGS calculations gain a clearer window into true product profitability, make decisions based on insights rather than hunches, and pinpoint exactly where operational improvements will have the greatest impact. The reward? Not just healthier margins today, but a financial foundation that supports sustainable growth for years to come.

Finance and leadership insights to help you lead.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Suggested Articles

Frequently Asked Questions

No items found.
Speak to an expert about your challenges.
Start The Conversation
Speak to an expert about your challenges.
Start The Conversation