Scientific Calculator

Calculate expressions with parentheses, powers, roots, logarithms, and trigonometry in degrees or radians.

Calculations happen locally. We do not send your values to our server.

Example

In degree mode, sin(30) + sqrt(9) gives 3.5. The expression 2^3^2 gives 512.

Calculation method

A restricted expression parser applies parentheses, functions, postfix factorial and percent, powers, unary signs, multiplication and division, then addition and subtraction. Powers associate to the right, so 2^3^2 means 2^(3^2); -2^2 means -(2^2).

Important notes

Results use floating-point arithmetic and display up to 12 significant digits. Percent always divides by 100: 100+10% is 100.1, not 110. This is a real-number calculator, not a symbolic or complex-number solver.

Choose the expression before calculating

Use this calculator when a task combines arithmetic, powers, roots, logarithms or trigonometry. Start by writing the full expression, including multiplication signs and parentheses. For example, the hypotenuse of a right triangle with sides 3 and 4 is sqrt(3^2+4^2), which returns 5. A parenthesized expression makes the intended order easier to check than entering a sequence of intermediate answers.

Read percentages and angle modes correctly

The percent key divides its preceding value by 100. To increase 80 by 15%, enter 80*(1+15%), giving 92. To reduce it by 15%, enter 80*(1-15%), giving 68. For trigonometry, sin(30) in degree mode is 0.5; sin(pi/6) in radian mode is also 0.5. Changing the angle mode changes how the expression is interpreted, so calculate again after changing it.

Interpret numerical limits

The displayed answer is rounded to at most 12 significant digits. This is appropriate for numerical estimates, but it does not prove an identity or provide exact symbolic fractions. Inputs such as sqrt(-1), ln(0) and 1/0 have no supported finite real result. A zero power, including 0^0, follows the calculator’s numerical convention and returns 1; this does not define an indeterminate limit in calculus.

Example · Calculation method
ExampleResult
2^3^2512
-2^2-4
(-2)^24
100+10%100.1
100*(1+10%)110
5!120
ln(e)1

MDN · Number

Frequently asked questions

Which angle mode should I use?

Choose degrees for angles such as 30 or 90, or radians for values involving pi. The mode also controls inverse trigonometric results.

How do I enter multiplication and logarithms?

Write multiplication explicitly, such as 2*pi or 3*(4+5). Use ln(x) for natural logarithms and log(x) for base 10. Functions require parentheses; scientific notation such as 1e-3 is supported.

Why is my expression rejected?

Check syntax and function domains. Division by zero, square roots of negative numbers, nonpositive logarithms, and non-finite results are rejected. Factorials accept integers from 0 to 170; expressions are limited to 300 characters and bounded nesting.

Related tools