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

There are few metrics that matter more in the world of financial management than Cost of Goods Sold - aka COGS. 

This crucial figure serves as the gold standard for measuring business profitability and ultimately drives key operational decisions across companies. 

A lot of businesses already track their revenue diligently.  But those who fail to master their COGS? 

Well, they often struggle with pricing strategies, inventory management, and, ultimately, sustainable growth.

Not a COGS expert yet? 

No problem! 

Read on to find out why mastering your Cost of Goods Sold is the key to unlocking smarter decisions, higher profits, and long-term business success.

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, as each industry will have a different goods mix:

For retailers: 

COGS includes the purchase cost of merchandise, inbound freight, customs duties, and other costs directly tied to acquiring inventory.

For manufacturers

Usually, it 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 digital materials used in service provision. COGS might be a bit more abstract here, but it can still be calculated. 

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. 

But what does this metric reveal? 

Pointedly, a company's efficiency in managing production costs before accounting for operating expenses.

It’s basically like saying, “Here’s the lump sum of money made after subtracting the cost of the actual ‘materials’ that went into producing the product.”

A higher gross profit margin indicates strong pricing power, efficient cost management, or both. 

A declining one?

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. 

Dynamic Pricing could be a powerful tool for margin optimization, but only when it's built on accurate cost data that tells you exactly how low you can go in different market conditions.

COGS Role in Tax Reporting

Tax reporting is essential when it comes to COGS. 

Since it directly reduces a company’s taxable income, reporting COGS accurately ensures that you don't pay your taxes that you arent supposed to pay - all by legitimizing legal tax deductions!

Keep in mind that Tax authorities scrutinize COGS calculations, particularly regarding inventory valuation and cost capitalization policies. 

That means although COGS creates a tax benefit, consistency in accounting methods is essential to withstand potential audits.

Identifying growth opportunities

There are so many growth opportunities brought up from COGS analysis. 

We recommend paying attention to: 

  • Supplier consolidation opportunities: Analyze your material costs, which may show where your company can gain advantages by purchasing in bulk from fewer suppliers or securing favorable credit terms. 
  • Automation potential: Think about where high direct labor costs might be ripe for automation. There are so many processes that can now be automated, or at least partially automated by AI and Automation. 
  • Product mix optimization: COGS analysis by product line helps identify which products deliver the highest margins. It may be best to focus on a specific mix that is the most lucrative in terms of return. 

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. 

Why bring one on? 

Well, these experienced executives can work alongside a controller to ensure that COGS and other financial data are accurately tracked, reported, and analyzed.

They don't call for the full-time commitment of hiring a CFO, which is a huge financial commitment that not all companies can even bite off. 

A fractional leadership approach allows companies to access executive-level financial expertise, 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.

The first bits of inventory in is the first out, the last in is the last out. 

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

Although FIFO and LIFO rhyme, they happen to be opposites. 

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.

The downside?

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

FIFO and LIFO's younger sibling. 

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

The best thing about this approach is that it 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.

For example, producing one specific boxed food item or raw good. 

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

Specific Identification method

The most picky and complicated of all these methods, 

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.

We're talking custom-made, complicated, specific manufactured items that take many, many parts and follow a detailed and complicated manufacturing process. 

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.

They are on the manufacturing floor, in front, and in direct contact with the product. This differs from C-suite executives, HR teams, or company salespeople.

A small caveat, though, as in service businesses, direct labor might include billable consultant hours or technician time directly attributable to specific customer engagements.

They aren't building a physical product, but they are still in direct contact with supplying the end product. For example, for a Sass company those developing the software would be considered direct labor. 

As automation increases across industries, many businesses see shifts from direct labor costs to overhead or capital expenditures. COGS begins to take a back seat as manufacturing changes in form. 

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

The following costs, which are still business costs, are not directly related to the development or manufacturing of the product and therefore are 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. There are also, of course, those tax implications to watch out for. 

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

For example, a biotech company might have a few years of high-level R&D and Capex before even beginning to raise its COGS expenditures. 

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 now lets look at selling the 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

Since service-based COGS can be a bit more ambiguous, let's look at an example. 

Let's consider the ABC consulting firm with the following 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, its gross profit would be: $120,000 - $57,000 = $63,000 (52.5% gross margin)

COGS and Financial Statements

COGS shows up differently across financial statements, which is something that your CFO should easily be able to pick out : 

COGS on the income statement

On the income statement, COGS appears immediately after revenue and is subtracted to calculate gross profit. 

So revenue can be seen as the raw number that shows how much the business brought in, in real dollars. But revenue does not equal profits. Cost is always associated with this first. 

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. 

Holding too much inventory is costly, but having a safety stock is always important to prevent those pesky stockouts.

And the COGS ratio can really play into how much inventory costs and how it affects the bottom line.

For example,  if a business is able to reduce its 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.

Best Practices for Managing COGS

Regular COGS management might seem like a dragging accounting exercise, but analyzing this number gives businesses a key insight into their internal operations and company cost structure. 

A successful business can beat out competitors in terms of number of sales and money made, but without control over costs, it comes out with the lowest revenue of all. 

Perform 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 like: 

  • Product line analysis: What Products are actually profitable? Which deserve additional investment? Do we need to discontinue any?
  • Make Vs Buy decisions: should we make these products in-house or outsource manufacturing? Which would cost less? Which takes more investment? 
  • Supplier negotiations: Are we paying too much for these materials? Which suppliers can we negotiate with? Do their competitors offer a better deal? 
  • Operational improvements: What high-cost areas can we identify for process improvement initiatives and automation investments?

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.

Is your company’s COGS measuring up? 

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

If you're not there today, don't worry. 

Reach out to us at McCracken Alliance to discuss how fractional CFO expertise can help you dissect your cost structure, identify improvement opportunities, and build the financial clarity that drives profitable growth.

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