Scientific Calculator

In degree mode sin(30) = 0.5. Also √144 = 12, 2^10 = 1024 and 5! = 120.

Did this solve your problem?
Prefer us on Google

How to use

  1. Type an expression with your keyboard or tap the keypad. The answer shows as you type, and = puts the result back in the box.
  2. Pick Deg or Rad before using sin, cos, tan and their inverses.
  3. Use Ans to reuse the last result, ⌫ to delete one character and C to clear.

How it works

The calculator reads your expression with its own parser and follows the usual order: brackets, then factorial and percent, then powers, then multiplication and division, then addition and subtraction. Nothing is evaluated as code.

Powers are right-associative, so 2^3^2 is 2^(3^2) = 512, and -2^2 is -4. Multiplication can be left out before a bracket, constant or function: 2π, 3(4+1) and 2sin(30) all work.

log is base 10 and ln is the natural logarithm. asin, acos and atan return an angle in the selected unit. π is 3.14159... and e is 2.71828...

Results are shown with up to 12 significant digits. Tiny trigonometric rounding noise such as sin(180°) = 1.2e-16 is shown as 0.

Functions and symbols

InputMeaningExample
sin( cos( tan(Trigonometric functions in Deg or Radsin(30) = 0.5 in degrees
asin( acos( atan(Inverse trigonometric functionsatan(1) = 45 in degrees
log( ln(Base 10 and natural logarithmlog(1000) = 3
√( or sqrt(Square root√144 = 12
^Power2^10 = 1024
!Factorial of a whole number up to 1705! = 120
%Divide by 10050% = 0.5
abs(Absolute valueabs(-7.5) = 7.5

FAQ

How do I switch between degrees and radians?

Use the Deg and Rad buttons above the box. It affects sin, cos, tan and the inverse functions. A full circle is 360 degrees or 2π radians.

Why does tan(90) show an error?

The tangent of 90 degrees is undefined because cos(90°) is 0. The same goes for 270 and any 90 plus a multiple of 180.

What is the biggest factorial it can compute?

170!, about 7.26e306. Larger factorials overflow what a normal number can hold. The Permutation and combination calculator uses exact big integers instead.

Is it safe to type anything into it?

Yes. Your input is parsed as plain math, never run as code, and it stays in your browser. Unknown words simply give a syntax error.