Big Number Calculator

Work with whole numbers of hundreds of digits with exact answers. Useful for factorials, powers and cryptography exercises.

How it works

Standard numbers lose precision beyond about 15 digits. This calculator uses arbitrary-precision integers (BigInt) built into your browser, so results are exact however many digits they have.

Quotient and remainder: a = q × b + r with 0 ≤ r < |b|
Power: an for whole n ≥ 0

Worked example

Using the default values: Number A = 123456789012345678901234567890; Operation = A x B; Number B = 987654321098765432109876543210.

The calculator returns: Result: 121932631137021795226185032733622923332237463801111263526900; Number of digits: 60.

Limits and assumptions

  • Only whole numbers are supported. Division gives a whole quotient and remainder.
  • Powers are limited to an exponent of 10,000 and results to 20,000 digits to keep the page responsive.
  • Factorials are limited to 3,000.

Last reviewed: 2026-12-01. Found a mistake? Please use the Contact page and tell us the inputs you used.

Frequently asked questions about the Big Number Calculator

Why are the answers exact?

Because the calculator uses integer arithmetic of unlimited size instead of floating-point numbers.

Can I use decimals?

No. This tool is for whole numbers. For decimals use the Scientific Calculator.

What is a remainder used for?

The remainder (modulo) is used in clock arithmetic, checksums and cryptography.

Advertisement