Skip to content

The basics

The usual operators and plain words both work.

You type Result
5 + 3 8
100 - 42 58
6 * 7 42
144 / 12 12
2 ^ 10 1024
10 / 3 3.333
8 times 9 72
100 divided by 4 25
(10 + 5) * 2 30

per means /: 120 km per hour gives 120.

Give a value a name and use it on any line below. Names are case-sensitive.

price = 120
tax = price * 0.2
total = price + tax → 144

Built-in constants: pi or π (3.14159…), tau or τ (6.28318…) and e (2.71828…).

Variables belong to their sheet: other sheets don’t see them.

Lines starting with // or # are comments. A line of plain text, with no numbers or operators, is a label. Neither shows a result.

prev is the result of the line just above. A blank line or an error resets it.

A Zahl sheet for a household budget: rent, utilities and groceries as variables, their total, then the rent up 5% and prev used to carry the result down to a yearly figure

Type sum, average or mean alone on a line to add up, or average, every number above it, back to the last blank line or the last total.

10 * 5 → 50
8 + 6 → 14
sum → 64
100
200
300
average → 200

Only plain numbers count; amounts in a currency or a unit are left out. Blank lines start a new total, so they also work as separators.

Thousands get commas. With Precision set to Auto in Settings, trailing zeros go and very large or very small numbers are shortened. Choose a fixed number of decimals, 0–8, instead if you prefer.