Cost of Goods Sold Explained: How to Calculate and Reduce

Cost of goods sold shapes margins, pricing, and profit. Accurate calculation and smart expense tracking turn this metric into a powerful business strategy tool.

,

Every business owner has felt it. It is that unsettling gap between strong revenue numbers and a bank account that never quite reflects the growth. In fact, the culprit hiding behind that gap is often the cost of goods sold, a figure that silently determines whether a product is building wealth or quietly eroding it.

Plenty of businesses generate impressive sales while their margins stay frustratingly thin. Most of the time, the root cause is not a sales problem. It is a cost problem that nobody has properly diagnosed.

What follows is a practical, clear-eyed look at what COGS really means, how to calculate it correctly, why so many businesses get it wrong, and what smarter management of this number can do for long-term profitability.

A cafe owner weighs flour on a metal scale while reviewing supplier invoices at a counter, illustrating cost of goods sold.

What Cost of Goods Sold Actually Tells You

At its core, COGS represents all the direct costs tied to producing the goods a business sells during a specific period. Think raw materials, production labor, and manufacturing overhead. These are costs that rise and fall with output volume.

What it does not include is equally important. Specifically, marketing campaigns, administrative salaries, and office expenses stay outside of COGS entirely. Those belong to a separate category called operating expenses, often referred to as SG&A (selling, general, and administrative expenses).

This distinction matters more than most people realize. According to BDC’s business advisory resources, COGS is the first number a banker or outside observer examines to assess financial performance. Unfortunately, many businesses do not calculate it correctly.

COGS vs. Operating Expenses: A Line That Cannot Blur

COGS is a variable cost, meaning it shifts depending on how much product a company produces. Operating expenses, by contrast, remain relatively stable regardless of production volume.

A factory’s electricity bill tied to running production machinery belongs in COGS. The same company’s office internet bill belongs in SG&A. Consequently, mixing these up does not just create accounting errors. It creates a distorted view of the business that makes smart decisions nearly impossible.

For service-based companies, the line shifts slightly. Direct labor, the wages of people physically involved in delivering or building the product, still qualifies as COGS. Management salaries, however, do not.

The Formula Behind the Number

Calculating COGS follows a straightforward formula that starts with what a business had, adds what it acquired, and subtracts what remains unsold.

The formula reads as follows:

COGS = Beginning Inventory + Purchases During the Period − Ending Inventory

Each component carries weight. Beginning inventory is the value of stock carried over from the previous period.

Additionally, purchases include raw materials, production costs, and any additional inventory acquired. Ending inventory is whatever remains unsold when the period closes.

As inFlow Inventory explains, the ending inventory is subtracted specifically to avoid counting the cost of goods that were not actually sold, a detail that is easy to overlook but critical for accuracy.

A Practical Example

Consider a US-based manufacturer of custom furniture. At the start of Q1, they carry $80,000 in raw materials and finished goods. Throughout the quarter, they purchase $45,000 in additional lumber, hardware, and direct labor costs. At the end of Q1, their remaining inventory sits at $30,000.

Applying the formula: $80,000 + $45,000 − $30,000 = $95,000 in COGS for that quarter. That $95,000 is what it actually cost to produce the furniture they sold. This figure represents not what they earned, but what it cost them.

Inventory Valuation Methods and Why They Change Everything

The COGS formula stays consistent, but the inventory valuation method a business chooses can significantly change the final number. In fact, three methods dominate in practice, each with different implications for profitability reporting and tax exposure.

Here’s how the three primary methods compare:

MethodAssumptionEffect on COGSEffect on Inventory Value
FIFO (First-In, First-Out)Oldest inventory sells firstLower COGS in rising cost environmentsHigher ending inventory value
LIFO (Last-In, First-Out)Newest inventory sells firstHigher COGS in rising cost environmentsLower ending inventory value
Average CostBlends all inventory costs evenlySmoothed COGS, less volatileModerate and stable

FIFO tends to produce higher gross profit during inflationary periods because older, cheaper inventory hits the income statement first. LIFO, conversely, pushes newer and often more expensive costs into COGS, reducing taxable income.

It’s worth noting, however, that LIFO is not accepted under international accounting standards.

