Skip to content

Operators

OperatorBehaviour
+ or plusAdds numbers together
or minusSubtracts the second number from the first
x or * or multiplied byMultiplies numbers together
/ or ÷ or divided byDivides the first number by the second number
^ or ** or to the power ofRaises the first number to the power of the second number
modGives you the remainder after a division
Notes Calculator
Calculation example
CalculationResult
1 plus 12
6 minus 33
2 multiplied by 36
8 divided by 24
2 to the power of 38
11 mod 21

Multiplying by writing values side by side

Section titled “Multiplying by writing values side by side”

A bracketed group written next to a value multiplies it, with or without a space between them:

Notes Calculator
Calculation example
CalculationResult
5 (2+3)25
5(2+3)25
2(3)6
(2+3)(4+5)45
(2)(3)(4)24

It multiplies at the same level as x and /, from left to right, so:

Notes Calculator
Calculation example
CalculationResult
1 + 2 (3)7
6 / 2(3)9
2(3)^218
-2(3)-6

If the brackets don’t contain a calculation they are a note instead, and are ignored: 100 (rent) is 100. See Headings and Comments.

A leading minus applies to the whole power or factorial that follows it, the way it does in maths textbooks and in the system calculator:

Notes Calculator
Calculation example
CalculationResult
-3^2-9
-3!-6
5 * -3^2-45
2^-30,13
-(2+3)-5
- 3 + 52
--33

The typographic minus sign (the one word processors often produce) works everywhere the plain - does, so pasted text calculates:

Notes Calculator
Calculation example
CalculationResult
532
10 +55
3 ×2-6
10 − −515