Get 80% off your plan for your first 3 months*

Direct cost

Learn what a direct cost is, see clear examples, and find out how direct costs shape your pricing and profit.

Published Thursday 6 August 2026

Table of contents

Key takeaways

  • A direct cost is an expense you can tie directly to the goods or services you sell, such as raw materials and production labour.
  • For most small businesses, direct costs make up the cost of goods sold (COGS) or cost of sales, and they sit above gross profit on your income statement.
  • Direct costs can be variable or fixed, so a cost being fixed does not automatically make it indirect.
  • Knowing your direct costs helps you price accurately and protect your margins as trade rises and falls.

What is a direct cost?

A direct cost is an expense that is directly linked to the goods or services a business sells. It is the opposite of an indirect cost, which supports the business as a whole rather than one specific product or service.

For most small businesses, direct costs are also the cost of goods sold (COGS) or cost of sales. These are the costs that would not exist if you made no sales at all, which is why they move up and down with your trading activity.

Examples of direct costs

Direct costs vary from one business to another, but they share a clear link to a product or service. Common examples include the following.

  • Inventory or raw materials that make up what you sell
  • Wages for people who manufacture goods or deliver services
  • Leases and energy for dedicated workshops or factories
  • Packaging, freight, and warehousing tied to a specific product

Businesses take different views on whether to count workshop or factory expenses, freight, and warehousing as direct costs. The most important thing is to settle on a definition that works for your business, then apply it consistently so your figures stay comparable over time.

Direct costs vs indirect costs

Every cost is either direct or indirect, and a single cost cannot be both. The difference comes down to whether you can trace the expense to a specific product or service, or whether it keeps the wider business running.

  • Direct costs: raw materials, direct labour, and production expenses tied to what you sell
  • Indirect costs: utilities, insurance, general admin, and marketing that support the whole business

Some costs shift between the two categories depending on the business. Staff and premises might count as direct for a manufacturer with a dedicated production line, but indirect for a business where the same people and space serve every part of the operation.

Fixed and variable direct costs

Direct costs are often variable, rising and falling with how much you produce, but they are not always variable. Sorting your direct costs into variable and fixed helps you predict how spending changes as sales grow.

  • Variable direct costs: raw materials and per-unit shipping that increase with each item you make or sell
  • Fixed direct costs: a lease on a dedicated production unit or a salaried maker whose pay stays the same regardless of output

A cost being fixed does not make it indirect. What matters is whether it links directly to the goods or services you sell.

How to calculate direct costs

There is no single formula that fits every business, because direct costs differ by industry. A practical starting point is to add your direct materials and direct labour, then include any other costs tied directly to a product or service.

Follow these steps to work out the direct cost of a product or service.

  1. Add up direct materials, meaning the raw materials and components that go into the finished product.
  2. Add direct labour, meaning the wages of the people who physically make the product or deliver the service.
  3. Add any other directly attributable costs, such as production energy, packaging, or freight for that product.

The total is your direct cost. Recording these figures accurately through steady bookkeeping keeps the number reliable when you use it for pricing. For a fuller worked method, see how to calculate your cost of sales.

Why direct costs matter

Direct costs set the floor for your prices, so you need to charge above them to make a profit on each sale. They also feed straight into your gross profit, which is your revenue minus the cost of goods sold.

Tracking direct costs helps you spot pressure on your profit margins before it eats into your bottom line. It also helps with planning, because sales create a knock-on increase in costs. A seasonal business needs cash on hand for its busy period, and a business planning a big sales push has to be sure it can afford to meet the extra demand.

Manage your direct costs with Xero

When you can see your costs clearly, pricing and profit decisions get easier. Xero gives you a live view of your income and spending, with reporting and analytics that help you track direct costs and margins as they change. Try it and get one month free to see how it fits your business.

FAQs on direct costs

Here are answers to common questions about direct costs and how they work.

What is the difference between direct and indirect costs?

Direct costs can be traced to a specific product or service, while indirect costs support the business as a whole. A cost is one or the other, never both at the same time.

Is a direct cost the same as cost of goods sold?

For most small businesses they are effectively the same, since cost of goods sold is made up of the direct costs of producing what you sell. Larger or service businesses sometimes use the broader term cost of sales instead.

Are direct costs always variable?

No. Many direct costs are variable, but some are fixed, such as a lease on a dedicated production unit. What makes a cost direct is its link to a product or service, not whether it changes with output.

What is the formula for direct cost?

A common approach is direct materials plus direct labour, plus any other costs tied directly to a product or service. The exact mix depends on your industry and how you choose to define direct costs.

Do service businesses have direct costs?

Yes. Service businesses have direct costs such as the labour of the people delivering the service and any materials or software used specifically for client work.

Learn more about direct costs

Handy resources

Advisor directory

You can search for experts in our advisor directory

Find an advisor

Xero Small Business Guides

Discover resources to help you do better business

See all our guides & articles

Try Xero for free

Try Xero’s fast, simple, powerful online accounting software for your small business

Sign up today

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.