How to use it
- Type an expression such as 2*(3+4)^2 or use the keypad.
- Choose degrees or radians for trigonometry.
- Press Enter or = to keep the answer in the history. Use Ans to reuse the last answer.
How it works
The expression is read by a small parser written for this page (it never uses eval) and calculated with 50-digit decimal arithmetic. Results are shown to 12 significant digits. Whole numbers below 10^15 are shown exactly.
Order of operations: brackets, then functions, factorials and percent, then powers (right to left, so 2^3^2 = 512), then unary minus (so −2^2 = −4), then multiplication and division, then addition and subtraction. Multiplication can be left out before a bracket, a function or a constant (2π, 3(4+1)), but not between two numbers.
Functions: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, ln (natural log), log (base 10), log2, sqrt (or √), cbrt, abs, exp, floor, ceil, round. Constants: pi (π), e, and ans. The percent sign divides by 100 (50% = 0.5, 200×15% = 30). 1E3 or 2e3 means 1000 or 2000, so write 2*e for twice Euler’s number.
Examples
- sin(30) = 0.5 in degrees mode. sin(pi/2) = 1 in radians mode.
- 5! = 120. sqrt(2) = 1.41421356237. 2^100 = 1.26765060023 × 10^30.
- (1+2)(3+4) = 21.
Limitations
- Results are rounded to 12 significant digits, so very long answers and irrational numbers are approximations.
- Trigonometric results smaller than 10^-35 are shown as 0 (so sin(180°) is 0, not a rounding crumb). tan is reported as undefined at 90°, 270° and so on.
- Factorials are limited to 500! and powers are limited to avoid enormous results. Complex numbers are not supported: sqrt(−1) is an error.
- 0^0 is shown as 1, the usual convention in calculators. This is not a graphing calculator and has no memory keys beyond Ans.
Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].