Big Number Calculator
Work with numbers far beyond what an ordinary calculator can hold.
How to use the Big Number Calculator
- Type or paste A.
- Choose Operation.
- Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
- Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.
Why ordinary calculators lose digits
Most calculators and spreadsheets store numbers in 64-bit floating point, which holds only about 15 to 17 significant digits. Beyond that the extra digits are silently replaced by approximations. Multiply 123456789012345678901234567890 by 987654321098765432109876543210 in a spreadsheet and you get roughly 1.2193 × 10⁵⁹, with the real digits lost. This calculator stores every digit as an exact whole number and keeps track of the decimal point separately, so the full 60-digit answer comes out right.
It also avoids binary rounding quirks with decimals. Here 0.1 + 0.2 is exactly 0.3, not 0.30000000000000004.
Operations
| Operation | How it works |
|---|---|
| + − × | exact, any length, decimals allowed |
| ÷ | long division to the number of decimal places you choose; later digits are cut off |
| A ^ B | B must be a whole number; negative B gives 1 ÷ A^|B| to your chosen precision |
| √A | integer square root by Newton’s method, to your chosen decimal places |
| A mod B | remainder after division, for whole numbers |
| A! | exact factorial up to 5,000! |
| GCD, LCM | Euclidean algorithm; LCM = |A × B| ÷ GCD |
Examples
- 2¹⁰⁰ = 1,267,650,600,228,229,401,496,703,205,376, a 31-digit number.
- 25! = 15,511,210,043,330,985,984,000,000.
- 1 ÷ 7 to 20 places = 0.14285714285714285714, showing the repeating block 142857.
- √2 to 20 places = 1.41421356237309504880.
- GCD(462, 1071) = 21.
Where big numbers turn up
Cryptography relies on multiplying and reducing numbers hundreds of digits long, with mod as the key operation. Combinatorics produces enormous counts: the number of ways to shuffle a deck of cards is 52!, about 8.07 × 10⁶⁷. Exact decimal arithmetic matters in accounting, where rounding errors must not creep in, and in checking the outputs of other programs.
Tips
- You can paste numbers with commas, spaces or underscores; they are ignored. E notation such as 1.5e40 is accepted too.
- Very long results are shown in a scrolling box, with the digit count and a scientific-notation summary above it.
- To keep your browser responsive, results are limited to about 200,000 digits.
Frequently asked questions
How many digits can the calculator handle?
Inputs can be thousands of digits long. Results are capped at about 200,000 digits so your browser stays responsive.
Why does my spreadsheet give a different answer?
Spreadsheets keep only about 15 significant digits, so they round long numbers. This calculator keeps every digit exactly.
Is division exact?
Division is exact up to the number of decimal places you choose, and the digits after that are cut off. Many divisions, like 1 ÷ 3, never end, so some limit is always needed.
What is mod used for?
A mod B is the remainder when A is divided by B. It is used for clock arithmetic, check digits, hashing and public-key cryptography.