One's complement and two's complement codes
For any integers entered by the user, this online calculator displays the integer's binary representation depending on the sign. Positive integers are displayed as is, negative integers are displayed in one's complement and two's complement codes.
This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/748/. Also, please do not modify any references to the original work (if any) contained in this content.
Articles that describe this calculator
One's complement (inverse code)
Two's complement (complement code)
Calculators used by this calculator
URL copied to clipboard
binary numerical system bit complement code inverse code Math numerical system one's complement two's complement Units converters
PLANETCALC, One's complement and two's complement codes