Calculator Tools

Scientific Calculator

Trig, logs, powers, and more — all computed safely in your browser.

0
Tip: use ANS to reuse the last result. Trig uses degrees (toggle top-right).
Overview

Scientific Calculator: trig, logs, powers and more — free and in your browser

This scientific calculator handles the full range of mathematical operations you encounter in school, university, or everyday technical work. Beyond the four basic arithmetic operations it supports trigonometric functions (sin, cos, tan), natural logarithm (ln), base-10 logarithm (log), square root (√), arbitrary powers (x^y), squaring (x²), the constants π and e, percentage (%), and sign negation (+/-). Every calculation is performed by a safe, built-in expression parser — no eval() or any code-execution trick is involved.

You can type expressions using the button grid and see a live preview of the result as you build the expression. Press = to confirm and store the answer, then use the ANS button to chain it into the next calculation. The DEG/RAD toggle in the display controls whether sin, cos, and tan interpret their argument in degrees or radians — an essential detail for exam or engineering work.

100% freeNo sign-upRuns in your browserTrig, logs & powers

How to use it

  1. 1Choose DEG or RAD in the display header to set the angle unit for trig functions.
  2. 2Tap digit and operator buttons to build your expression. The live preview updates on each keystroke.
  3. 3For functions like sin or log, press the function button first — it inserts an open parenthesis automatically — then type the argument and close with ).
  4. 4Press = to evaluate. The result appears in the display and is stored as ANS. Press C to reset or ⌫ to delete the last character.

Key features

sin, cos, tan — with DEG/RAD toggle for degrees or radians
ln (natural log) and log (base-10 logarithm)
√ (square root) and x² (squaring) as one-tap shortcuts
xʸ (arbitrary power) for exponentiation like 2^10
π and e constants inserted directly into expressions
% (modulo/percentage) and +/- (sign negate) operators
ANS key to reuse the last computed result in the next expression
Safe expression parser — tokenizer + shunting-yard + RPN evaluator, no eval()
Live result preview as you type
Runs entirely in your browser — nothing is sent to a server

Frequently asked questions

Is this scientific calculator free?
Yes, completely free. There is no sign-up, no account, and no paywall. You can use every function on this page at no cost.
Does it support trig in degrees or radians?
Both. Use the DEG/RAD toggle in the top-right corner of the display. When set to DEG, functions like sin(90) return 1 as expected in degree mode. Switch to RAD to work in radians — sin(π/2) returns 1 in radians.
How is the expression evaluated — is it safe?
Yes. The calculator uses a purpose-built parser: a tokenizer breaks the input into numbers, function names, and operators; a shunting-yard algorithm converts the infix expression to Reverse Polish Notation (RPN); and an RPN evaluator computes the result. There is no use of JavaScript's eval() or new Function(), so no arbitrary code can run.
What happens if I enter an invalid expression?
The display shows 'Error' and the last valid answer (ANS) is preserved. Press C to clear and start a new expression, or press ⌫ to delete the last character and correct the expression.