On the other hand, the Average Cost method smooths out price fluctuations over time, making it a practical choice for businesses dealing with volatile supplier pricing or seasonal cost swings.

The Misallocation Problem Nobody Talks About

Here is the uncomfortable truth that most COGS articles skip entirely: a staggering number of businesses misallocate their expenses, and the consequences reach far beyond accounting tidiness.

One of the most common errors involves labor cost categorization. Businesses frequently dump all wage expenses into SG&A as a convenience. In reality, production workers’ wages belong squarely in COGS. This mistake inflates operating expenses while understating the true cost of production.

Similarly, the opposite error also happens. Some companies accidentally push fixed costs, like administrative salaries or office rent, into COGS, making production appear far more expensive than it actually is. Both errors produce a distorted income statement that leads to flawed strategic decisions.

The Warning Signs to Watch For

Fortunately, a useful benchmark exists for spotting potential problems without deep forensic accounting. In a financially healthy business with properly allocated expenses, COGS typically falls between 50% and 65% of total revenue.

When COGS climbs above 65%, the business likely faces one of the following situations:

  • Rising raw material costs that have not triggered a pricing review
  • Operational inefficiencies in the production process
  • Fixed expenses incorrectly classified as direct production costs
  • A pricing strategy that no longer reflects actual production costs

When COGS falls below 50%, a different concern surfaces. Either the business has genuinely achieved remarkable cost efficiency, or variable costs are being misclassified into operating expenses. This makes the operation look more efficient than it truly is.

How COGS Connects to Gross Profit and Pricing Strategy

Subtracting COGS from revenue produces gross profit, which is the money available to cover operating expenses, taxes, interest, and ultimately generate net income. This relationship makes COGS one of the most consequential numbers on any income statement.

For example, a US retailer selling handmade candles at $30 each with a per-unit COGS of $22 has a gross profit per candle of $8. That $8 must absorb marketing costs, rent, software subscriptions, and everything else before a single dollar of true profit emerges.

If COGS creeps up to $26 without a corresponding price adjustment, the entire business model buckles.

As Wall Street Prep notes, the gross margin percentage, calculated by dividing gross profit by revenue, is among the most widely used profitability metrics in financial analysis. Therefore, a declining gross margin over consecutive periods is one of the earliest signals that a COGS problem is developing.

Using COGS to Inform Smarter Pricing

Many businesses set prices based on competition or intuition rather than actual cost data. COGS provides the foundation for cost-plus pricing, a method that builds the desired margin directly on top of verified production costs.

Without accurate COGS, a business might price a product that sells well but generates almost no margin. Worse, it might continue investing in scaling that product (hiring more staff, buying more materials) while unknowingly scaling a loss.

Practical Ways to Reduce the Cost of Goods Sold

Reducing COGS does not require dramatic operational overhauls. Often, the biggest gains come from systematically examining each cost component and identifying where efficiency or negotiation can create margin improvement.

Several approaches tend to produce consistent results for US-based businesses:

  • Negotiate supplier contracts: Volume commitments often unlock lower per-unit material costs.
  • Audit production labor allocation: Ensure only direct production wages flow into COGS.
  • Review inventory turnover regularly: Slow-moving inventory ties up capital and distorts COGS calculations.
  • Eliminate waste in the production process: Scrap materials and rework hours quietly inflate direct costs.
  • Consolidate purchase orders: Larger, less frequent orders often reduce per-unit shipping and handling costs.

The critical caution here is that cost reduction without visibility is guesswork. Therefore, any decision to switch suppliers, reduce material quality, or cut labor hours should only follow a clear-eyed reading of what COGS actually contains, not an assumption.

You May Also Like

COGS and Tax Reporting in the United States

COGS carries real tax implications for US businesses. The IRS treats cost of goods sold as a deductible business expense, which directly reduces taxable income. Accurate calculation, therefore, is not just a financial management best practice; it is a compliance requirement.

To clarify, the IRS specifies that inventory should include merchandise held for sale, raw materials, work-in-process goods, finished products, and any supplies that physically become part of the final item.

Expenses unrelated to production, such as general management salaries, advertising, or administrative costs, cannot be included.

