# Add a Sub-Cost Code

Sub-cost codes let you break down your budget categories into more specific parts, giving you greater visibility into exactly where money is being spent. By assigning costs to these more detailed segments, you can identify trends, spot overruns sooner, and better understand the true drivers behind your project expenses. This added level of detail ultimately improves the accuracy of your budgeting, forecasting, and financial reporting.&#x20;

{% hint style="info" %}
See [Cost Codes](/documentation/work-breakdown-structure/add-a-new-cost-code.md) to learn more about creating main cost codes before setting up sub-cost codes.
{% endhint %}

To create a sub-cost code:

1. Go to **Settings > Other > Cost Codes and Names**.
2. Find the parent cost code you want to expand.
3. Click the **+** icon next to the existing parent cost code to add a new sub-cost code beneath it.

{% hint style="info" %}
You can also create another sub-cost code within an existing sub-cost code by clicking the **+** icon again. This allows you to build multiple layers of detail when needed, helping you track project costs with greater accuracy and organize expenses in a clearer, more meaningful structure.
{% endhint %}

4. Enter the name of your new sub-cost code.
5. Click **Save** to complete the process.

<figure><img src="/files/NJPr0h8Lkto0D8fIeh5c" alt=""><figcaption></figcaption></figure>

This will create a structured hierarchy, helping you organize your costs more precisely.

### See also&#x20;

Keep exploring our platform by taking the next step:

* [Set Up and Use Cost Types](/documentation/work-breakdown-structure/use-cost-types.md): Learn how to set up and use Cost Types (Labor, Materials, Equipment, etc.) for granular budgeting.
* [Use Cost Types](/documentation/work-breakdown-structure/use-cost-types.md): Learn how to use Cost Codes to help you organize and track project costs in detail.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.crewcost.com/documentation/work-breakdown-structure/add-a-sub-cost-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
