> ## Documentation Index
> Fetch the complete documentation index at: https://oculon.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Variable best practices

> Follow practical guidance for naming, structuring, and maintaining variables.

Well-organized variables make a model easier to build, review, and trust. Use these habits from the first draft.

## Name and type

* Use business names your team already uses, such as `Gross Profit` rather than `GP calc 2`.
* Choose the [type](https://oculon.mintlify.site/concepts/data-and-structure/variables/variable-types.md) that matches the meaning. Use **Currency** for money and **Percentage** for rates.
* Use the same formatting for similar variables in a model.

## Structure

* Separate inputs, calculations, and outputs into different sections.
* Add a breakdown only when you need to analyze by that dimension. See [Using dimensions with variables](https://oculon.mintlify.site/concepts/data-and-structure/dimensions/using-dimensions-with-variables.md).
* Split long formulas into short helper variables. See [Formula best practices](https://oculon.mintlify.site/concepts/modeling/formulas/formula-best-practices.md).

## Actual and planned logic

* Keep the actual formula tied to source data, such as Transactions.
* Keep the planned formula tied to drivers and assumptions.
* Use period overrides for true one-off exceptions, not as a substitute for a formula.

## Review before you scale

Before a model grows, check that names, sections, and references still make sense. A small cleanup early is easier than a large restructure later.

## Protect shared logic

If a variable feeds many boards or other models, treat it as shared. Review changes with the people who depend on it.

## Related

* [Create and edit variables](https://oculon.mintlify.site/concepts/data-and-structure/variables/create-and-edit-variables.md)
* [Variable references](https://oculon.mintlify.site/concepts/data-and-structure/variables/variable-references.md)
* [Model best practices](https://oculon.mintlify.site/concepts/modeling/models/model-best-practices.md)
* [Formula best practices](https://oculon.mintlify.site/concepts/modeling/formulas/formula-best-practices.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.