Big Number Calculator
Calculate with whole numbers of any size, exactly: addition, subtraction, multiplication, integer division, remainders, powers and factorials. Use it for results with thousands of digits, such as 2^1000 or 500!, that ordinary calculators round.
Frequently asked questions
Which operations are supported?
+, -, * and parentheses, / for integer division, % for the remainder, ^ or ** for powers and ! for factorials. Powers bind tighter than multiplication and are evaluated from right to left.
Why are there no decimals?
The calculator works with exact integers. Division therefore drops the fractional part, like integer division in programming languages; use % to get the remainder.
How large can results get?
Up to about 10,000 digits, or 33,220 bits. That covers 2^33000 and factorials up to about 3,200!.
What is the scientific notation line?
For long results, the leading digits and the power of ten, so you can see the size at a glance.
How are negative numbers handled?
A leading minus works as in normal arithmetic. Division and remainders round towards zero, so -7 / 2 is -3 and -7 % 2 is -1.
Can I use it for cryptography exercises?
Yes, for exploring numbers such as 2^127 - 1. For modular exponentiation with large exponents, keep the intermediate powers within the size limit.