About the Big Number Calculator
This browser-based tool calculates very large whole numbers and selected decimal values without uploading your input. Use it for homework checks, programming values, number theory, or calculations that exceed a standard calculator's range.
Choose First number, an operation, Decimal places, and Second number when needed. The page updates instantly as you type, so no calculate button is required. Results include the answer, digit count, scientific notation, and precision.
The calculator stores whole numbers with JavaScript BigInt. It treats a decimal as a whole number plus a decimal-place count, which keeps addition and multiplication predictable. Division uses your chosen decimal places and rounds the final digit half up. You can copy the result or share a link that reopens your numbers. Everything runs in your browser, and the page sends nothing to a server.
How to use it
- 1Enter the First number.
- 2Choose Add, Subtract, Multiply, Divide, Power, Modulo, Factorial, or GCD.
- 3Set Decimal places when the operation uses a decimal result.
- 4Enter the Second number when the selected operation needs one.
- 5Copy the result or share a link after the result updates.
Worked example
Set First number to 2, choose Power, and enter 100 as the Second number. The result is 1267650600228229401496703205376, which has 31 digits.
The formula
Method used: Numbers are stored as exact whole numbers of any length (JavaScript BigInt)A decimal is a whole number with a count of decimal places, so 12.5 is 125 with 1 place; adding lines the places up first, multiplying adds the place countsDivision works to the number of decimal places you choose and rounds the last digit half upPower needs a whole exponent; factorial multiplies 1 x 2 x .x n; modulo returns a remainder with the same sign as the second number; GCD uses Euclid's algorithmCaveat shown on the page: Results are capped at about 100,000 digits and factorials at 20000! so the page stays fastSource: ECMAScript BigInt specification, TC39ECMAScript language specification, TC39. Last checked 4 November 2026.
What it is good for
- Handles whole numbers far beyond ordinary calculator limits.
- Shows the result, digit count, scientific notation, and precision.
- Runs in your browser, with copy and share-link options.
- Results are capped at about 100,000 digits, and factorials are capped at 20000! to keep the page responsive.
- Power requires a whole exponent, and division by zero is not valid.
Questions people ask
What is a big number calculator?
It calculates very long numbers using storage that grows with the number of digits. This helps preserve whole-number results that ordinary floating-point calculators may round.
How do I calculate 2 to the power of 100?
Enter 2 as the First number, choose Power, and enter 100 as the Second number. The exact result is 1267650600228229401496703205376.
What does Decimal places mean?
It sets how many digits appear after the decimal point for division results. The final digit is rounded half up.
What does factorial mean?
Factorial multiplies every whole number from 1 through the selected number. For example, 5! equals 1 x 2 x 3 x 4 x 5, which is 120.
What is GCD?
GCD means greatest common divisor. It finds the largest positive whole number that divides both inputs, using Euclid's algorithm.
Does the calculator upload my numbers?
No. The tool runs in your browser, and your numbers are not uploaded. Results update as you type without a calculate button.
What does modulo return?
Modulo returns the remainder after division. The remainder has the same sign as the second number.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.