# 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.

### Articles that describe this calculator

Range

Binary code

One's complement (inverse code)

Two's complement (complement code)

### Calculators used by this calculator

URL copied to clipboard

#### Similar calculators

**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

## Comments