What is the Cost of Goods Sold (COGS)?
Last updated: April 16, 2026
Definition
Cost of Goods Sold (COGS) is the direct costs a company incurs to produce or purchase the goods it sells during a specific accounting period. For managed service providers and IT service businesses, COGS includes technician labor, software licenses, and infrastructure costs directly tied to service delivery. It appears on the income statement below revenue and determines gross profit through the formula: Revenue - COGS = Gross Profit.
Key Facts
- Also known as: Cost of Services, Cost of Revenue (when including direct selling costs), Direct Costs
- Category: Financial Metrics
- Formula: Beginning Inventory + Purchases - Ending Inventory = COGS
- Inventory valuation methods: FIFO (First In, First Out), LIFO (Last In, First Out), Average Cost Method, Specific Identification
- Related standards: GAAP (Generally Accepted Accounting Principles), IRS Publication 334 (Tax Guide for Small Business)
How Cost of Goods Sold Works
COGS calculation follows a straightforward formula across all business types. Beginning Inventory represents the value of goods or materials at the start of the accounting period. Purchases during the period add to this amount. Ending Inventory (the value remaining at period close) is subtracted from the sum, yielding COGS. For manufacturing and retail businesses, inventory valuation directly determines the COGS figure.
The complexity lies in inventory valuation method selection. FIFO (First In, First Out) assumes the oldest inventory sells first. During rising prices, FIFO produces lower COGS and higher reported profits. LIFO (Last In, First Out) assumes the newest inventory sells first. During rising prices, LIFO yields higher COGS and lower reported profits, which reduces tax liability. The Average Cost Method divides total costs by total units to produce a blended per-unit cost, smoothing out price fluctuations. Specific identification tracks costs to individual units for unique high-value items.
For service businesses like MSPs, COGS consists primarily of direct labor costs (technician salaries and benefits) and software licenses tied to service delivery. Labor typically represents 90% or more of service COGS. Unlike product businesses, service providers do not carry physical inventory. Their COGS reflects the direct costs incurred to deliver each billable hour or managed service engagement.
Why Cost of Goods Sold Matters
COGS determines gross profit and gross profit margin, the primary indicators of operational efficiency and pricing effectiveness. For MSPs and IT service providers, maintaining COGS between 50% and 65% of revenue signals healthy financial performance (Thread, 2024). Service businesses with gross margins below 50% face operational inefficiencies that compress profitability and limit growth capacity.
Understanding COGS composition allows IT service businesses to identify cost control opportunities. Since labor constitutes 90% or more of service COGS (Hannemann, 2024), technician utilization becomes the primary lever for controlling direct costs in managed IT service delivery. Businesses that track COGS accurately can evaluate pricing strategy, make informed staffing decisions, and allocate costs correctly between direct delivery expenses and overhead.
Misallocating COGS distorts financial reporting and masks true production costs. A common mistake involves placing all labor costs in operating expenses rather than splitting direct production labor into COGS. This error understates cost of service delivery, inflates gross margin artificially, and prevents leadership from understanding the actual cost to fulfill each client engagement. Accurate COGS tracking provides the foundation for sustainable pricing and profitability management.
Cost of Goods Sold vs. Operating Expenses
| Aspect | COGS | Operating Expenses |
| Primary function | Direct costs to produce/deliver goods or services | Indirect overhead costs to run the business |
| Scope | Production labor, materials, software licenses for delivery | Rent, utilities, administrative salaries, marketing |
| Used by | Finance teams calculating gross profit | Finance teams calculating net profit |
| Key difference | Directly tied to each unit/service sold | Incurred regardless of production volume |
| When to use | Calculating gross margin and pricing strategy | Evaluating overall business operational efficiency |
The key difference is that COGS includes only costs directly attributable to producing what you sell, while operating expenses cover the indirect costs required to keep the business running.
Common Misconceptions
COGS is not the same as total expenses. COGS captures only the direct costs of production or service delivery, while total expenses include operating overhead like rent, marketing, and administrative salaries that exist whether you sell one unit or a thousand.
COGS does not include all labor costs. Only technician salaries and benefits directly tied to service delivery belong in COGS. Administrative staff, sales personnel, and management salaries are operating expenses, even though separating direct labor from overhead labor requires deliberate cost allocation.
Frequently Asked Questions
FIFO (First In, First Out) assumes oldest inventory sells first. During rising prices, FIFO produces lower COGS and higher reported profits. LIFO (Last In, First Out) assumes newest inventory sells first, yielding higher COGS and lower profits, which reduces tax liability. Average Cost smooths fluctuations by dividing total costs by units.
COGS includes only direct production or service delivery costs: materials, direct labor, and software licenses tied to fulfilling customer orders. Operating expenses (SG&A) cover indirect overhead like rent, utilities, administrative salaries, and marketing. Misallocating direct labor to operating expenses understates true production costs and distorts gross profit.
Track COGS as a percentage of revenue (target: 50-65% for healthy businesses). Identify cost control opportunities by analyzing labor utilization, negotiating vendor contracts, and reducing waste. For service businesses, improving technician utilization directly reduces per-unit COGS. Review COGS monthly through IT financial planning and budgeting practices to catch cost escalation before year-end.