- Why terminology differs
- Cost of revenue vs. Operating expenses
Cost of revenue (often called cost of sales or grouped under COGS in small business books) is the direct cost of delivering your product or service to customers in the period you recognize the related revenue. It sits above gross profit on the profit and loss statement:
Gross profit = Revenue − Cost of revenue
Why terminology differs
Public tech firms often label COGS as cost of revenue to emphasize service delivery economics. SMBs may still use COGS in QuickBooks—focus on economic meaning: What costs disappear if we stop selling the next unit?
Cost of revenue vs. Operating expenses
Cost of revenue varies with volume of sales/service delivery at the margin. Operating expenses (sales, marketing, R&D, general admin) often support the whole business and may not scale unit-for-unit.
Gray areas—customer success, infrastructure—require consistent policy guided by your accountant.
Gross margin signal
Gross margin = (Revenue − Cost of revenue) ÷ Revenue
Healthy, stable gross margin suggests pricing and delivery efficiency are working. Falling margin with rising revenue can mean input inflation, discounting, or mix shift toward lower-margin offers.
Practical inclusions (examples)
- Materials consumed on sold jobs
- Direct contractors assigned to specific client deliverables
- Merchant fees on collected revenue
- Shipping when treated as part of fulfillment (policy dependent)
- Hosting and API costs tied to active subscribers
Exclusions (typically)
- Brand marketing not tied to identifiable delivery
- Sales commissions (sometimes OpEx unless contractually direct)
- Executive salaries unless truly allocable as direct delivery (rare)
Bookkeeping discipline
Map invoice lines from invoicing software to revenue accounts and tie bills and time to cost of revenue where possible—job costing improves accuracy.
Expense tracking
Use tags or classes for pass-through costs per project so month-end reviews compare estimated vs. Actual delivery costs.
Service business nuance
If you pay salaried delivery staff, decide whether their time is COS vs. OpEx based on role and billable vs. Bench time, consistency beats perfect theory at small scale.
Inventory businesses
Cost of revenue includes beginning inventory + purchases − ending inventory (simplified) or perpetual COGS entries, inventory counts matter.
SaaS-specific notes
Professional services bundled into contracts may be allocated between deferred revenue recognition and cost of revenue, follow revenue recognition policies with your CPA.
Benchmarking
Industry gross margins vary wildly, compare to your trailing twelve months and your strategic targets first.
Financial reporting
Show gross profit prominently in management packs; it is the earliest profitability gate.
Pricing feedback loop
If cost of revenue rises, pricing and scope must adjust, or margin erodes silently while top line celebrates.
Common mistakes
- Dumping all labor into OpEx when much is truly direct
- Capitalizing costs that should flow through cost of revenue (or vice versa) without guidance
- Ignoring small per-transaction fees that aggregate materially
Tax perspective
Cost of revenue reduces taxable income when properly documented and ordinary/necessary, keep receipts and allocation support.
Operational KPIs
Pair cost of revenue with utilization, tickets per customer, or units per hour, ratios reveal efficiency beyond dollars alone.
When margins compress
Investigate supplier pricing, shipping surcharges, warranty costs, and rework rates before blaming “the market.”
Documentation for diligence
Buyers test gross margin sustainability, clean mapping from contracts to cost of revenue accelerates trust.
Software COGS mapping
Ensure payment processor fees post to COS or cost of revenue accounts, not generic bank fees. If that matches your policy.
Seasonality
If cost of revenue spikes in busy months, compare unit economics normalized for volume, raw dollars alone mislead.
Cross-functional reviews
Monthly, have delivery and finance scan the top ten vendors feeding cost of revenue. Ops sees usage reality; finance sees invoice timing, together they catch mis-billed usage tiers before they run for quarters.
Contract pass-throughs
When you resell third-party services with little markup, document whether you are principal vs. Agent for revenue presentation, gross vs. Net revenue affects ratios and perceived margin even when profit dollars are similar.
Write-offs and credits
Customer credits, refunds, and bad debt can affect revenue and cost of revenue depending on policy, book consistently and explain one-offs in monthly notes so trends stay interpretable.
Bottom line: Cost of revenue is the direct cost of delivering what you sold, parallel to COGS for many SMBs. Classify it consistently, track it against estimates, and watch gross margin; it is your first line of defense for sustainable pricing and profitable growth.
Key Takeaways
- Cost of revenue includes only direct delivery costs such as materials, direct contractors, merchant fees, shipping, and hosting tied to active subscribers.
- Gross margin (revenue minus cost of revenue divided by revenue) is the first profitability gate and should be tracked monthly against trailing averages.
- Classify costs consistently with your accountant and separate direct delivery costs from operating expenses like marketing and executive salaries.
- Compare estimated vs. Actual delivery costs per project using job costing and expense tags to catch margin erosion early.
- Falling gross margin with rising revenue signals input inflation, discounting, or mix shift toward lower-margin work and requires immediate investigation.
Billed helps small businesses create invoices, track expenses, and stay on top of their finances.
Frequently Asked Questions
What is the difference between cost of revenue and cost of goods sold?
Cost of goods sold (COGS) specifically refers to the direct costs of producing physical products, while cost of revenue is the broader term that includes COGS plus direct costs of delivering services such as hosting fees, subcontractor payments, and customer support labor. Service and SaaS companies typically use cost of revenue instead of COGS.
What should a service business include in cost of revenue?
Service businesses should include direct labor costs for client work, subcontractor fees, software and tools used exclusively for service delivery, travel costs for client projects, and any materials consumed during service delivery. General administrative costs like office rent and marketing are excluded because they are operating expenses.
How do you calculate cost of revenue as a percentage of total revenue?
Divide total cost of revenue by total revenue and multiply by 100 to get the cost of revenue percentage. For example, if your revenue is $500,000 and cost of revenue is $200,000, your cost of revenue ratio is 40%, meaning you retain 60% as gross profit before operating expenses.
