Skip to content
Press Equals

Big Number Calculator

Exact arithmetic on numbers longer than a 16-digit calculator can hold: 2^64 = 18,446,744,073,709,551,616, every digit shown.

Add, subtract, multiply, divide, raise to a power and take the remainder of numbers with 16, 50 or thousands of digits, exactly, with every digit shown.

Result

Result

12193263113702179522374638011112635269

With commas
12,193,263,113,702,179,522,374,638,011,112,635,269
Scientific notation
1.219326311370218e+37
Digits in the answer
38
Accuracy
Exact, every digit

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

  1. Type the first number. Commas and spaces are ignored, decimals and minus signs are fine, and 6.02e23 works too.
  2. Choose the operation.
  3. Type the second number. For a power it must be a whole number.
  4. 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.

Common questions

Is there an online calculator with more than 16 digits?

Yes. Ordinary calculators and spreadsheets keep about 15 to 17 significant digits. This one works with exact whole numbers and decimals of any length up to 20,000 digits, so 2^64 shows as 18,446,744,073,709,551,616.

Why does my calculator round large numbers?

Most calculators store numbers in floating point, which keeps about 16 significant digits. 9,007,199,254,740,993 is stored as ...992. This calculator does the arithmetic digit by digit, so nothing is rounded except division to the decimal places you choose.

How we check this calculator

  • Tested against 7 reference answers worked from published sources or by hand,such as “2^100 = 1,267,650,600,228,229,401,496,703,205,376”.
  • All 3 worked examples in the article above are run through this calculator, so the two can't disagree.
  • Every input is tried at its smallest and largest values and with random numbers, and must never crash or show a broken number.
  • These checks run automatically before any change goes live.

Spotted a wrong number? Tell us and we'll fix it. See how the calculators are tested.

Updated