Calculator question

What Does Math Error Mean on a Calculator?

Short answer: Math Error means the calculation has no valid real-number result: you divided by zero, took the square root or log of an invalid number, used an angle where tan is undefined, or the result was too big to store. Clear the display, then fix the entry.

The nine most common causes

The right-hand column shows what our scientific calculator reports for the same input. Real calculators word their messages differently, but the cause is the same.

You typedWhy it failsFixThis site says
5 ÷ 0Division by zero is undefined.Check the denominator; it must not be 0.Can't divide by 0
√(−4)Real square roots of negative numbers do not exist.Check the sign, or use a calculator mode that supports complex numbers.Math error — result is not a real number
ln(0)The logarithm of 0 is undefined (it heads to minus infinity).Logs need a positive input.Math error — result is not a real number
log(−5)The logarithm of a negative number is not real.Logs need a positive input.Math error — result is not a real number
tan(90°)tan = sin ÷ cos and cos 90° = 0, so it is undefined.Check the angle, and check DEG/RAD mode.Math error — result is not a real number
sin⁻¹(2)Sine never exceeds 1, so no angle has sin = 2.Inverse sine and cosine need an input from −1 to 1.Math error — result is not a real number
171!The factorial grows too fast: 171! is beyond the largest number a calculator can store.Use smaller n, or scientific notation for estimates.Factorial needs a whole number from 0 to 170
10^400The result is larger than the largest number the calculator can hold (overflow).Rewrite using logarithms or work with exponents.Math error — result is not a real number
2 + × 3Two operators in a row make the expression ambiguous (a syntax error).Check each operator has a number on both sides.Syntax error — check brackets and operators

Casio, TI and phone calculators

Casio scientific calculators show Math ERROR for invalid operations and Syntax ERROR for typing mistakes. Texas Instruments models show names such as ERR:DOMAIN, ERR:DIVIDE BY 0 and ERR:SYNTAX. Phone apps usually show “Error” or “Can’t divide by 0”. All of them are telling you one of the nine things above.

A quick troubleshooting routine

  1. Clear it: press AC or ON.
  2. Break the expression up: enter the inside of brackets first and see which part fails.
  3. Check the domain: square roots and logs need valid inputs; inverse sin and cos need −1 to 1; denominators cannot be 0.
  4. Check the mode: degrees versus radians changes trig results completely. See the unit circle and trigonometry basics.
  5. Add brackets: the order of operations can change what a missing bracket means.

When it is not your fault

Very large results overflow every calculator. If you need an estimate, switch to scientific notation or use logarithms. If an answer looks like a tiny non-zero number where you expected 0, that is floating-point rounding; see why 0.1 + 0.2 is not exactly 0.3.

Frequently asked questions

What does Math Error mean on a calculator?

It means the calculator cannot produce a valid real-number result for what you entered: for example dividing by zero, taking the square root or log of an invalid number, or overflowing the largest value it can store.

How do I fix Math Error?

Press AC or ON to clear it, then check the entry for a zero denominator, a negative inside a square root or log, an angle where tan is undefined, or a result that is too big. Also check that DEG/RAD mode matches your problem.

What is the difference between Math Error and Syntax Error?

A Math Error means the numbers are invalid for the operation (such as 1 ÷ 0). A Syntax Error means the way you typed the expression is invalid (such as two operators in a row or missing brackets).

What do TI calculators show instead?

TI models use names such as ERR:DOMAIN, ERR:DIVIDE BY 0 and ERR:SYNTAX. The causes are the same ones in this table.

Can a wrong angle mode cause an error?

It can cause a wrong answer or an error. sin(30) is 0.5 in degree mode but about −0.988 in radian mode, and tan(90) is undefined in degrees but a normal number in radians.