Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Big number calculator

Do exact arithmetic on very large numbers and long decimals, with every digit shown. Paste numbers with up to 10,000 digits.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Is your big number prime? Check it with the prime number checker. Need it in scientific notation? Try the scientific notation calculator.

Why ordinary calculators round big numbers

Most calculators and spreadsheets store numbers as 64-bit floating point, which keeps only about 15 to 17 significant digits. The largest whole number they can hold exactly is 9,007,199,254,740,991 (2⁵³ − 1). Past that, digits are silently lost: a spreadsheet shows 2⁶⁴ as 1.84467E+19, and many programs print 18446744073709552000 instead of the exact 18,446,744,073,709,551,616.

This calculator works on the digits themselves, using your browser's arbitrary-precision integers (BigInt). Decimals are stored as a whole number plus a count of decimal places, so 0.1 + 0.2 is exactly 0.3.

How each operation works

a ÷ b → quotient q and remainder r with a = q × b + r, plus the decimal to the places you choose
a mod b = a − b × floor(a ÷ b)
n! = n × (n − 1) × … × 2 × 1
  • Divide gives the whole-number quotient and remainder for whole numbers, and the decimal answer to up to 1,000 places, rounded half up at the last place.
  • Power takes whole-number exponents. Negative exponents give 1 ÷ aⁿ as a decimal.
  • Mod follows the math convention: the remainder has the same sign as b, so −7 mod 3 = 2. The truncated remainder used by C and JavaScript (−1) is shown when it differs.
  • Factorial goes up to 10,000!, which has 35,660 digits.

Worked examples

  • 2²⁵⁶ = 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129,639,936 (78 digits). That's the number of possible 256-bit keys.
  • 100! has 158 digits. It starts 93326215443944152681… and ends in 24 zeros.
  • 1 ÷ 7 to 30 places = 0.142857142857142857142857142857.

Limits

  • Inputs up to 10,000 digits each; powers up to 100,000 digits of output; factorials up to 10,000!. These caps keep the page from freezing on a phone.
  • Mod, factorial and GCD need whole numbers.
  • Square roots and other irrational results aren't exact in any finite number of digits; use the square root calculator for those.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • (−2)² = 4 is shown with parentheses ✓
  • 2²⁵⁶, all 78 digits ✓
  • 0.1 + 0.2 = 0.3 exactly ✓
  • 100! has 158 digits ✓
  • 1 ÷ 7 to 30 places ✓
  • −7 mod 3 = 2 ✓
  • Dividing by zero is caught ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

What is 2 to the power of 64?

18,446,744,073,709,551,616. That's 20 digits, too many for most calculators to show exactly.

How many digits does 100 factorial have?

158 digits. It ends in 24 zeros, one for each factor of 5 in 1 to 100 (20 multiples of 5, plus 4 more from 25, 50, 75 and 100).

Why does my calculator show 1E+20 instead of the full number?

It stores only about 15 to 17 significant digits and switches to E notation for big values. Enter the number here to see every digit.

Why is 0.1 + 0.2 not 0.3 on some computers?

0.1 and 0.2 can't be stored exactly in binary, so the sum comes out as 0.30000000000000004. This calculator uses decimal digits, so the answer is exactly 0.3.

Related calculators