What Cost of Sales Means
Cost of sales is the direct cost of producing or delivering the goods and services sold during a period. It appears below revenue on the P&L and is used to calculate gross profit.
If revenue shows how much the business earned from customers, cost of sales shows how much it directly cost to deliver those sales.
Simple Test
If the cost naturally rises when sales volume rises, it may belong in cost of sales. If it supports the business generally, it is probably an operating expense.
Cost of Sales Formula
For product businesses with inventory, the common formula is:
This formula matches the cost of goods sold with the period in which the related revenue was earned.
What to Include in Cost of Sales
Product Costs
Finished goods, raw materials, components, packaging, and inbound freight.
Production Costs
Direct labor, factory supplies, production utilities, and quality control.
Delivery Costs
Subcontractors, billable staff, merchant fees, hosting, and fulfillment costs.
What to Exclude
Not every important business cost belongs in cost of sales. Many expenses support the company as a whole and should remain in operating expenses.
- Executive and administrative salaries
- General office rent
- Brand advertising and most marketing spend
- Accounting, legal, and insurance costs
- Interest, taxes, dividends, and owner distributions
Industry Examples
| Business Type | Typical Cost of Sales Items |
|---|---|
| Retail Store | Inventory sold, supplier freight, packaging, shrinkage |
| Restaurant | Food, beverages, kitchen supplies, direct kitchen labor |
| Manufacturer | Raw materials, direct labor, factory overhead |
| Agency | Freelancers, billable staff, project-specific software |
| SaaS Company | Hosting, payment processing, support tied to customer accounts |
Worked Example
| Item | Amount |
|---|---|
| Beginning Inventory | $80,000 |
| Purchases | $360,000 |
| Ending Inventory | $95,000 |
| Cost of Sales | $345,000 |
The calculation is $80,000 plus $360,000 minus $95,000. If revenue was $620,000, gross profit was $275,000 and gross margin was 44.4%.
How to Manage Cost of Sales
Cost of sales is not just an accounting category. It is a management lever. Improving it can increase profit without requiring more revenue.
- Track margin by product or service. A blended margin can hide weak offers.
- Review supplier terms. Small purchase price changes can have a large annual effect.
- Reduce waste and rework. Scrap, refunds, spoilage, and repeated labor raise cost of sales.
- Quote using real cost data. Past delivery costs should improve future pricing.
FAQ
Is cost of sales an expense?
Yes. It appears as an expense on the P&L, although inventory may first be recorded as an asset.
Is cost of sales the same as operating expenses?
No. Cost of sales is tied directly to delivery. Operating expenses support the business more generally.
Can cost of sales be zero?
It can be very low for some digital products, but most businesses still have some direct delivery cost.