Skip to main content

Math calculator

Basic Calculator

Perform everyday arithmetic with two numbers, including addition, subtraction, multiplication, division, powers, and remainders.

Operation

Result

Enter two values to calculate

Supported operations

The calculator supports addition, subtraction, multiplication, division, exponentiation, and the remainder operation. It evaluates exactly one selected operation between the two entered values, which keeps the calculation explicit and avoids ambiguous expression precedence.

Division and remainder by zero

Division by zero and a remainder calculation with a zero divisor are undefined, so the calculator rejects those inputs instead of displaying Infinity or NaN.

Powers and large values

Exponentiation can grow quickly. If a finite pair of inputs produces a result outside JavaScript’s finite number range, the calculator reports that the result cannot be represented rather than displaying an invalid value.

Remainder versus percentage

The % operation on this page is the remainder after division, often called modulo in everyday calculator software. It is different from calculating a percentage. Use Tooliyapa’s Percentage Calculator for percent-of, percentage change, or increase/decrease questions.

Frequently asked questions

Can I use negative numbers and decimals?

Yes. Any finite number is accepted, subject to operation-specific restrictions such as a non-zero divisor.

Why are long floating-point results shortened?

Display formatting removes unnecessary floating-point noise while retaining useful significant digits.