Basic and scientific calculator

Type or tap.

Basic arithmetic, percent, power, sqrt, trig, log, ln, factorial, and parentheses. Pure browser; no login.

0
0

Functions: sin, cos, tan, asin, acos, atan, sqrt, log, ln, abs, fact. Parentheses are explicit: type sqrt(9).

A scientific calculator that reads whole expressions

Typing a whole expression is faster and less error-prone than pressing buttons one at a time: you can see the entire calculation, fix a typo in the middle and run it again. This calculator evaluates expressions such as (2 + 3) * 4 or sqrt(16) + 2^10 with the usual rules of mathematics.

It supports the four basic operations, powers, the remainder operator, parentheses and scientific functions: sine, cosine and tangent and their inverses, square root, logarithms, absolute value and factorial. Recent results stay in a list for reference.

How to use it

  1. Type an expression into the box, for example 2 + 3 * 4.
  2. Use ^ for powers, % for the remainder, and parentheses to group.
  3. Call functions by name with the argument in brackets: sqrt(2), sin(1), log(1000), ln(10), abs(-3), fact(5).
  4. Read the result, which updates as you type, and find earlier results under Recent.

Example: order of operations

Input
2+3*4
(2+3)*4
-2^2
2^3^2
Output
14
20
-4
512

Powers bind tighter than the minus sign in front, so -2^2 is -(2²) = -4, and stacked powers are worked out from the right, 2^(3^2).

The rules it follows

Brackets first, then powers, then multiplication, division and remainder from left to right, then addition and subtraction. A leading minus applies after powers but before multiplication, which matches how mathematicians and scientific calculators read -2^2. Note that Excel reads =-2^2 as 4, a well-known difference to keep in mind when you compare results.

Functions and their units

Trigonometric functions use radians, as in programming languages: sin(1) is the sine of one radian, about 0.841. For degrees, multiply by 3.14159265 and divide by 180 first. log is the base-10 logarithm and ln the natural logarithm. fact works for whole numbers from 0 up to 170; beyond that the result is too large for a standard number.

Why 0.1 + 0.2 shows 0.3

Computers store most decimals in binary as approximations, so the raw result of 0.1 + 0.2 is 0.30000000000000004. The calculator rounds its display to 12 significant digits, which removes that noise for everyday use. Results that are not real numbers, such as division by zero or the square root of a negative number, are shown as an invalid expression.

Questions

Does it support pi or e?

Not as names yet. Type 3.14159265358979 for π and 2.71828182845905 for e.

What does % do?

It is the remainder of a division, as in programming: 10 % 4 is 2. For percentages, use the percentage calculator.

Is my history saved?

Recent results stay on the page while it is open and are not sent anywhere.