Big Number Calculator
Ordinary calculators round after about 15 or 16 digits. This one works with exact whole numbers of any size: 2100 = 1,267,650,600,228,229,401,496,703,205,376, and 30! = 265,252,859,812,191,058,636,308,480,000,000.
| Result | |
| Exact answer | 1,267,650,600,228,229,401,496,703,205,376 |
| Scientific notation | 1.267650 × 10^30 |
| Number of digits | 31 |
Show steps
How to use the big number calculator
- Type or paste whole numbers of any length. Commas, spaces and underscores are ignored.
- Choose the operation: the four operations, powers, modulo, GCD and LCM, factorial, or the digit sum.
- Press Calculate. The full exact answer is in the table, with its digit count and scientific notation.
Why ordinary calculators lose digits
Most calculators and spreadsheets store numbers as 64-bit floating point, which keeps only about 15 to 17 significant digits. Anything longer is rounded: 264 = 18,446,744,073,709,551,616 often shows as 1.8446744 × 1019. This calculator uses arbitrary-precision integers, so every digit is exact.
Some big numbers
| Number | Digits |
|---|---|
| 264 | 20 |
| 2100 | 31 |
| 30! | 33 |
| 100! | 158 |
| A googol, 10100 | 101 |
| 1000! | 2,568 |
The number of digits of a positive whole number N is ⌊log₁₀ N⌋ + 1.
Big number practice questions
Test yourself with 6 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
Quiz complete
Frequently asked questions
How big can the numbers be?
There is no fixed limit for adding and multiplying; the browser handles numbers with many thousands of digits. Powers are limited to answers of about 200,000 digits and factorials to 20,000! so the page stays fast.
Does it work with decimals?
No. It is built for exact whole numbers. For a decimal answer, multiply both numbers by a power of 10 first, or use a regular calculator.
How is the remainder handled for negative numbers?
The remainder is always 0 or more and smaller than |B|, the usual rule in number theory.
Why is 0! equal to 1?
There is exactly one way to arrange zero objects, and defining 0! = 1 keeps formulas such as n! = n × (n − 1)! working for n = 1.
Sources
- IEEE 754 and floating-point precision (Goldberg, What every computer scientist should know about floating-point arithmetic)
- MDN Web Docs: BigInt
Related calculators
Related to This Article
More math articles
- Breathing and Gas Exchange
- Chapter 31: General Elections
- How Political Ideology Shapes Public Policy: Goals and Limits
- GED Social Studies Practice Questions: 10 Skills to Check Before Test Day
- Empirical Rule Calculator (68-95-99.7)
- Race as a Social Construction
- Days Between Dates Calculator
- Algebra Puzzle – Challenge 40
- Payroll Tax Calculator
- Kennedy’s New Frontier and Cold War Development Policy


What people say about "Big Number Calculator: Exact Math With Huge Integers"?
No one replied yet.