COGS Formula, Calculation & Profit Impact | Cashbook Acc

Cost of Goods Sold (COGS): Calculation & Impact on Profitability

Quick Summary

Cost of Goods Sold (COGS) is the direct cost of producing or buying the products you sold in a period. You calculate it as Beginning Inventory + Purchases โˆ’ Ending Inventory. COGS drives gross profit, gross margin, and your tax bill, so accurate tracking is essential. This guide covers formulas, examples, inventory methods, and ways to reduce COGS, with help from Cashbook Acc.

Every product-based business, from a Shopify store to a manufacturer, lives or dies by one number: what it costs to put a sellable product in a customer's hands. That number is Cost of Goods Sold, or COGS. If you misstate it, your profit, pricing, and taxes are all wrong.

COGS appears at the top of your income statement, right below revenue. Subtract it from sales and you get gross profit, the money left to pay rent, marketing, salaries, and your own paycheck. A small error in COGS can swing net income by thousands of dollars.

In this guide you will learn what COGS includes, how to calculate it step by step, how inventory valuation methods change the result, and how to use COGS to improve margins. If you want a professional to handle it, our ecommerce bookkeeping services keep your COGS accurate every month.

Get Your COGS & Margins Right

Talk to a bookkeeping expert who understands inventory and profitability.

๐Ÿ“ž Call Us ๐Ÿ“… Book Meeting โœ‰๏ธ cashbookconsultancy@gmail.com

1. What Is Cost of Goods Sold?

COGS is the total direct cost of the goods a business sold during a specific period. For a retailer, that means the price paid to suppliers plus freight-in. For a manufacturer, it adds direct labor and factory overhead tied to production. Costs for goods still sitting in your warehouse are not COGS; they remain an asset called inventory until sold.

Service businesses usually do not report COGS, though some use a similar line called "cost of revenue" or "cost of services."

2. What Is Included in COGS (and What Is Not)

Included in COGS โœ…Excluded from COGS โŒ
Raw materials and purchased inventoryMarketing and advertising
Direct labor for productionSales team salaries and commissions
Freight-in and import dutiesOutbound shipping to customers (often an operating expense)
Factory overhead (utilities, rent of production space)Office rent and administrative costs
Packaging that ships with the productSoftware subscriptions and professional fees
Inventory write-downs and spoilageInterest and income taxes
Tip: Consistency matters more than perfection. Choose a classification policy, document it, and apply it every month so your margins are comparable over time.

3. COGS Formula and Step-by-Step Calculation

COGS = Beginning Inventory + Purchases โˆ’ Ending Inventory

Step-by-step

  1. Find beginning inventory: the ending inventory value from your last period.
  2. Add purchases: all inventory bought or produced, including freight-in and direct labor.
  3. Subtract ending inventory: value of unsold goods from a physical count or perpetual system.

Worked example

Line ItemAmount
Net Sales Revenue$200,000
Beginning Inventory$40,000
+ Purchases (incl. freight-in)$110,000
โˆ’ Ending Inventory$30,000
= COGS$120,000
Gross Profit ($200,000 โˆ’ $120,000)$80,000
Gross Margin ($80,000 รท $200,000)40%

Related ratio: Inventory Turnover = COGS รท Average Inventory. In our example, average inventory is $35,000, so turnover is about 3.4 times per year, meaning stock sells through roughly every 106 days.

4. Inventory Valuation Methods: FIFO, LIFO, Weighted Average

When purchase prices change, the method you use to assign costs to sold items changes COGS. Here is how the three common methods compare during rising prices.

MethodHow It WorksCOGS in Rising PricesNet Profit
FIFOOldest costs are expensed firstLowerHigher
LIFO (US only)Newest costs are expensed firstHigherLower (less tax)
Weighted AverageUses average cost per unitModerateModerate
๐Ÿ“Š Illustrative COGS by method (same sales, rising costs)
FIFO
$118,000
Weighted Average
$120,000
LIFO
$123,000

Note that LIFO is permitted under US GAAP and IRS rules but not under IFRS. Once you choose a method for tax purposes, changing it requires IRS approval (Form 3115), so decide with a professional's guidance.

5. How COGS Impacts Profitability

COGS is usually the largest expense a product business has, so even small shifts move your bottom line. Consider the same $200,000 in sales under different COGS levels:

