CalcTrace

Scientific Calculator

Type or tap a whole expression, brackets and all, and the answer appears as you go. It follows the standard order of operations and works in degrees or radians.

Last updated .

Calculator

You can also type with your keyboard. Press Enter for the answer and Esc to clear.

What the keys do

Deg / Rad
Whether angles are in degrees or radians. Check this first for any trig.
xʸ
Raises to a power: 2 xʸ 10 gives 1,024.
√ and ∛
Square root and cube root of what follows in the brackets.
ln and log
Natural logarithm (base e) and common logarithm (base 10).
n!
Factorial of a whole number: 5! is 120.
%
Divides the number before it by 100, so 200 × 15% is 30.
EXP
Scientific notation: 1.5 EXP 3 means 1.5 × 10³.
Ans
The last answer, ready to use in the next sum.
M+ MR MC
Add the current value to memory, recall it, and clear it.
⌫ and AC
Delete the last entry, or clear everything.

A bracket left open at the end is closed for you, so sin(30 works the same as sin(30).

How the calculator reads an expression

A basic calculator works on each key as you press it, so 2 + 3 × 4 gives 20. A scientific calculator reads the whole expression first and applies the standard order of operations, so the same keys give 14. This calculator works the second way. It evaluates in this order:

  1. Brackets, innermost first, including the brackets after a function such as sin( ).
  2. Factorials and percent signs, which attach to the number just before them.
  3. Powers, read from right to left, so 2^3^2 is 2^9 = 512.
  4. A minus sign in front of a number.
  5. Multiplication and division, left to right.
  6. Addition and subtraction, left to right.

2 + 3 × 4 = 2 + 12 = 14   but   (2 + 3) × 4 = 5 × 4 = 20

Multiplication can be left out where it is obvious: 2π means 2 × π, and 3(4 + 1) means 3 × 5.

Worked examples

The long side of a right-angled triangle

For sides of 3 and 4, Pythagoras gives the hypotenuse as the square root of 3² + 4². Enter √(3^2+4^2). The powers are worked out first (9 and 16), then added inside the bracket (25), then the root is taken, giving 5.

Compound growth

$1,000 growing at 5% a year for 10 years is 1000 × 1.05^10. The power is evaluated before the multiplication: 1.05^10 is about 1.628895, and multiplying by 1,000 gives 1,628.89.

An angle from a ratio

If the side opposite an angle is half the hypotenuse, the angle is sin⁻¹(0.5). In degree mode that is 30. In radian mode the same keys give 0.5236, which is π ÷ 6.

Results that surprise people

−2^2 is −4, not 4

The power is applied before the minus sign, so the calculator squares 2 and then negates it. That is the mathematical convention, and it is why −x² and (−x)² are different expressions. To square a negative number, bracket it: (−2)^2 gives 4.

Degrees versus radians

sin(30) is 0.5 in degrees but about −0.988 in radians. A wrong mode is the most common cause of a trig answer that looks nothing like what you expected. Radians are the usual choice in calculus and physics formulas; degrees are usual for surveying, navigation and school geometry.

tan(90°) has no value

The tangent of 90 degrees is undefined, because it means dividing by the cosine of 90 degrees, which is zero. Many calculators show an enormous number there because of rounding. This one reports an error instead.

Tiny rounding errors

Computers store numbers in binary, and most decimals cannot be stored exactly, which is why 0.1 + 0.2 comes out as 0.30000000000000004 in raw form. Answers here are shown to 12 significant figures, which hides that noise but also means the last digits of very long results are rounded.

Limits

The calculator works with real numbers only, so the square root of a negative number or the logarithm of zero is reported as an error. Factorials are limited to whole numbers up to 170, beyond which the result is too large to store. It does not do algebra, fractions or complex numbers.