The formula for calculating cost of goods sold (COGS) is the sum of the beginning inventory balance and purchases in the current period, subtracted by the ending inventory balance. The cost of goods sold (COGS) is an accounting term used to describe the direct expenses incurred by a company while attempting to generate revenue. Cost of Goods Sold represents the direct costs attributable to the production of goods sold by a company.

Businesses should maintain detailed records of inventory purchases, production costs, and inventory counts at the beginning and end of each accounting period. Beginning inventory refers to the stock on hand at the start of the accounting period, while cost of purchases encompasses all expenses related to acquiring or producing the goods sold, including materials, labor, and overhead. The gross profit, which is calculated by subtracting COGS from revenue, is a key indicator of a company’s ability to manage its production costs and maintain pricing power. Cost of goods sold is a financial metric that includes all the direct costs related to the production and sale of a company’s products or services. The cost of goods sold (COGS) is a crucial financial metric that helps businesses determine their direct expenses for producing or purchasing goods sold during a given period.

It’s prominently displayed on your income statement, influencing your gross profit and tax liabilities but you can easily calculate it too. Cost of Goods Sold (COGS) is the total direct cost incurred by a business to produce or acquire the products it sells. If you’re managing a startup or scaling your business, understanding your profit margins starts with knowing your costs well—and that begins with calculating your cost of goods sold (COGS). Quickly master how to calculate cost of goods sold (COGS) with clear formulas, real-world examples, and tips to sharpen your pricing and profitability.

Getting this distinction right is absolutely vital for accurate financial reports and making smart business decisions. Put simply, the Cost of Goods Sold covers every direct cost involved in producing the items you sell. Before we get into the nitty-gritty of the math, let’s talk about what COGS actually is and why it’s so critical to your business’s financial health. Figuring out your Cost of Goods Sold (COGS) is one of the most fundamental parts of business accounting.

Understanding the composition of COGS is essential for businesses to identify areas for cost reduction and optimize their pricing strategies. As such, it is essential for businesses to accurately calculate and report COGS to maintain transparency, credibility, and stakeholder confidence. The Cost of Goods Sold (COGS) has a significant impact on a company’s profitability, as it directly affects the calculation of gross profit.

Are shipping and transportation costs included in the cost of goods sold?

This approach accounts for discarded or damaged inventory that doesn’t generate revenue. The retail COGS formula focuses on inventory values rather than sales quantities. Your operating income also includes expenses like wages and depreciation.

Here is the break of costs for air freight shipping:

Here in our example, we assume a gross margin of 80.0%, which we’ll multiply by the revenue amount of $100 million to get $80 million as our gross profit. Calculating the COGS of a company is important because it measures the real cost of producing a product, as only the direct cost has been subtracted. For companies attempting to increase their gross margins, selling at higher quantities is one method to benefit from lower per-unit costs.

Integrated inventory and accounting systems eliminate the tedious manual entry that plagues spreadsheet-based methods. Inventory write-offs due to obsolescence can often be deducted, but proper documentation through inventory valuation methods is essential for compliance with tax authorities. This approach works well for seasonal products or items with fluctuating demand.

A good accounting software can help. This will help you make informed pricing, budgeting, and other financially related decisions. To get more info on how to build your own report, check out our page on how to prepare an income statement. The statement then divides expenses into operating expenses (OPEX) and non-operating expenses. Multi-step profit and loss statements are a little more complicated. Determining your beginning inventory’s value shouldn’t be too complicated.

What is the difference between cost of goods sold and cost of sales?

  • COGS is a crucial metric for businesses, as it helps in determining gross profit and understanding the overall profitability of products.
  • You have 100 in stock and you calculate the cost of goods sold at $4500, or $45 per widget.
  • Whether you’re setting product prices, filing taxes, or evaluating profitability, COGS is a foundational metric.
  • As inventory is sold, its value transfers from the Inventory asset account (balance sheet) to COGS (income statement).
  • All these factors have an effect on the truck transport costs.

For our brewery, let’s say they closed the books on December 31st with an ending inventory value of $40,000. This continuity is what keeps your financial records accurate and reliable over time. Ultimately, tracking COGS gives you a real-time pulse on your business’s operational health. A firm handle on your COGS allows you to set competitive prices that actually protect your profit margins. A precise COGS calculation is the bedrock of your financial statements. For small business owners, tracking this metric meticulously is non-negotiable.

Air freight rates

