Expression Calculator

Type an expression such as 2^10 + sqrt(144) * sin(30) and get the answer. Supports brackets, powers, percentages, constants, trig in degrees or radians, and logs.

Processed on your device. Files are not uploaded

How to calculate an expression

  1. Type your expressions

    One per line, such as 2^10 + sqrt(144).

  2. Choose degrees or radians

    This affects sin, cos and tan.

  3. Read the result

    Every value has its own Copy button.

    Brackets, percentages, constants such as pi and e, logs, factorials, gcd and lcm all work.

Worked example

This is what Expression Calculator gives for its own sample values. Open the tool above and change anything to try your own.

Expressions, one per line

2^10 + sqrt(144)
(5 + 3) * 2 / 4
sin(30)
15% of 200
10 mod 3
log2(1024)
fact(5)
Trig functions use degrees
Yes

Results

2^10 + sqrt(144) = 1036
(5 + 3) * 2 / 4 = 4
sin(30) = 0.5
15% of 200 : "of" is not a function or constant I know.
10 mod 3 : Unexpected "mod".
log2(1024) = 10
fact(5) = 120

About Expression Calculator

Type maths such as 2^10 + sqrt(144) and get the answer. It understands brackets, powers, percentages, constants such as pi and e, trig, logs, factorials, gcd and lcm. Nothing is run as code, so it is safe.

FAQs

Which operators work?

Plus, minus, multiply, divide, power (^ or **), percent and mod.

Why does sin(30) give 0.5?

Degrees is the default. Turn it off to use radians.

Can I work with a list of numbers?

Use Statistics Calculator.

Related tools