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 formula requires careful inventory management. You also need to use consistent valuation methods to ensure the most 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?

It can be an indication of pricing pressure, increasing costs of inputs, or production inefficiencies.

For instance, if a retail business records revenue of $500,000 with a cost of goods sold of $300,000, the gross profit will be $200,000, which gives a gross margin of 40%. A comparison of this with standard industry margins can offer insights into a company's efficiency of operations.

Influence on pricing strategies

Without cost knowledge, it can lead to underpricing of products and services and thus a reduction in margins. Also, overpricing these and hence a loss of volume.

Strategic pricing involves understanding both direct and indirect cost elements.

One of the common errors business makes in pricing is relying on pricing offered by competition without considering their own cost of doing business.

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 referred to as Weighted Average, computes an average cost for all available inventory over a specific time. The middle-ground technique is thus placed between FIFO and LIFO.

The formula used is:

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

A major benefit of this strategy is that it smoothes out pricing variances and is less vulnerable to manipulation compared to other pricing strategies.

It is most helpful for companies with homogeneous goods or commodities in which each unit can’t be individually identified.

Such as making one particular boxed product or raw commodity.

The "Average Cost" calculation system makes record-keeping simpler, which can be a major incentive for companies with a large volume of sales and/or when accounting capabilities are limited.

Specific Identification method

The most particular and complicated of all such methods,

In Specific Identification, each item in inventory is traced for its individual cost.

Highly accurate methods will work better in situations where companies are dealing with unique products such as cars, jewelry, or machinery.

Think customized, complicated, specific product items that require a lot of components and a very intricate product-manufacturing process.

Although it is the most accurate way of calculating COGS, this approach is very complicated and therefore not suitable for companies with a 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" include all raw materials and components that go into making up the finished product.

For a furniture maker, this will include wood, fabric, fasteners, and finishes. For a food manufacturer, this will include food ingredients, packaging materials, and labeling materials.

To control direct materials, companies need strong procurement and inventory control systems. Some companies have incorporated material requirements planning systems.

Direct labor

The direct labor cost relates to salaries, benefits, and taxes paid for those employees directly engaged in producing goods or providing a service.

Such people include production line employees, assembly technicians, and quality control staff dealing with the product.

They are on the production floor, in front of it, and in direct interaction with the product. They are different from people in the C-suite, HR, or salespeople of companies.

A small exception, however, as in service industries, direct labor may include consultant time or technician hours attributable to a particular customer project.

They are not creating a tangible product but are in direct interaction with providing the end product. In a Sass company, for instance, those people creating the software will be classified under 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 expenditure is used in supporting business operations but in no way affects product production. Examples include:

  • Sales commissions and marketing expenses
  • Salaries of executives and administrative employees
  • Office Rent and Utilities
  • Customer Service Operations
  • Legal & Accounting Fees, Corp

The line between manufacturing overhead cost and SG&A cost can be very tricky. For example, a factory production facility manager’s salary will normally be considered a cost of manufacturing overhead, but a salary and bonuses paid to a CEO will be classified under SG&A cost.

To record SG&A expenses as COGS is misleading because it will affect gross margin analysis. Of course, there are tax considerations to take into account as well.

Research and Development (R&D) costs

Although they are critical in product development, R&D expenses are not usually factored into COGS. Such expenses include:

  • Research & prototyping of new products
  • Product testing and certification
  • Patenting and Intellectual Properties Development
  • Technology Exploration and Innovation Initiatives

For instance, a biotech firm may have a high level of R&D spending and capital expenditures before it starts increasing spending in COGS.

Although not part of COGS, these expenditures are very important investments in future product development.

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 the 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

To effectively control COGS, constant analysis is required. Top companies follow:

  • Comparing Variance in Actual & Standard Costs Every Month
  • Quarterly in-depth cost analysis by type
  • Annual reviews of costing methods and allocation bases

Such reviews should include cross-functional participation from finance, operations, procurement, and sales in order to incorporate all views.

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