What this calculator does
Ordinary calculators, phones and spreadsheets keep only about 15 to 17 significant digits, so long numbers get rounded. This calculator does the arithmetic digit by digit, so it can add, subtract, multiply, divide, raise to a power and take remainders of numbers with 16, 50 or thousands of digits and show every digit of the answer.
How to use it
- Type the first number. Commas and spaces are ignored, decimals and minus signs are fine, and 6.02e23 works too.
- Choose the operation.
- Type the second number. For a power it must be a whole number.
- For division, choose how many decimal places to show.
How it works
- Add, subtract and multiply are exact, like long arithmetic on paper.
- Divide is worked to the decimal places you choose and rounded half away from zero, unless it ends sooner.
- Power multiplies the number by itself exactly; a negative power is 1 divided by that, to your decimal places.
- Remainder (mod) takes the sign of the second number, the same as the modulo calculator.
Answers of up to 20,000 digits are shown in full, with commas and in scientific notation.
Examples
Example 1: Beyond a 16-digit display. 123,456,789,012,345,678 × 987,654,321 = 121932631124828531222374638, a 27-digit answer that a 16-digit calculator would round.
Example 2: 2 to the 64th power. 2^64, the number of values a 64-bit computer word can hold, is 18,446,744,073,709,551,616.
Example 3: A repeating decimal to 30 places. 1 ÷ 7 = 0.142857142857142857142857142857: the 142857 repeats forever.
Tips
- Floating point can't hold 9,007,199,254,740,993. Most calculators store it as ...992. Here it stays exact.
- 0.1 + 0.2 is exactly 0.3 here, not 0.30000000000000004.
- For trigonometry and logarithms, use the scientific calculator; for powers in scientific notation, the exponent calculator.