How to use
- Type or paste X (and Y for two-number operations). Whole numbers, decimals and E-notation such as 23E18 all work.
- Pick an operation: add, subtract, multiply, divide, power, square root, square, factorial, remainder (mod), GCD or LCM. Set the precision for divisions and roots.
- Read the result digit by digit. It wraps on small screens, and Copy gives plain digits without commas. In India the digits are grouped in lakh and crore.
Formula
Numbers are held as exact whole digits plus a decimal position, so addition, subtraction, multiplication, powers and factorials lose nothing. Division, square roots and negative powers are cut (not rounded) after the chosen number of decimals. Factorial: n! = 1 × 2 × … × n. GCD uses Euclid's method and LCM = X × Y ÷ GCD.Example
2^100 = 1,267,650,600,228,229,401,496,703,205,376 (about 1.27 nonillion). 20! = 2,432,902,008,176,640,000. 1 ÷ 3 to 5 digits is 0.33333.
Powers and factorials are limited to 99,999 so that results stay under a few hundred thousand digits. Everything is calculated in your browser; nothing is sent anywhere.