Big Number Calculator (Arbitrary Precision)
Add, subtract, multiply, divide and raise very large or very precise numbers exactly, beyond the 15–16 digits ordinary calculators keep.
How to use this calculator
Type two numbers of any length, with or without decimals and a minus sign, choose the operation and press Calculate. Results are exact for addition, subtraction, multiplication and powers; division is carried to the number of decimal places you choose. The result also shows its digit count and scientific notation.
Formula
Numbers are stored as exact integers with a decimal scale (big-integer arithmetic). a × b multiplies the integers and adds the scales. Division scales the dividend by 10^places before integer division and truncates. Powers use repeated squaring.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewIfrahMSc Mathematics
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
Why do normal calculators lose digits?
They use floating-point numbers with about 15–17 significant digits, so large or very precise results are rounded.
How large can the numbers be?
Thousands of digits. Very large powers are limited to results of about 100,000 digits to keep your browser responsive.
Are decimals exact?
Yes for addition, subtraction, multiplication and whole-number powers. Division is truncated after the chosen number of decimal places.
Can I use scientific notation?
Type the full digits, or convert with the Scientific Notation Calculator first.
What is a mod b?
The remainder when a is divided by b, always between 0 and b − 1 here.
Where is arbitrary precision used?
Cryptography, number theory, financial ledgers and checking very large factorials or powers.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Ecma International. (2025). ECMAScript language specification: The BigInt type (ECMA-262). View source
- Graham, R. L., Knuth, D. E., & Patashnik, O. (1994). Concrete mathematics (2nd ed.). Addison-Wesley. View source
- Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
- Hardy, G. H., Wright, E. M., Heath-Brown, D. R., & Silverman, J. H. (2008). An introduction to the theory of numbers (6th ed.). Oxford University Press. View source