Scientific Calculator evaluates full math expressions, trigonometry, logarithms, powers, roots, and factorials, the moment you type them, with results updating live as you edit. Enter an expression directly or build one with the on-screen keypad: functions like sin, cos, tan, log, ln, sqrt, abs and exp, parentheses for grouping, the caret for exponents, percent for modulo, and an exclamation mark for factorial. Switch between Degrees and Radians for trig calculations, and reach the constants pi and e with a single tap. Everything runs locally in your browser, so your numbers and formulas never leave your device.
Features
Typed-expression input with a full on-screen scientific keypad
Trig functions sin, cos, tan and their inverses asin, acos, atan
Logarithms: log (base 10) and ln (natural log)
Powers with ^, roots with sqrt, and factorial with !
Degrees/Radians toggle that applies to every trig function
Built-in constants pi and e
Correct operator precedence and parentheses, including nested expressions
Clear error messages for invalid syntax, division by zero, or out-of-range factorials
How to use the Scientific Calculator
Choose Deg or Radians depending on how your angles are given
Type an expression, or tap functions and digits on the keypad to build one
Read the live result below the expression field, or the error if something is off
Copy the expression or the result with the copy button
Example
Input
sin(30) in degrees
Output
0.5
Common errors & troubleshooting
sin(30) returns 0.9999996829... instead of 0.5. — The angle unit is set to Radians. Switch the toggle to Deg so trig functions read the angle in degrees.
The Scientific Calculator shows 'Mismatched parentheses'. — Count the opening and closing parentheses in your expression — every function call like sqrt( needs its own closing ).
5! or 3.5! shows a factorial error. — Factorial is only defined for whole numbers from 0 to 170 — negative numbers and decimals are not valid factorial inputs.
An expression with a bare word like foo(1) fails to evaluate. — Only the built-in functions (sin, cos, tan, asin, acos, atan, log, ln, sqrt, abs, exp) and the constants pi and e are recognized.
Frequently asked questions
What functions does the Scientific Calculator support?
Trigonometry (sin, cos, tan and their inverses asin, acos, atan), logarithms (log for base 10, ln for natural log), sqrt, abs, exp, factorial (!), and the four basic operators plus ^ for powers and % for modulo.
How do I switch the Scientific Calculator between degrees and radians?
Use the Deg/Rad toggle above the expression field. It changes how every trig function (sin, cos, tan, and the inverse trig functions) reads and returns angles.
Does the Scientific Calculator use eval() to run my expression?
No. It tokenizes your expression and converts it to postfix notation with a shunting-yard parser, then evaluates that structure directly — no eval() or Function() is ever called on your input.
Can the Scientific Calculator compute factorials and constants like pi?
Yes. Type ! after a whole number from 0 to 170 for a factorial, and use pi or e anywhere a number is expected for the built-in constants.
Why does the Scientific Calculator show 'Division by zero'?
Any expression that divides or takes the modulo of a value by 0, such as 5/0, has no defined result, so the calculator reports the error instead of returning Infinity or NaN.
Is my expression sent anywhere when I use the Scientific Calculator?
No. Every expression is parsed and evaluated locally in your browser. Nothing you type is uploaded to ArrayKit or any server.
Related tools
Exponent Calculator — Raise a base to any power, including negative and fractional exponents.
Log Calculator — Compute logarithms in any base, plus natural log and log base 10.
Root Calculator — Find square roots, cube roots and any nth root of a number.