๐Ÿ“Š Gross margin at different COGS levels ($200,000 revenue)
COGS $100,000
50% margin
COGS $120,000
40% margin
COGS $140,000
30% margin
COGS $160,000
20% margin

Key profitability effects

  • Gross margin: Higher COGS directly shrinks it. A 5% supplier price increase can erase a large share of net profit.
  • Pricing decisions: You cannot price correctly without knowing true unit cost. Minimum price = unit COGS รท (1 โˆ’ target gross margin).
  • Cash flow: Inventory ties up cash before it becomes COGS. Overbuying hurts liquidity.
  • Break-even and forecasting: COGS is the backbone of budgets, which is why our financial planning and analysis and financial modeling services start with it.
  • Valuation and lending: Banks and investors look at gross margin trends to judge business health.

Pricing example: If a product costs $24 and you want a 40% gross margin, the minimum price is $24 รท 0.60 = $40.

6. COGS for Ecommerce Sellers

Online sellers face extra complexity: multiple channels, returns, bundles, marketplace fees, and landed costs. Include product cost, inbound freight, duties, and packaging in COGS. Marketplace fees and ads are typically operating expenses. Returns should reduce both revenue and COGS when items go back into sellable stock.

Many stores skip proper inventory accounting and use bank deposits to guess profit. That hides losses. Our ecommerce bookkeeping team syncs Shopify, Amazon, and Stripe data so COGS is correct. If your books are already behind, our clean-up services repair historical records first.

7. 9 Ways to Reduce COGS

  1. Negotiate volume discounts and better payment terms with suppliers.
  2. Diversify suppliers to avoid price hikes.
  3. Consolidate shipments to cut freight-in costs.
  4. Reduce waste, spoilage, and defects.
  5. Improve demand forecasting to avoid dead stock.
  6. Redesign packaging for lighter, cheaper materials.
  7. Automate production or fulfillment tasks.
  8. Run regular inventory counts to catch shrinkage and theft.
  9. Review SKUs quarterly and drop low-margin products.

8. Common COGS Mistakes

MistakeConsequenceFix
Ignoring freight-in and dutiesOverstated profitTrack landed cost per item
No physical inventory countWrong ending inventoryCount at least annually; cycle count monthly
Mixing operating expenses into COGSDistorted marginsWrite a clear classification policy
Switching valuation methods casuallyInconsistent reports, IRS issuesStay consistent; file Form 3115 if changing
Not writing off obsolete stockInflated assetsReview slow movers quarterly

9. COGS and Taxes

COGS reduces your gross income, so it directly lowers taxable profit. Sole proprietors report it on Schedule C (Part III), while corporations report it on Form 1125-A. Weak records mean the IRS can disallow deductions. Plan ahead for payments with our guide on quarterly estimated tax payments, and let our tax preparation team file correctly. Selling taxable goods? See our sales tax services, and if you employ production staff, our payroll services ensure direct labor is recorded properly. New Jersey businesses can also explore tax services in New Jersey.

Ready to Know Your True Profit?

Let Cashbook Acc calculate COGS, clean your books, and build a clear picture of your margins.

๐Ÿ“ž Call Us ๐Ÿ“… Book Meeting โœ‰๏ธ Email Us

10. Frequently Asked Questions

1. What is the formula for COGS?

COGS = Beginning Inventory + Purchases โˆ’ Ending Inventory. Include freight-in and direct production costs in purchases.

2. Is COGS an expense or an asset?

Inventory is an asset until sold. Once sold, its cost becomes COGS, an expense on the income statement.

3. What is a good COGS percentage?

It varies by industry. Retail often runs 50โ€“70% of revenue, while software and services sit far lower. Compare against industry peers and your own trend.

4. Are shipping costs part of COGS?

Inbound shipping (freight-in) is part of COGS. Outbound shipping to customers is commonly an operating expense, though policies vary.

5. Do service businesses have COGS?

Most do not report COGS, but they may track a "cost of revenue" for direct delivery costs such as contractor labor.

Conclusion

COGS is more than a line on a financial statement. It tells you whether your products make money, how to price them, and how much tax you owe. Calculate it consistently, choose the right valuation method, and review it monthly. If you want expert support, Cashbook Acc is ready to help.

Book a Free 30-Minute Consultation

Turn accurate COGS into higher profits.

๐Ÿ“ž Call Us ๐Ÿ“… Book Meeting โœ‰๏ธ cashbookconsultancy@gmail.com