Binary addition
10101010 + 11001100 = 101110110 in binary, or 170 + 204 = 374 in decimal.
Result
Fill in the fields to see your result.
Every operation is computed exactly using arbitrary-precision integers internally, then converted to binary for display, and the decimal equivalent is shown alongside as a cross-check — if you worked the same problem by hand, the decimal figure confirms whether your binary answer is right.
Division uses whole-number (integer) division: the result is truncated, with the leftover shown separately as a remainder, the same convention used for long division.
Each digit represents a power of 2, read right to left: 1, 2, 4, 8, 16, …
10101010 + 11001100 = 101110110 in binary, or 170 + 204 = 374 in decimal.
11111111 in binary is 255 in decimal — eight 1s is the largest value an 8-bit byte can hold.
Binary matches how digital circuits work directly: a bit is either off (0) or on (1), a natural fit for switches and transistors — every other data type a computer handles is ultimately built from binary underneath.
Repeatedly divide by 2 and record the remainders, or find the largest powers of 2 that sum to the number — either method produces the same binary digits, read in reverse order for the division method.
This calculator flags it as an error, since it only represents non-negative binary numbers directly — for a genuinely negative result, note which number is larger and subtract in that order instead.
No practical limit for typical use — the calculator uses arbitrary-precision arithmetic internally, so it stays exact even for very long binary strings.
Updated