Skip to content
ToolMug

Scientific Calculator

A scientific calculator you can type a whole expression into or tap with the keypad. It handles trig, logarithms, powers and roots, factorials, combinations and percentages, shows the answer as you type, and keeps a history of results.

Runs in your browser — nothing you enter is uploaded

Trig functions use degrees

History

Calculations you finish with = appear here. Click one to edit it again.

How to use

  1. Type an expression or use the keys, for example 2π × sin(30) + √16. The result appears under the expression as you type.
  2. Trig functions use degrees (DEG) by default. Switch to RAD for radians.
  3. Press = or Enter. The result replaces the expression and is added to the history; use Ans to refer to it in the next calculation.
  4. Click any entry in the history to bring the expression back and edit it.

Options explained

Order of operations
Brackets first, then factorial and percent, then powers, then multiply, divide and mod, then add and subtract. Powers are evaluated right to left, so 2^3^2 = 2^9 = 512, and -2^2 = -4.
Implied multiplication
You can leave out the × between a number and a bracket, constant or function — 2π, 3(1+2) and 2sin(30) all work.
Functions
sin, cos, tan and their inverses; sinh, cosh, tanh; ln, log (base 10; log(8, 2) means base 2), log2, √, cbrt, root(x, n), abs, exp, ncr(n, r), npr(n, r), floor, ceil, round.
Precision
Results are shown to 12 significant digits, so 0.1 + 0.2 shows 0.3. Very large or small numbers use scientific notation, such as 1.84467440737e+19.

Examples

Expression Result
sin(30) + cos(60) 1
log(1000) 3
log(8, 2) 3
5! 120
ncr(5, 2) 10
root(27, 3) 3
17 mod 5 2

Frequently asked questions

Why is sin(30) not 0.5?

Check that the angle unit is DEG. In radians (RAD), sin(30) is the sine of 30 radians, about -0.988.

How does the percent key work?

Percent divides by 100, so 50% is 0.5 and 200 × 15% = 30. Note that 200 + 10% gives 200.1, not 220. To add 10%, write 200 × 1.1 or 200 × (1 + 10%).

How large a factorial can it compute?

Up to 170! (about 7.26 × 10³⁰⁶). Anything larger exceeds double-precision floating point and shows ∞. Factorials work on non-negative integers only.

Why does tan(90) give an error?

The tangent of 90° is undefined (it goes to infinity). In degree mode the calculator reports 90°, 270° and so on as undefined instead of showing a huge approximate number.

Is my history saved?

Only on the current page. It is cleared when you reload and is never uploaded.

Privacy

This tool runs entirely in your browser. Your files and text are processed on your device and are never uploaded to our servers.

Related tools