Calculate expressions with parentheses, powers, roots, logarithms, and trigonometry in degrees or radians.
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| Example | Result |
|---|
2^3^2 | 512 |
-2^2 | -4 |
(-2)^2 | 4 |
100+10% | 100.1 |
100*(1+10%) | 110 |
5! | 120 |
ln(e) | 1 |
MDN · Number