1's complement is used to convert each 0 into 1 and each 1 into 0 in a given number. For example, 1's complement of 0011011 is 1100100. 2's complement is used to get the negative signed number and is formed by adding 1 to the 1's complement. For example,adding one to the previous 1's complement we get 1100101.