Big Number Calculator

Exact arithmetic on very large numbers and decimals

Add, subtract, multiply, divide, raise to powers and find remainders of huge numbers and long decimals exactly - with no rounding, for numbers with thousands of digits.
Share
Try an example:
Your result will appear here as you type.

About Big Number Calculator

Formula

a × 10⁻ˢ stores each number exactly (a whole, s decimal places)

Worked examples

Two 18-digit numbers

123456789123456789 × 987654321987654321 = 121932631356500531347203169112635269 (36 digits) - exact, where a normal calculator rounds.

How it works

  1. Numbers are stored as exact whole numbers with a decimal position, so 0.1 + 0.2 is exactly 0.3.
  2. Division is worked out to the number of decimal places you choose.

What you need

  • Two numbers of any length (decimals and e-notation are fine).

Tips

  • Try 2 ^ 1000 to see all 302 digits.

Limitations

  • Powers need a whole-number exponent up to 10,000; answers are limited to 20,000 digits.

Runs in your browser. Calculations run in your browser - nothing you enter is sent anywhere.

Definitions

Arbitrary precision
Arithmetic with as many digits as needed.

Frequently asked questions

Why does my phone calculator round big numbers?+

Most calculators store about 15-16 significant digits. This one uses exact integer arithmetic.

Was this calculator helpful?