HOW IT WORKS
Exact BigInt arithmetic beyond 53-bit limits
Standard 64-bit floating-point numbers lose integer precision above 2⁵³ − 1 = 9,007,199,254,740,991. This calculator evaluates every operation in arbitrary-precision BigInt integer arithmetic so every single digit remains exact.
Exact +, −, and ×
Addition, subtraction, and multiplication preserve all digits regardless of length—for instance, multiplying two 20-digit integers produces the exact 40-digit product without scientific rounding.
Integer division (÷) & modulo (mod)
Division returns the exact integer quotient truncated toward zero alongside the remainder A mod B, satisfying A = (A ÷ B) × B + (A mod B).
Bounded binary exponentiation (A^B)
Powers are computed via O(log B) binary exponentiation for integer exponents 0 ≤ B ≤ 1,000, preventing browser memory exhaustion.
2^100 = 1,267,650,600,228,229,401,496,703,205,376