Math Calculators

Scientific Calculator

Type or tap a full expression — trig, logs, powers, roots and more, in degrees or radians.

Rate this tool
0

How to use the Scientific Calculator

  1. Type an expression, or tap the keys.
  2. Switch DEG/RAD for trigonometry.
  3. Press = to evaluate; use Ans to reuse the last result.

About the Scientific Calculator

This scientific calculator evaluates a whole expression at once — type it in, or tap it out on the keypad — instead of making you press one operation at a time. Behind the display it runs a safe parser that breaks your input into tokens, reorders them with the shunting-yard algorithm and evaluates the result. It never calls eval(), so nothing you type or paste can run as code. You get + − × ÷, powers (^ and x²), parentheses, unary minus, factorial (!), percent, modulo, the functions sin, cos, tan and their inverses, plus ln, log, sqrt, exp and abs, and the constants π and e.

A DEG/RAD toggle decides whether trigonometry works in degrees (the default) or radians, so sin(30) gives 0.5 with no manual conversion. The result previews live as you type and locks in when you press =, and an Ans key drops the last answer straight into your next calculation. It suits homework, quick engineering checks or anything a basic phone calculator can’t handle. For focused jobs, try the quadratic equation solver or the root calculator.

A couple of honest notes: it works to standard double precision, so answers round to about 12 significant figures and any factorial above 170 overflows to infinity. Here log means base-10 and ln means natural log. Everything runs in your own browser — no expression is ever sent to a server.

Frequently asked questions

Does log mean base-10 or natural log?

On this calculator log is base-10 and ln is the natural log (base e). If you want a natural logarithm, use the ln key; for base-10, use log.

How do I switch between degrees and radians?

Use the DEG/RAD toggle above the keypad. It starts in degrees, so sin(30) gives 0.5. Switch to RAD when your angles are in radians and the trig functions update straight away.

Can anything I type run as code?

No. The calculator uses a safe parser that tokenises your input and evaluates it directly — it never uses eval(), so pasted text cannot execute. Everything also stays inside your browser.

Why does a large factorial show infinity?

It works in standard double-precision floating point. Factorials grow extremely fast, so anything above 170! is larger than that format can hold and is reported as infinity. Results are also rounded to about 12 significant figures.

What does the Ans key do?

Ans inserts your most recent answer into the expression, so you can carry a result into the next calculation without retyping it. Pressing = commits the current expression and updates that stored answer.