What Is Cost of Goods Sold (COGS)? Simple Guide 2026
What Is Cost of Goods Sold?
Cost of goods sold (COGS) is the total direct cost of producing the goods you sold during a period. For a candle maker, that's wax, jars, wicks, and the labor to pour them. For a bakery, flour, sugar, packaging, and the baker's hours. COGS answers a blunt question: what did it directly cost us to make what customers bought?
COGS is subtracted from revenue to produce gross profit — the first and most important margin on your P&L. Everything else in the business (rent, marketing, salaries) comes out of gross profit, so COGS effectively sets the budget for the entire operation. Our Etsy Profit Calculator and Shopify Profit Calculator both build on this exact calculation.
The COGS Formula
COGS = Beginning Inventory + Purchases During the Period − Ending Inventory
Gross Profit = Revenue − COGS
Gross Margin % = (Gross Profit ÷ Revenue) × 100
The inventory adjustment is the part beginners miss: you don't expense materials when you buy them, you expense them when the finished goods sell. Buy $5,000 of wax in January but sell only half the candles by month-end, and January's COGS reflects only the wax in the candles actually sold.
What's Included in COGS (and What Isn't)
| Typically Included | Typically Excluded |
|---|---|
| Raw materials and components | Rent and utilities for the office |
| Direct production labor | Marketing and advertising |
| Packaging for the product itself | Administrative salaries |
| Freight-in (getting materials to you) | Software subscriptions |
| Manufacturing overhead (factory utilities, equipment wear) | Unsold inventory (stays on the balance sheet) |
For service businesses, "COGS" becomes cost of services: the contractor hours, software licenses consumed per project, or transaction fees tied directly to delivering client work. The principle is identical — direct costs of delivery.
Worked Example: A Candle Seller's COGS
A handmade candle shop sells 400 candles in a month at $18 each ($7,200 revenue). Per-candle direct costs:
- Wax, wick, fragrance oil: $3.20
- Jar and lid: $1.80
- Pouring labor (allocated): $1.50
- Packaging: $0.70
COGS per candle = $7.20
Total COGS = 400 × $7.20 = $2,880
Gross profit = $7,200 − $2,880 = $4,320
Gross margin = $4,320 ÷ $7,200 = 60%
That 60% gross margin must cover every other cost — marketplace fees, ads, rent, and the owner's pay. If material prices rise 15% and the seller doesn't adjust, COGS becomes $3,312 and gross margin slips to 54% — $432 of monthly profit gone with no change in sales. This is why sellers who don't track per-unit COGS slowly go broke while "selling well." Our Etsy fees guide shows the fee layer that comes out of that margin next.
FIFO, LIFO, and Average Cost: How Inventory Method Changes COGS
When material prices change over time, which units you consider "sold" changes your reported COGS. Three standard methods:
- FIFO (first in, first out): the oldest inventory sells first. When prices rise, COGS reflects cheaper old costs — profit looks higher, and remaining inventory is valued at newer, higher prices.
- LIFO (last in, first out): the newest inventory sells first. COGS reflects current prices — profit looks lower when prices rise. (Allowed under US GAAP with restrictions; not permitted under IFRS.)
- Weighted average: COGS uses the average cost of all units available. The simplest method and the most common for small businesses.
A worked example: you buy 100 units at $10, then 100 more at $14 (average $12). You sell 100 units. FIFO reports COGS of $1,000; LIFO reports $1,400; average cost reports $1,200 — a $400 swing in reported profit from an accounting choice alone. For most small sellers, weighted average is the pragmatic default: simple, defensible, and stable. Whatever you choose, apply it consistently — switching methods to manage reported profit draws auditor attention.
How to Lower COGS Without Cutting Quality
- Negotiate with suppliers annually — or get competing quotes to create leverage.
- Buy in bulk once turnover justifies it; volume discounts directly cut per-unit cost.
- Reduce waste and rework — every defective unit sold at full material cost is pure margin loss.
- Redesign for cost: simpler packaging or standardized components often cut costs invisibly to customers.
- Raise prices strategically — gross margin is a ratio, and the denominator matters as much as the numerator.
COGS and Your Tax Bill
Because COGS directly reduces taxable profit, accurate COGS accounting directly reduces tax. Two things to get right: count ending inventory carefully at year-end (guessing here misstates both profit and tax), and keep purchase records organized — every deductible material dollar needs a receipt. Many small sellers undercount COGS simply from poor records, which means overpaying tax on profit they didn't really earn. (General information, not tax advice.)
The Bottom Line
COGS is the direct cost of what you sold, and gross margin is the fuel for everything else. Track per-unit COGS religiously, watch it against price changes in materials, and remember: revenue is vanity, gross profit is sanity.
You might also like
Related Business Guides
Amazon FBA Fees: The Profit Calculator Guide for
Every Amazon FBA fee explained for 2026 — referral fees, fulfillment tiers, storage and returns — plus a worked profit calculation so you know.
BusinessAmazon Handmade vs Etsy: Fee Comparison Guide 2026
Amazon Handmade vs Etsy fees compared for 2026: referral fees, listing costs, payment processing, and which marketplace leaves handmade sellers.
BusinessEmergency Funds: Exactly How Much to Save in 2026
How much should your emergency fund hold in 2026? A practical framework by job type, plus where to keep it and how to build it fast.
BusinessHigh-Yield Savings: Compare APRs Like a Pro 2026
How to compare high-yield savings account APRs in 2026: what to look for beyond the rate, fees to avoid, and smart account strategy.
Get smarter about your margins.
Get weekly insights on pricing psychology, profit margins, and online business economics.
No spam. Unsubscribe at any time. Read our Privacy Policy.