0xFF XOR 35
= 220
XOR compares a hexadecimal mask against a decimal input.
Calculate bitwise AND, OR, XOR, and shifts on large integers. Enter hexadecimal, binary, octal, or decimal values.
AND retains bits set in both inputs; OR retains bits set in either; XOR retains bits set in exactly one. Left shifts move bits toward higher positions, and right shifts use arithmetic sign extension for negative values.
Inputs must be whole numbers. Hexadecimal uses 0x, binary uses 0b, and octal uses 0o. For shifts, enter a non-negative shift count as the second input. Negative integers follow unbounded two’s-complement semantics, not a fixed-width mask.
Inspect flags and masks, compare integer bit patterns, or test operations beyond 32-bit JavaScript bitwise limits. Use the binary or hex result view to inspect the representation.
= 220
XOR compares a hexadecimal mask against a decimal input.
= 15
AND retains only the low four set bits.
= 1267650600228229401496703205376
A left shift by 100 yields an exact power of two.
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.
Add, subtract, multiply, and divide decimals using exact fractions. Avoid floating-point errors such as 0.1 + 0.2.
Calculate with scientific-notation input such as 3.5e19. Parse large and tiny decimal values exactly as written, without floating-point conversion.