Flip the bits of a binary number and review the complement alongside the decimal values.
Last updated: March 2026 | By ForgeCalc Engineering
Bit-Flipping Steps
Decimal: 170
Complement decimal: 85
One's complement is the bitwise inversion of a binary number. Every 0 becomes 1, and every 1 becomes 0. It is historically important in digital systems and helps explain how binary negation works.
Example: 1010 becomes 0101.
What is the difference between one's and two's complement?
Two's complement is one's complement plus one, and it is the standard signed integer system used today.
How do I represent a negative number?
Invert the bits of the positive number to get its one's complement representation.
Does this calculator accept non-binary characters?
No. Non-binary characters are removed and invalid input is rejected.
Is one's complement used today?
It is mostly historical, but it is still useful when studying low-level binary arithmetic.
Related Tools