Choosing the wrong inventory valuation method or misclassifying expenses can trigger audits, restatements, or penalties. Growing businesses with complex supply chains can save significant trouble later by working with a qualified accountant or fractional CFO to establish clean COGS accounting practices early.

Building a Habit Around COGS Analysis

Essentially, a single COGS calculation is a snapshot. However, a series of them, tracked consistently over quarters and years, becomes a financial narrative that reveals trends invisible in any single period.

Businesses that track COGS as a percentage of revenue over time gain the ability to spot rising input costs before they become crises, identify which product lines generate the strongest margins, and build more accurate financial forecasts for growth planning.

The businesses that thrive long-term are not necessarily those with the highest revenue. They are the ones that maintain the clearest, most honest relationship with their production costs.

Turning a Number Into a Strategy

Cost of goods sold is far more than an accounting line. Properly calculated and consistently monitored, it functions as one of the most reliable diagnostic tools available to any business operator.

The formula itself is straightforward: beginning inventory plus purchases, minus ending inventory. But the real value lies in what surrounds that calculation: accurate expense classification, the right inventory valuation method, consistent tracking over time, and the discipline to act on what the number reveals.

Businesses that treat COGS as a living metric rather than a year-end obligation gain a significant edge. They price with confidence, negotiate from a position of knowledge, and catch margin erosion before it becomes irreversible.

Ultimately, that is the kind of financial clarity that transforms revenue into actual, lasting profit.

Watch this short video that explains Cost of Goods Sold.

Frequently Asked Questions

What are the common misconceptions about COGS?

Many people mistakenly believe that all expenses related to production fall under COGS, while in reality, items like administrative costs should be categorized as operating expenses.

How often should businesses review their COGS?

Businesses should regularly review their COGS, ideally on a quarterly basis, to detect trends and make informed financial decisions.

Can COGS affect creditworthiness?

Yes, accurate COGS calculations can influence a company’s credit rating, as lenders often assess financial health based on this key metric.

How does incorrect COGS affect pricing strategies?

Misclassifying COGS can lead to improper pricing strategies, potentially resulting in overpricing or underpricing products, which can damage profitability.

Is COGS relevant for service-based businesses?

Absolutely, service-based businesses can still benefit from COGS by tracking direct labor costs associated with service delivery as part of their overall expenses.

Maria Eduarda


Linguist with a postgraduate degree in UX Writing and currently pursuing a master's degree in Translation and Text Adaptation at the University of São Paulo (USP). She is skilled in SEO, copywriting, and text editing. She creates content about finance, culture, literature, and public exams. Passionate about words and user-centered communication, she focuses on optimizing texts for digital platforms.

Disclaimer Under no circumstances will Monyzo require you to pay in order to release any type of product, including credit cards, loans, or any other offer. If this happens, please contact us immediately. Always read the terms and conditions of the service provider you are reaching out to. Monyzo earns revenue through advertising and referral commissions for some, but not all, of the products displayed. All content published here is based on quantitative and qualitative research, and our team strives to be as impartial as possible when comparing different options.

Advertiser Disclosure Monyzo is an independent, objective, advertising-supported website. To support our ability to provide free content to our users, the recommendations that appear on Monyzo may come from companies from which we receive affiliate compensation. This compensation may impact how, where, and in what order offers appear on the site. Other factors, such as our proprietary algorithms and first-party data, may also affect the placement and prominence of products/offers. We do not include all financial or credit offers available on the market on our site.

Editorial Note The opinions expressed on Monyzo are solely those of the author and not of any bank, credit card issuer, hotel, airline, or other entity. This content has not been reviewed, approved, or otherwise endorsed by any of the entities mentioned. That said, the compensation we receive from our affiliate partners does not influence the recommendations or advice our writing team provides in our articles, nor does it impact any of the content on this site. While we work hard to provide accurate and up-to-date information that we believe is relevant to our users, we cannot guarantee that the information provided is complete and make no representations or warranties regarding its accuracy or applicability.

Loan terms: 12 to 60 months. APR: 0.99% to 9% based on the selected term (includes fees, per local law). Example: $10,000 loan at 0.99% APR for 36 months totals $11,957.15. Fees from 0.99%, up to $100,000.