0.1 + 0.2
= 0.3
The exact sum is three tenths.
Add, subtract, multiply, and divide decimals using exact fractions. Avoid floating-point errors such as 0.1 + 0.2.
A decimal is parsed as an integer numerator over a power of ten. Arithmetic operates on those fractions and reduces the result. A reduced fraction has a terminating decimal when its denominator has no prime factors other than two and five; otherwise its decimal expansion repeats.
Decimals are accepted for addition, subtraction, multiplication, division, power, and square. Integer-only operations reject fractional inputs. A precision selector controls rounded displays, not the underlying exact fraction.
Check decimal arithmetic for measurements or financial calculations without introducing binary floating-point artifacts. This tool does not automatically apply currency-specific rounding or accounting rules.
= 0.3
The exact sum is three tenths.
= 10/3
The fraction 10/3 is exact even though its decimal repeats.
Add large integers and exact decimals without floating-point rounding. See every digit of the sum and copy the result in words.
Subtract huge numbers exactly, including negative and decimal values. Find precise differences and inspect every digit.
Multiply very large integers and exact decimals. View the full integer product or exact fraction without floating-point conversion.
Divide large numbers with exact quotients, remainders, and reduced fractions. Inspect rounded decimals separately.
Calculate exact large powers with whole-number exponents, including decimal bases and scientific-notation inputs.
Compute exact factorials from 0 to 50,000. View full integer results, digit counts, and downloadable text.
Find the exact GCD of two large integers. Simplify ratios and test common factors without rounding.
Calculate the exact LCM of large whole numbers. Find common multiples and repeating cycle lengths.
Find the exact integer square root of a large non-negative whole number, rounded down without floating-point errors.
Calculate exact nCr combinations for large whole numbers. Count selections where order does not matter.
Compute exact nPr permutations. Count ordered selections from distinct items without replacement.
Calculate bitwise AND, OR, XOR, and shifts on large integers. Enter hexadecimal, binary, octal, or decimal values.
Calculate with scientific-notation input such as 3.5e19. Parse large and tiny decimal values exactly as written, without floating-point conversion.