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

# Formula

> A computed value derived from other fields.

## Overview

Formula calculates a value from other fields on the same record (and one step into related records). Use it when the value can always be worked out from other fields, a total from quantity times unit price, or whether something is overdue based on its due date.

## Configuration

| Setting     | What it does                                                                 |
| ----------- | ---------------------------------------------------------------------------- |
| Expression  | The calculation to run, written using other fields on the record.            |
| Result type | The kind of value the formula produces: a number, text, a yes/no, or a date. |

## What it stores

Nothing is typed in. The value is worked out each time you view the record, based on the fields the formula uses.

## Filtering

The same filters as the type of value the formula produces. Number filters when it returns a number, date filters when it returns a date, and so on.

## Examples

A line-item total calculated from quantity and price on a Quote. A health score calculated from other fields on an Account.

## See also

* [External](/data/properties/complex/external): when the value comes from a connected app instead of a calculation.
* [Number](/data/properties/number/number)


## Related topics

- [Spreadsheet](/blocks/embedded/object/spreadsheet.md)
- [Rollup](/data/properties/complex/rollup.md)
- [Success](/start/use/success.md)
- [Fields](/data/records/fields.md)
- [Overview](/data/properties/complex/overview.md)
