Big Number Calculator
Add, subtract, multiply, divide or raise large integers with BigInt, so no digit is lost to floating point.
Big Number Calculator
Add, subtract, multiply, divide or raise large integers with BigInt, so no digit is lost to floating point.
What the page prints, and what it refuses
Every figure is printed with the rule or formula that produced it, and any numerical tolerance is stated on the result rather than implied. The page refuses an input the formula does not define and names the value it read; it prints no answer it cannot support.
The calculation runs entirely in this browser tab; nothing is uploaded.
The page applies one operation to two whole numbers using BigInt, so a product of twenty-nine digits is printed in full rather than rounded to sixteen significant figures. 12345678901234567890 times 987654321 gives 12193263112482853211126352690, and the digit count is printed beside it.
Division reports a truncated quotient and a remainder, because an integer quotient is a whole number: 17 divided by 5 is 3 remainder 2. Raising to a power is exact too, up to an exponent of 1000 and roughly 5000 resulting digits.
What BigInt changes about the answer
JavaScript numbers are doubles: past 2^53 they can no longer hold every integer, so 12345678901234567890 + 1 would silently equal the original number. This page parses both operands as BigInt, keeps every digit, and never converts back to a double.
BigInt division truncates toward zero, so the page prints the quotient and the remainder separately instead of a decimal. That is the pair a programming language reports, and the check line multiplies them back to the dividend.
How to use Big Number Calculator
Type the first number and the second into their boxes, choose one of the five operations, then press Run.
A result line gives the equation and its value. Division adds the quotient, the remainder and the check; a power adds the digit count.
What to Expect
Best for
- Multiplying or adding integers longer than 16 digits
- Checking a hand calculation exactly
- Getting a product without exponent notation
Not ideal for
- Decimal or fractional arithmetic, which needs a stated rounding rule
- Inputs longer than 200 digits
- A power that would print more than 5000 digits
What this tool keeps
- Both operands, read as exact whole numbers
What may need cleanup
- Nothing: the result is an exact integer
Common errors
- A divisor of zero is refused
- A decimal point in either operand is refused
Example use cases
- Multiply two long identifiers
- Check a 20-digit sum
- Raise 2 to the 100th power exactly
Sample input
12345678901234567890 × 987654321
Sample output
12193263112482853211126352690, with 29 digits
Who this is for
- Students checking long arithmetic
- Programmers testing a BigInt expression
Frequently asked questions
Why is the product not in scientific notation?
Because the result is an exact integer held as BigInt. Exponent notation would hide the digits the visitor asked to compute.
What does division return?
A truncated quotient and a remainder. Integer division has no fractional part, and the check line shows that divisor times quotient plus remainder equals the dividend.
Why is there an exponent limit?
A power is printed in full, so the page stops at exponent 1000 and about 5000 result digits. Beyond that the output would be unreadable rather than wrong.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.