Direct costs: definition, examples, and how to calculate them
Learn what direct costs are, see clear examples, and find out how to calculate them for your business.
Published Thursday 23 July 2026
Table of contents
Key takeaways
- A direct cost is an expense you can trace directly to a specific product or service you sell, such as raw materials or the labour used to make it.
- Direct costs differ from indirect costs, which are the background costs of running your business, like rent, insurance, and general admin.
- Direct costs make up most of your cost of goods sold (COGS), though the two aren't always identical.
- Tracking direct costs helps you set prices, work out your gross margin, and plan cash flow through busy or growing periods.
What is a direct cost?
A direct cost is an expense you can tie directly to the goods or services your business sells. If a cost goes up or down with what you produce or deliver, it's usually a direct cost.
These costs are directly attributable to a specific product, service, or job, which accountants call the cost object. They're the opposite of indirect costs, the general expenses that keep your business running but can't be pinned to one thing you sell.
Direct cost examples
Direct costs look different from one business to the next, but they all share the same trait: you can link them to what you sell. Here are common examples for small businesses:
- Raw materials and inventory that go into what you sell
- Direct labour for the staff who make your products or deliver your services
- Production equipment used only to create what you sell
- Energy and utilities for a dedicated workshop, factory, or premises
- Freight and shipping to get goods to your customers
- Sales commissions paid on each sale
Some items sit in a grey area. Whether you count a workshop or factory, or freight and warehousing, as a direct cost can depend on how your business works. The main thing is to settle on a definition that suits your business, then apply it consistently.
How to calculate direct costs
To calculate your direct costs, add up every expense you can trace to a product, service, or job. The basic formula is:
Direct costs = direct materials + direct labour + other directly attributable costs
Say you run a small furniture business in Australia and complete an order for a batch of dining tables. Your direct costs for that order might include:
- $4,000 for timber and other raw materials
- $3,000 for the wages of the staff who build the tables
- $500 for freight to deliver the finished order
Add these together and your total direct costs for the order come to $7,500. You can then compare that figure against your sale price to see how much each order actually earns you.
Direct costs vs indirect costs
Every cost is either direct or indirect, and it can't be both. The difference comes down to whether you can trace the expense to a specific thing you sell.
Indirect costs are the background expenses of running your business, often called overhead. Here's how the two compare:
- Direct costs relate to a specific product, service, or job, such as materials and production labour
- Indirect costs keep the whole business running, such as rent, insurance, general admin, and marketing
- Direct costs usually rise and fall with your sales volume, while overhead tends to stay steady
- Some costs, like staff wages or premises, can be direct or indirect depending on your type of business
A graphic designer's software might be a direct cost if it's used on client work, while the same tool could be overhead in another business. What matters is choosing a sensible split and sticking to it.
Are direct costs the same as cost of goods sold (COGS)?
Direct costs and cost of goods sold are closely linked, but they're not always identical. Direct costs make up most of your COGS, which is also known as cost of sales.
Your cost of goods sold captures the direct costs of the products you actually sold in a period, such as materials and production labour. Some direct costs, like a sales commission paid after a sale, may sit outside COGS depending on how you record them. For most small businesses, though, your direct costs and your COGS will be close to the same figure.
Fixed vs variable direct costs
Most direct costs are variable, which means they move with how much you produce or sell. Raw materials and freight are good examples: make more, and you spend more.
Some direct costs are fixed. A production supervisor's salary stays the same whether you make 10 units or 1,000, yet it still relates directly to making your product. Knowing which of your direct costs are fixed and which are variable helps you predict how costs will change as you grow.
Why tracking direct costs matters
Tracking direct costs shows you the true cost of making each sale, which shapes almost every money decision you make. Clear direct cost figures help you:
- set prices that cover your costs and leave a healthy margin
- calculate your gross margin on each product or service
- build accurate budgets as your business grows
- plan cash flow for seasonal peaks or a big sales push
Understanding your direct costs is the first step to understanding your profitability. A seasonal business needs cash on hand for its busy stretch, and a business planning a big sales push needs to know it can afford to meet the extra demand.
These figures also feed into wider measures like your marginal cost and your break-even point, so you can see how each extra sale affects your bottom line.
Track your direct costs with Xero
Keeping on top of your direct costs is far easier when your numbers live in one place and update as you work. Xero brings your bills, invoices, and inventory together, so you can see what each sale really costs and make confident decisions about pricing and growth. Start today and get one month free.
FAQs on direct costs
Here are answers to some frequently asked questions about direct costs for small business owners.
What are examples of direct costs?
Common examples include raw materials, inventory, and the wages of staff who make your products or deliver your services. Freight, production equipment, and sales commissions can also count as direct costs.
How do you calculate direct costs?
Add your direct materials, direct labour, and any other costs you can trace to a specific product, service, or job. The total is your direct cost for that item or order.
Are direct costs the same as COGS?
They're closely related, as direct costs make up most of your cost of goods sold. They aren't always identical, because some direct costs can sit outside COGS depending on how you record them.
Are direct costs fixed or variable?
Most direct costs are variable and rise or fall with how much you produce or sell. A few, such as a production supervisor's salary, are fixed even though they relate directly to making your product.
Are direct costs tax-deductible?
Many direct costs are deductible business expenses, but the rules depend on your situation, so check the guidance from the ATO. For advice on your own business, it's worth speaking to a registered tax agent.
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.