Throughout Year 1, the retailer purchases $10 million in additional inventory and fails to sell $5 million in inventory. If a company orders more raw materials from suppliers, it can likely negotiate better pricing, which reduces the cost of raw materials per unit produced (and COGS). The calculation of COGS is distinct in that each expense is not just added together, but rather, the beginning balance is adjusted for the cost of inventory purchased and the ending inventory.

Remember to regularly update your inventory records, as accurate data leads to accurate COGS calculations. Once you input your data, hit the calculate button. Understanding your business finances is critical for success, and one essential component is the Cost of Goods Sold (COGS). Learn financial statement modeling, DCF, M&A, LBO, Comps and Excel shortcuts.

  • COGS is the total direct cost of producing or buying the products you sell.
  • The time period you pick is up to you, but you want to calculate your cost of goods sold at least quarterly.
  • Administrative, sales, and marketing staff salaries are not part of COGS but are classified as operating expenses on the income statement.
  • For example, if 500 units are made or bought, but inventory rises by 50 units, then the cost of 450 units is the COGS.
  • You need the precise COGS to write off expenses.
  • (You’ll record indirect costs on your income statement, but again, they aren’t relevant to calculating COGS, so feel free to set them aside for now.)

Calculate rail freight transport costs & train freight prices

This equation forms the backbone of inventory accounting across businesses. This includes material costs, direct labor, manufacturing overhead, and freight-in costs—but excludes operating expenses like marketing and administrative costs. Cost of Goods Sold (COGS) represents the direct costs attributable to producing goods sold by a company. We’ll cover what COGS actually means, the precise formula for cost of selling preferred stock goods sold, calculation examples for different business models, and how to progress beyond error-prone spreadsheets. Streamlining how you manage those costs and your business expenses is equally critical. Expenses not directly involved in production, such as general business operations or selling activities, should not be part of your COGS calculation.

By structuring how materials, assemblies, and production workflows are tracked, you can calculate COGS based on real inventory movement instead of corrections made after the fact. Instead, you apply structure to how materials, assemblies, and production activity flow into cost of goods sold. When costs aren’t applied consistently, COGS fluctuates for reasons unrelated to actual production changes, making it harder to trust your reports or price products with confidence. In a small manufacturing operation, it’s the full cost of turning raw materials into sellable items, including the materials you consume and the production-related expenses required to make them ready for sale. COGS represents the direct costs tied to producing the products you sell. Once you move beyond buying and reselling finished goods, your cost of goods sold (COGS) depends on correctly tracking raw materials, assemblies, and production activity.

Accurate COGS tracking is one of the best ways to protect your margins when costs are rising. Chamber of Commerce Small Business Index (Q4 2025), 53% of retail businesses say inflation is their top challenge. Book gross revenue and fees as separate line items. Revenue was $120,000, so gross profit is $65,000 (54% margin). During inflation, this means higher COGS and lower taxable income.

When you extend QuickBooks Online with an inventory management system for QuickBooks like SOS Inventory, you don’t have to rely on manual adjustments or after-the-fact corrections. At the end of the day, COGS is a useful part of the formula when evaluating a company, but should be considered alongside other metrics to paint a larger picture. For this reason, investors are encouraged to look more closely at the details behind the calculation and to ensure consistency with the accounting methods used. It’s a good idea to dig into the numbers used to calculate COGS, to ensure all is as it seems. In reporting a lower COGS, the company’s profits will be inflated and its performance will look better than it actually is. Inventory, however, can be calculated in one of four ways.

Cost of sales may include additional selling costs like shipping to customers, sales commissions, and warranty expenses, while COGS strictly focuses on direct production costs. On a multi-step income statement, COGS helps separate production costs from overhead cost and other operating expenses. This formula accounts for work-in-process inventory and ensures all production costs flow properly into COGS. The Cost of Goods Manufactured includes direct materials (Beginning Raw Materials + Purchases – Ending Raw Materials), direct labor costs, and manufacturing overhead allocated to production. While the basic COGS formula provides a foundation, accurate inventory accounting requires adjustments for various factors that affect your true product costs. This calculation applies the formula to calculate cost of goods sold by adding beginning inventory and purchases (including freight), then subtracting ending inventory.

For instance, an outsourced accounting company would likely include its accounting software subscription as part of its direct costs. Instead, your direct costs are any expenses related directly to your service. If your business is service based (like a psychology clinic or legal team), your direct costs don’t come from sales of goods. (You’ll record indirect costs on your income statement, but again, they aren’t relevant to calculating COGS, so feel free to set them aside for now.)