Binary Calculator

Binary Calculator & Bitwise Engine

Perform binary arithmetic, analyze bitwise logic gates, inspect two’s complement, and toggle interactive bits

0b
Dec: 214 | Hex: 0xD6
0b
Dec: 45 | Hex: 0x2D
Binary Output
0000 0001 0000 0011
Decimal: 259 | Hex: 0x0103
Signed Integer (Two’s Comp) +259 Within selected word size
Hexadecimal Equivalent 0x0103 Base 16 representation
Octal (Base 8) 0o403 3-bit grouped notation
Carry / Overflow Status None (Fits in Word) Upper bits retained
0b
Dec: 202
0b
Dec: 175
Bitwise Result
1000 1010
Decimal: 138 | Hex: 0x8A
Bit-by-Bit Logic Alignments
A:
1100 1010
B:
1010 1111
Out:
1000 1010
Set Bits (Hamming Weight) 3 bits Number of active 1s in result
Hamming Distance (A vs B) 3 bits Count of differing bit positions
Enter positive or negative numbers
Interactive 8-Bit Register Switchboard

Click individual bits below to toggle values in real time:

Value: 0b00000000 = 0 (Unsigned) | 0 (Signed) | 0x00
Two’s Complement Binary 1111 1111 1101 0110 True machine binary storage
One’s Complement (Inverted) 1111 1111 1101 0101 Bitwise NOT of positive magnitude
Sign-Magnitude Format 1000 0000 0010 1010 MSB = Sign (1=Neg, 0=Pos)
Hex Representation 0xFFD6 Base 16 memory view