Category: Calculators

Scientific Calculator

System ideaMissing a tool?

A trig, log and memory calculator that runs in your browser

Evaluate expressions with parentheses, powers, trigonometric and logarithmic functions, and memory keys, in degrees or radians. Runs entirely in your browser, with no eval() involved.

The result will appear here.

Expressions are evaluated by a small parser in your browser — never with eval() — and nothing you type is sent anywhere.

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

This calculator parses whatever you type or tap into an expression tree and evaluates it directly, rather than passing it to eval() or the Function() constructor, so a pasted expression can never run arbitrary code. It supports the standard operators, parentheses, powers, the sin, cos, tan, asin, acos, atan, sqrt, log, ln, exp and abs functions, the constants pi and e, a degrees/radians toggle for trig functions, and a single memory register with M+, M-, MR and MC.

How to use it

  1. Type an expression with the keyboard, or build one by tapping the buttons.
  2. Switch between Degrees and Radians before using a trig function, since it changes how the angle is interpreted.
  3. Press = to evaluate, or use M+, M- MR and MC to add to, subtract from, recall or clear the memory register.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

Is my expression evaluated with eval()?
No. It is parsed into tokens and evaluated by a small recursive-descent parser written for this tool, so it can only compute arithmetic and the listed functions — never arbitrary JavaScript.
What is the difference between the Degrees and Radians toggle?
It changes how sin, cos, tan and their inverses interpret and return angles. Degrees expects and returns 0-360 style values; Radians uses the mathematical convention of 0-2π.
What do M+, M-, MR and MC do?
M+ adds the current result to the memory register, M- subtracts it, MR inserts the stored value into the expression, and MC clears the register back to zero. There is a single register, the same as a physical calculator.