How to use formulas in Notion databases

Updated · DeskHowTo

In Notion (verified 2026-10-24), open a database > ⋯ / property menu > New property > Formula. In the formula editor, reference other fields (for example prop("Price") * prop("Qty")) and use functions such as if, dateAdd or format.

Start with one clear output (number, checkbox text or date). Fix errors from the editor hints rather than pasting long unverified formulas.

Jump to

Applies to Notion web and desktop databases. Formula language follows Notion’s current formulas (sometimes called Formulas 2.0). Complex formulas can slow very large databases.

Add a useful calculated property

Create a Formula property

  1. Open the database as a full page or inline table.
  2. Add a property > choose Formula.
  3. Name it (e.g. Line total or Days left).

Write a simple expression

  1. Click the formula field to open the editor.
  2. Insert properties from the list (prefer picker over typing names wrong).
  3. Example: multiply two number properties, or if(prop("Done"), "Done", "Open").

Check results

  1. Scan a few rows for expected values.
  2. If you see an error chip, open the editor and fix type mismatches.
  3. Keep one formula per need — chain with extra properties if readability suffers.

Our take: formulas for display math, not a second spreadsheet

If you need pivot-style analysis, export or use a real sheet. Notion formulas shine for per-row status, due-soon flags and simple totals.

If it fails

  • prop() empty: property name must match exactly — use the picker.
  • Type error: you mixed number and text — wrap with format/toNumber as needed.
  • Slow DB: simplify formulas or split views.
  • Old formula syntax: migrate operators to current Notion formula docs.

Frequently asked questions

What is a Notion formula?

A database property that calculates a value from other properties using Notion’s formula language.

How do I add a formula in Notion?

Database > New property > Formula, then edit the expression in the formula editor.

Can formulas use relations?

Yes — you can reach related values; rollups are often simpler for sums/counts across relations.

Formulas vs rollups?

Rollups aggregate related rows; formulas compute from properties on the same row (and can use rollup results).

Do formulas work on Notion mobile?

You can view values on mobile; editing complex formulas is easier on desktop/web.