The Big Number Calculator performs exact arithmetic on whole numbers of any size: addition, subtraction, multiplication, division with remainder, powers, squares, factorials, GCD and LCM.
| X + Y | 1,234,567,890,123,456,789,022,222,222,112,222,222,211 |
| X − Y | 1,234,567,890,123,456,789,002,469,135,690,246,913,569 |
| X × Y | 12,193,263,113,702,179,522,496,570,642,249,657,064,223,746,380,111,126,352,690 |
| X ÷ Y (whole part) | 124,999,998,860,937,500,015 |
| X MOD Y | 4,822,530,750,482,253,075 |
| X² | 1,524,157,875,323,883,675,049,535,156,256,668,194,500,533,455,762,536,198,787,501,905,199,875,019,052,100 |
| GCD | 90,000,000,009 |
| LCM | 135,480,701,249,809,480,124,980,948,012,498,094,801,236,261,410 |
Ordinary calculators and most programming languages store numbers with about 15–17 significant digits, so large values are rounded. Cryptography, number theory, combinatorics and exact accounting need every digit. This calculator uses arbitrary-precision integers, so results are exact however long they are.
X + Y, X − Y and X × Y are exact. Division gives the whole-number quotient and the remainder (MOD). X^Y is shown for exponents up to 2,000, and X! for X up to 500. GCD and LCM use the Euclidean algorithm.
A million is 10⁶, a billion 10⁹ (short scale), a trillion 10¹², a quadrillion 10¹⁵, a googol 10¹⁰⁰. 100! has 158 digits.
Can I use decimals? This tool works with whole numbers; scale decimals by a power of 10.
Why are long results shortened? Very long outputs show the first digits and the digit count.
Are commas allowed? Yes, they are ignored.