How it’s calculated
Ordinary calculators and spreadsheets store numbers in floating point with only about 15 to 17 significant digits, so they are only exact up to about 15 digits and then start to round (and show results like 1.2E+30). This calculator uses exact whole-number arithmetic instead, so every digit of the answer is correct, however long it is.
- Add, subtract, multiply: the usual school methods, applied to every digit.
- Divide: gives the whole-number quotient and the remainder, so that divisor × quotient + remainder = the original number.
- Power: a to the power b means multiplying a by itself b times.
- Modulo: the remainder when a is divided by b, always between 0 and |b| − 1.
Example: 99,999,999,999 × 99,999,999,999. Write 99,999,999,999 as 10¹¹ − 1. Then (10¹¹ − 1)² = 10²² − 2 × 10¹¹ + 1 = 9,999,999,999,800,000,000,001, a number with 22 digits. A typical calculator would show 1E+22. Another one: 2 to the power 100 is 1,267,650,600,228,229,401,496,703,205,376 (31 digits).
Whole numbers only. For decimals, use the scientific calculator; for the remainder of a division with decimals, use the modulo calculator.
Frequently asked questions
Why does my phone calculator show an E in big answers?
It stores numbers with only about 15 significant digits and switches to scientific notation beyond that. This tool keeps every digit exact instead.
How big a number can I use?
Each input can have up to 1,000 digits and a result up to 10,000 digits. Exponents go up to 10,000.
How are negative numbers divided?
The quotient is rounded toward zero and the remainder takes the sign of the first number, so −17 ÷ 5 = −3 remainder −2. The modulo option instead always gives a result from 0 up, so −17 mod 5 = 3.
Can I use decimals?
No, this calculator works with whole numbers only so that all results stay exact. A decimal answer from a division can be found with the long division calculator.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Prealgebra 2e, §1.4 Multiply Whole Numbers — OpenStax
- Prealgebra 2e, §1.5 Divide Whole Numbers (quotient and remainder) — OpenStax
- College Algebra 2e, §1.2 Exponents and Scientific Notation — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator