A reference list of all operators available for use in Notion formulas.
Operators are symbols that tell Notion's formula engine to perform specific operations.
Here's a very simple example:
2 + 2
The numbers on each side of the
+operator are called operands. Operands are the discrete data objects that are either evaluated or manipulated by the operator.
Operands can be hard-coded:
"Monkey D. Luffy will be " + "King of the Pirates!"
They can also pass data from another database property:
prop("First Name") + prop("Last Name")
You can also mix and match:
prop("First Name") + " " + prop("Last Name") + " will be King of the Pirates!"
Notion's formula editor provides three types of operators:
- 1.Mathematical operators
- 2.Logical operators
- 3.Comparison operators
- 4.Special Operators
Mathematical operators allow you to do math on numbers.
Logical operators return a Boolean value, and often allow you to combine and evaluate multiple expressions.
Notion provides three logical operators.
Comparison operators allow you to compare operands that share a data type.
Notion provides six comparison operators:
Notion also provides two special operators that don't fit neatly into the categories above.
Notion formulas can contain many operators, which can let you solve complex problems.
// Output: true
-((+"5")^2) < 20 - 10 ? true : false
When multiple operators are present in a Notion formula, their order of execution is determined by Notion's operator precedence rules:
My name is Thomas Frank, and I'm a Notion-certified writer, YouTuber, and template creator. I've been using Notion since 2018 to organize my personal life and to run my business and YouTube channel. In addition to this formula reference, I've created a free Notion course for beginners and several productivity-focused Notion templates. If you'd like to connect, follow me on Twitter.