Discrete Mathematics & Graph Theory
Calculate the ones complement (bitwise NOT) of binary numbers. Perfect for digital logic design and discrete mathematics.
For binary: use only 0s and 1s. For decimal: enter any positive integer
Common values: 4, 8, 16, 32 bits. Determines the output length
Try these examples to understand ones complement operations
Simple 4-bit ones complement calculation
Type: binary
Value: 1010
Bits: 4
Convert decimal to binary and find ones complement
Type: decimal
Value: 85
Bits: 8
Larger binary number ones complement
Type: binary
Value: 1111000011110000
Bits: 16
Large decimal number in 32-bit representation
Type: decimal
Value: 255
Bits: 32