Scientific Calculator
A full scientific calculator with brackets, powers, roots, trigonometry, logarithms, factorials and constants.
Calculation
Tap the keys, or use your keyboard.
0
= ...
Result
-
Type or tap a calculation to see the result.
Angle unit
Trigonometry keys read the mode you pick here.
sin(30) in degrees is 0.5, while in radians the same expression is -0.988.
Supported
Everything the parser understands.
+ - * / ^ ! ( ) sin cos tan sin⁻¹ cos⁻¹ tan⁻¹ ln log log₂ √ abs eˣ π e
The expression is read by a parser written in this page - nothing is ever run as code.
How to use Scientific Calculator
- 1Tap the number keys and operators to build the calculation, or type it with your keyboard.
- 2Use the function keys for sin, cos, tan, inverses, logs, roots, powers, factorials, pi and e.
- 3Switch between Degrees and Radians before using trigonometry keys.
- 4Press = to replace the calculation with its result and keep going, or Backspace to correct a digit.
Frequently asked questions
Does the calculator use eval on what I type?
No. The expression is read by a parser written into the page, which understands numbers, brackets, operators and the listed functions. Nothing you type is ever run as code.
Why does tan(90) report an error rather than a huge number?
The tangent of 90 degrees is not defined - the value runs off towards infinity from both sides. The calculator reports that instead of printing an enormous number.
How precise is the result?
Calculations run at full double precision and the answer is displayed with up to 12 significant digits, so 1/3 shows as 0.333333333333 rather than a rounded 0.33.
Related tools
More calculators you might find useful.
Percentage Calculator
Work out a percentage of a number, what share one number is of another, and percentage increases or decreases.
Open toolFraction Calculator
Add, subtract, multiply and divide fractions, with the answer reduced to its simplest form and shown as a decimal.
Open toolNumber Base Converter
Convert whole numbers between binary, octal, decimal and hexadecimal, with all four bases shown at once.
Open tool