RYU Tools

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

  1. 1Tap the number keys and operators to build the calculation, or type it with your keyboard.
  2. 2Use the function keys for sin, cos, tan, inverses, logs, roots, powers, factorials, pi and e.
  3. 3Switch between Degrees and Radians before using trigonometry keys.
  4. 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.

RYU Tools keeps your work on your own device: no advertising, no third-party tracking and no account. The site only uses the small amount of browser storage needed to work - including remembering this acknowledgement and any accessibility settings you choose. Details are in our Privacy Policy.

Read the policy