Skip to main content
Formulas let you create calculated properties in Bases using data from other properties. A formula property doesn’t exist in your notes’ frontmatter — it’s computed on the fly from values that do.

What formulas can do

  • Calculate values — add prices, compute totals, perform math operations.
  • Manipulate text — combine strings, change case, extract substrings.
  • Work with dates — calculate time differences, format dates, determine deadlines.
  • Apply logic — use conditional statements to display different values.
  • Process lists — filter, sort, map, or aggregate list data.

Create a formula property

1

Open the Properties menu

In your base, click Properties in the toolbar.
2

Add a formula

Click Add formula at the bottom of the menu.
3

Name and define the formula

Enter a name for the formula property and type your formula expression in the Formula field.
4

Save

Close the dialog. A green checkmark confirms the formula is valid.
Once created, a formula property works like any other property: add it to views, filter by it, sort by it, and more.

Write a formula

A formula is an expression that combines properties, operators, and functions.

Reference properties

You can reference three types of properties: Examples:

Operators

Arithmetic:
Comparison (return true or false):
Boolean:

Functions

Functions perform operations on values. The available functions depend on the value type. See the full function list in Bases syntax.

Formula examples

Set a project’s due date to 2 weeks after the start date:
Show “Overdue” if the due date has passed and the task isn’t done:
Display a price with two decimal places and a currency symbol:
Count the number of items in a list property:
Combine multiple factors into a single score:
Create a full name from first and last name properties:
Multiply a monthly cost by the number of months, using another formula:

Data types

Formulas work with these data types: The output type of a formula is determined by the data and functions used.

Reference other formulas

Formulas can reference other formula properties to build derived calculations:
A formula cannot reference itself directly or indirectly through other formulas. Circular references will produce an error.