Direct cost
Learn what a direct cost is, see examples by business type, and how they link to COGS and gross profit.
Published Thursday 23 July 2026
Table of contents
Key takeaways
- A direct cost is an expense you can tie straight to a product or service you sell, like raw materials or the labour that makes the goods.
- Direct costs are often called cost of goods sold or cost of sales, and they sit apart from indirect costs, which keep the wider business running.
- Adding up your direct costs shows what each product or service really costs to deliver, which helps you set prices and protect your gross profit.
- Some direct costs rise and fall with sales, while others stay steady, so tracking them helps you plan for busy periods and price with confidence.
What is a direct cost?
A direct cost is an expense you can link straight to the goods or services your business sells. It's the opposite of an indirect cost, which supports the business as a whole rather than one product or job.
For most small businesses, a direct cost is also the cost of goods sold (COGS) or cost of sales. These terms describe the same idea: the spending that goes directly into what you sell.
Examples of direct costs
The clearest way to spot a direct cost is to ask whether the expense would disappear if you stopped making that product or delivering that service. The examples below group common direct costs by business type so you can see how they apply to your own work.
Retail and wholesale
For businesses that buy and resell goods, direct costs centre on the stock itself. Typical examples include:
- Inventory or finished products bought for resale
- Freight and shipping to bring stock into your warehouse
- Packaging that goes out with each sale
Manufacturing
Businesses that make their own products carry direct costs across materials and production. Common examples include:
- Raw materials that make up the finished goods
- Wages for the people building or assembling products
- Energy and leases for a workshop or factory used only for production
Services
Service businesses still have direct costs, usually tied to the time and materials that go into each job. Typical examples include:
- Wages for staff who deliver the service to a client
- Materials or supplies used to complete a specific job
- Subcontractors hired to work on a client project
Businesses take different views on whether to count workshop expenses, freight or warehousing as direct costs. The most useful approach is to settle on a definition that suits your business, then apply it the same way every time.
Direct costs vs indirect costs
A cost is either direct or indirect. It can't be both, so once you know which expenses tie to a product or service, everything else falls into the indirect group.
Indirect costs cover the background expenses of running your business, whether or not you make a sale. You can read more about how gross profit depends on separating these two groups cleanly. Common indirect costs include:
- Rent and utilities for a shared office
- Insurance and general administration
- Marketing, advertising and sales activity
Some expenses shift between the two groups depending on the business. A worker or a building might be a direct cost for one company and an indirect cost for another, based on how closely they link to what you sell.
Direct costs, COGS and cost of sales
Different sectors use different names for the same direct costs, which can cause confusion when you compare businesses. Knowing the right term for your sector makes your reports easier to read and compare.
- Cost of goods sold (COGS): common in manufacturing, covering materials and production labour
- Cost of sales: common in retail and wholesale, covering the goods you buy to resell
- Cost of service: common in service businesses, covering the labour and materials for each job
Whichever term fits your sector, the idea stays the same. You're measuring what it costs to produce or deliver the specific things you sell, which you can explore further in this cost of sales guide.
How to calculate direct costs
There's no single formula for direct costs, because the right expenses depend on what you make or sell. Instead, you total up every cost that ties directly to producing each product or delivering each service.
Start by listing the materials, labour and other spending you'd only incur if you made that product or ran that job. Add those amounts together for the period you're measuring, and leave out anything that keeps the wider business running.
Your direct costs then feed straight into your gross profit, which is your revenue minus cost of goods sold. If you want to work through the maths, this guide on how to calculate gross profit shows each step.
Why direct costs matter
Direct costs show how your spending moves when sales rise or fall. A seasonal business needs cash on hand for its busy stretch, and a business planning a big sales push has to be sure it can afford the extra demand.
They also shape your pricing and your margins. When you know the true direct cost of each product or service, you can set prices that cover it and still leave a healthy gross profit margin. Keeping direct costs under control is one of the most direct ways to protect that margin.
Are labour and depreciation direct costs?
Labour and depreciation are two costs that often sit on the line between direct and indirect. Whether they count as direct depends on how closely they tie to what you sell.
Labour is a direct cost when it's tied to making a product or delivering a service, like a machine operator or a technician on a client job. The same wages become an indirect cost when the work supports the whole business, such as an office manager. Depreciation follows the same test: it's direct when the asset is used only for production, and indirect when the asset serves the business generally.
It also helps to remember that some direct costs are variable and some stay steady. Materials usually rise and fall with output, while a salaried production worker on fixed pay is a stable direct cost. You can see how these expenses flow into your cost of goods sold when you plan a period.
Track your direct costs with Xero
Once you can see your direct costs clearly, pricing, budgeting and planning for busy periods all get easier. Xero brings your income and costs together in one place, so you can watch your direct costs and gross profit in real time. Set up your finances the way you want and get one month free when you start today.
FAQs on direct costs
Here are answers to some frequently asked questions about direct costs to help you apply the term with confidence.
What is the difference between direct and indirect costs?
A direct cost ties straight to a product or service you sell, while an indirect cost keeps the wider business running. A cost is either one or the other, never both.
Is labour a direct cost?
Labour is a direct cost when the work is tied to making a product or delivering a service. It becomes an indirect cost when it supports the whole business, like administration.
Are direct costs the same as cost of goods sold?
For most small businesses they describe the same spending, which is why direct costs are often called cost of goods sold or cost of sales. The exact term depends on your sector.
How do you calculate direct costs?
There's no single formula, so you total every cost that ties directly to producing each product or service. Those direct costs then feed into your gross profit.
Related terms
Learn more about direct costs
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.