What is a direct cost?
Learn what direct costs are, how to calculate them, and why they matter for your business.
Published Thursday 23 July 2026
Table of contents
Key takeaways
- A direct cost is any expense you can trace to a specific product, service, or project, including materials, labor, and other production-related spending
- Knowing your direct costs helps you set profitable prices, calculate gross margin, and make smarter decisions about where to spend
- Direct costs differ from indirect costs because you can assign them to a single cost object, while indirect costs support your business as a whole
- Tracking and managing direct costs with accounting software gives you real-time visibility into profitability and helps you control spending as your business grows
What are direct costs?
Understanding your direct costs is the foundation for setting prices, measuring profitability, and making confident financial decisions.
A direct cost is any expense you can trace directly to producing a specific product, delivering a service, or completing a project. These costs only exist because of that particular item or activity. If you didn't make the product or deliver the service, you wouldn't incur the expense.
Common direct costs include raw materials, production labor, and supplies used in manufacturing or service delivery. For a bakery, the flour, sugar, and eggs that go into a cake are all direct costs. For a consulting firm, the hours a consultant spends on a client project count as a direct cost.
Direct costs are closely tied to cost of goods sold (COGS), which represents the total direct costs of producing the goods your business sells. On your income statement (also called a profit and loss statement), direct costs sit above the gross profit line. Revenue minus your direct costs equals your gross profit, so savings on direct costs can help improve your bottom line.
Examples of direct costs by industry
Direct costs look different depending on your industry. Here are common examples across 5 business types to help you identify yours.
Manufacturing
Manufacturers tend to have the most straightforward direct costs because they're turning raw materials into finished goods.
- Raw materials such as steel, fabric, or chemicals
- Production worker wages and benefits
- Equipment used exclusively for a specific product line
- Packaging materials like boxes, labels, and shrink wrap
Service businesses
Service providers don't sell physical products, but they still have costs tied directly to each client engagement.
- Consultant or specialist fees for a specific project
- Project-specific software licenses
- Travel expenses for client-related work
- Subcontractor payments for outsourced deliverables
Construction
Construction businesses typically have high direct costs because each project requires unique materials and labor.
- Building materials like lumber, concrete, and fixtures
- Subcontractor labor for specialized trades
- Equipment rental for job-specific machinery
- Permits and inspections tied to a specific project
Retail
Retailers purchase finished goods to resell, so their direct costs center on inventory acquisition and delivery.
- Wholesale inventory purchases
- Inbound shipping and freight charges
- Packaging and labeling for products
- Import duties on goods purchased from overseas suppliers
Technology and software
Tech companies often have a mix of labor and infrastructure costs tied to building and delivering their products.
- Cloud hosting and server costs for a specific application
- Third-party API or licensing fees
- Developer wages for a dedicated product team
- Labor hours spent onboarding new clients
How to calculate direct costs
Once you've identified your direct costs, you can add them up using a simple formula. Calculating direct costs regularly helps you price your products accurately and spot spending trends early.
Total direct costs = direct materials + direct labor + other direct expenses
Here's how this works in practice.
Product-based example
A furniture maker produces a custom dining table. Here's how they'd calculate the direct costs for that table.
- Wood and hardware (direct materials): $350
- Carpenter labor, 12 hours at $30 per hour (direct labor): $360
- Finish and stain (other direct expenses): $40
Total direct costs = $350 + $360 + $40 = $750. If the table sells for $1,500, the gross profit is $750, giving a 50% gross profit margin.
Service-based example
A marketing agency runs a branding project for a client. Their direct costs might look like this.
- Designer wages, 40 hours at $50 per hour (direct labor): $2,000
- Stock photography licenses (direct materials): $200
- Printing for presentation materials (other direct expenses): $150
Total direct costs = $2,000 + $200 + $150 = $2,350. If the project fee is $5,000, the gross profit is $2,650.
To understand how direct costs fit into your broader financial picture, you can calculate your COGS and compare it against revenue to see how efficiently your business turns spending into profit.
Direct costs vs indirect costs
Knowing the difference between direct and indirect costs helps you price accurately, track profitability by product or service, and find opportunities to cut spending.
Direct costs are expenses you can trace to a specific product, service, or project. They only exist because you produced that particular item. If you stopped making the product, the cost would disappear.
Indirect costs (also called overhead) support your business as a whole and can't be tied to a single product or service. They exist regardless of what you produce or sell.
Here are the main differences between the 2.
- Traceability: direct costs connect to a specific cost object; indirect costs support operations broadly
- Variability: direct costs often change with production volume; indirect costs tend to stay steady
- Impact on pricing: direct costs directly affect your per-unit pricing; indirect costs need to be allocated across products
- Examples: direct costs include raw materials and production wages; indirect costs include rent, utilities, and office supplies
The same expense can sometimes be either direct or indirect depending on context. For example, a factory supervisor's salary is a direct cost if they oversee only 1 production line. But if they manage the entire factory, that salary becomes an indirect cost because it supports multiple product lines.
Similarly, electricity is an indirect cost for most businesses. But for an aluminum smelter that uses massive amounts of power to produce each batch, electricity could be a direct cost tied to specific production runs.
Fixed vs variable direct costs
Not all direct costs behave the same way when your production volume changes. Understanding whether a direct cost is fixed or variable helps you forecast expenses and budget more accurately.
Variable direct costs change in proportion to how much you produce. If you make more units, these costs go up. If you make fewer, they go down. Raw materials are the most common example. A t-shirt printer who uses $3 of ink and fabric per shirt will spend $300 on materials for 100 shirts and $3,000 for 1,000 shirts.
Fixed direct costs stay the same regardless of production volume, as long as they're tied to a specific product or project. A dedicated production supervisor's monthly salary is a fixed direct cost: you can trace it to a particular product line, but it doesn't change based on output.
This distinction matters for your business planning. Variable direct costs are easier to predict because they scale with sales. Fixed direct costs require careful consideration because you'll pay them even during slow periods. When you're forecasting, separating these 2 categories helps you understand your break-even point and plan for different sales scenarios.
Direct costs vs cost of goods sold
Direct costs and cost of goods sold are closely related, and for many small businesses, they're nearly identical. Understanding how they overlap, and where they differ, helps you read your financial statements with more confidence.
COGS represents the total cost of producing the goods you've actually sold during a specific period. It typically includes direct materials, direct labor, and manufacturing overhead directly tied to production. For most product-based small businesses, COGS equals your direct costs.
The main difference shows up in 2 situations.
- Unsold inventory: direct costs include spending on all units produced, while COGS only counts the costs of units you've sold
- Service businesses: service companies often use "cost of sales" (COS) instead of COGS, since they don't sell physical goods
- Allocated overhead: COGS can include allocated manufacturing overhead (like factory rent), which wouldn't normally count as a direct cost
For practical purposes, tracking your direct costs gives you the data you need to calculate your COGS accurately. When you know what it costs to produce each product or deliver each service, you can calculate your cost of goods sold and use that number to set prices and measure profitability.
Is labor a direct cost?
Labor is one of the trickiest costs to classify because the same type of expense can be direct or indirect depending on the role.
Labor is a direct cost when you can trace it to a specific product, service, or project. Factory workers assembling products, a plumber fixing pipes at a client's home, and a graphic designer working on a client deliverable are all examples of direct labor. The time and wages are tied to a specific output.
Labor is an indirect cost when it supports overall business operations rather than a specific product or service. Office managers, HR staff, and general administrative assistants typically fall into this category. Their work benefits the whole business, so you can't assign their wages to 1 product or project.
To classify labor costs in your business, ask yourself this question: would this person still be doing this work if you removed a specific product or project? If the answer is no, it's a direct cost. If the answer is yes, it's an indirect cost.
For businesses with employees who split their time, you may need to track hours by project or product line. Cost accounting methods can help you allocate labor accurately across different products and services.
Why direct costs matter for your business
Direct costs affect nearly every financial decision you make, from setting prices to planning cash flow. Here's why tracking them closely makes a real difference.
Pricing decisions
Your direct costs set the floor for your pricing. If you don't know exactly what it costs to produce a product or deliver a service, you risk pricing too low and losing money on every sale. By tracking direct costs per unit, you can set prices that cover your costs and leave room for profit.
Profitability analysis
Direct costs are the primary driver of your gross profit margin. When direct costs rise without a matching increase in revenue, your margins shrink. Monitoring direct costs by product line or service type shows you which parts of your business are most and least profitable, helping you focus on what works.
Cash flow planning
Many direct costs fluctuate with demand. A seasonal business needs to plan for higher material and labor costs during busy periods, while also managing cash during slower months. According to Xero Small Business Insights, US small business sales growth averaged just 2.4% year-over-year in 2025, roughly half the long-term average of 5.5%. During periods of slower growth like this, careful direct cost management becomes even more critical for protecting your margins.
Budgeting and forecasting
When you track direct costs consistently, you can predict future expenses based on expected sales volumes. This makes your budgets more accurate and helps you spot cost increases early, before they eat into your profits. Separating fixed and variable direct costs makes forecasting even more precise.
How to manage and reduce direct costs
Controlling your direct costs is one of the most effective ways to improve profitability. Here are practical strategies you can put into action.
Negotiate with suppliers
Review your supplier contracts regularly and ask about volume discounts, early payment terms, or alternative materials that could lower your per-unit costs. Even small savings on materials add up when you're buying in quantity.
Streamline your processes
Look for bottlenecks or waste in your production or service delivery. Can you reduce the time it takes to complete a task? Are there steps in your process that don't add value? Cutting unnecessary steps reduces both labor and material costs.
Track costs in real time
Waiting until the end of the month to review costs means problems can go unnoticed for weeks. Use accounting software to track your expenses as they happen, so you can catch unexpected increases and take action quickly.
Review and benchmark regularly
Compare your direct costs as a percentage of revenue against industry benchmarks. If your materials cost 45% of revenue while competitors average 35%, that gap signals an opportunity. Regular reviews help you stay competitive and catch cost creep before it becomes a problem.
Invest in automation where it makes sense
Automating repetitive tasks, whether in production, invoicing, or inventory management, can reduce labor costs and minimize errors. Look for areas where technology can handle routine work so your team can focus on higher-value activities.
Simplify your cost tracking with Xero
Tracking direct costs doesn't have to be complicated. With the right tools, you can see exactly where your money goes and make faster, more confident decisions.
Xero accounting software helps you categorize expenses, monitor costs by project or product, and generate reports that show your profitability in real time. Automated bank feeds and reconciliation save you hours of manual data entry, designed to help you spend less time on bookkeeping and more time running your business. Get one month free.
FAQs on direct costs
Here are answers to frequently asked questions about direct costs.
What is the difference between direct and indirect costs?
Direct costs can be traced to a specific product, service, or project, while indirect costs support your overall business operations. Rent, utilities, and administrative salaries are common indirect costs because they benefit the whole business rather than a single output.
How do you calculate direct costs?
Add up your direct materials, direct labor, and any other expenses tied specifically to producing a product or delivering a service. The formula is: total direct costs = direct materials + direct labor + other direct expenses.
Do service businesses have direct costs?
Yes, service businesses have direct costs, though they look different from those in manufacturing. Common examples include consultant wages for a specific project, project-related travel, and software licenses used exclusively for client work.
Is depreciation a direct cost?
Depreciation can be a direct cost if the asset is used exclusively for a specific product or project. For example, a machine used only to produce 1 product line would have its depreciation classified as a direct cost, while general office equipment depreciation is an indirect cost.
What is the difference between direct costs and COGS?
Direct costs are all expenses traceable to a specific product or service, while COGS specifically refers to the costs of units you've actually sold. For most small businesses, the 2 figures are very similar, but COGS may also include allocated manufacturing overhead.
Handy resources
Advisor directory
You can search for experts in our advisor directory
Xero Small Business Guides
Discover resources to help you do better business
Get one month free
Try Xero’s fast, simple, powerful online accounting software for your small business
Disclaimer
This glossary is for small business owners. The definitions are written with their requirements in mind. More detailed definitions can be found in accounting textbooks or from an accounting professional. Xero does not provide accounting, tax, business or legal advice.