ADVERTISEMENT

Two's Complement Calculator

To convert decimal or binary to 2's complement, fill required boxes, and hit the calculate button.

ADVERTISEMENT
ADVERTISEMENT

Two’s (2's) complement Calculator

Two's complement calculator can help you calculate the binary value of negative decimals. This two’s complement converter will find two complements of the binary number and convert it to the corresponding negative decimal.

How to convert decimals into binary numbers?

Converting decimals into binary requires effort but it is easy to understand. Let’s consider we want to convert 15 into binary digits.

We’ll first write the powers of two to the closest maximum. In this case 2 to the power of 4. 

Two's

So the binary representation of 15 is “1111” (Verified by AllMath). 

On the other hand, 2's complement calculator can do all processes in less than a minute. Furthermore, you can also convert 2's complement to a decimal using our 2s complement to the decimal tool.

How to find two’s complement of a negative integer?

To find two’s complement of a negative integer, firstly convert its positive integer let’s say “x” to binary form. Then find its one’s complement and add 1 to it. The answer is the binary representation of the negative integer “-x”.

If the method to find two’s complement of a negative integer seems difficult, use the 2s complement calculator to avoid the hassle.

Table:

+ve Integers
Binary
-ve Integers
Binary
0
0000 0000
1
0000 0001
-1
1111 1111
2
0000 0010
-2
1111 1110
3
0000 0011
-3
1111 1101
4
0000 0100
-4
1111 1100
5
0000 0101
-5
1111 1011
6
0000 0110
-6
1111 1010
7
0000 0111
-7
1111 1001
8
0000 1000
-8
1111 1000
9
0000 1001
-9
1111 0111
10
0000 1010
-10
1111 0110
11
0000 1011
-11
1111 0101
12
0000 1100
-12
1111 0100
13
0000 1101
-13
1111 0011
14
0000 1110
-14
1111 0010
15
0000 1111
-15
1111 0001
16
0001 0000
-16
1111 0000
17
0001 0001
-17
1110 1111
18
0001 0010
-18
1110 1110
19
0001 0011
-19
1110 1101
20
0001 0100
-20
1110 1100
21
0001 0101
-21
1110 1011
22
0001 0110
-22
1110 1010
23
0001 0111
-23
1110 1001
24
0001 1000
-24
1110 1000
25
0001 1001
-25
1110 0111
26
0001 1010
-26
1110 0110
27
0001 1011
-27
1110 0101
28
0001 1100
-28
1110 0100
29
0001 1101
-29
1110 0011
30
0001 1110
-30
1110 0010
31
0001 1111
-31
1110 0001
32
0010 0000
-32
1110 0000
33
0010 0001
-33
1101 1111
34
0010 0010
-34
1101 1110
35
0010 0011
-35
1101 1101
36
0010 0100
-36
1101 1100
37
0010 0101
-37
1101 1011
38
0010 0110
-38
1101 1010
39
0010 0111
-39
1101 1001
40
0010 1000
-40
1101 1000
41
0010 1001
-41
1101 0111
42
0010 1010
-42
1101 0110
43
0010 1011
-43
1101 0101
44
0010 1100
-44
1101 0100
45
0010 1101
-45
1101 0011
46
0010 1110
-46
1101 0010
47
0010 1111
-47
1101 0001
48
0011 0000
-48
1101 0000
49
0011 0001
-49
1100 1111
50
0011 0010
-50
1100 1110
51
0011 0011
-51
1100 1101
52
0011 0100
-52
1100 1100
53
0011 0101
-53
1100 1011
54
0011 0110
-54
1100 1010
55
0011 0111
-55
1100 1001
56
0011 1000
-56
1100 1000
57
0011 1001
-57
1100 0111
58
0011 1010
-58
1100 0110
59
0011 1011
-59
1100 0101
60
0011 1100
-60
1100 0100
61
0011 1101
-61
1100 0011
62
0011 1110
-62
1100 0010
63
0011 1111
-63
1100 0001
64
0100 0000
-64
1100 0000
65
0100 0001
-65
1011 1111
66
0100 0010
-66
1011 1110
67
0100 0011
-67
1011 1101
68
0100 0100
-68
1011 1100
69
0100 0101
-69
1011 1011
70
0100 0110
-70
1011 1010
71
0100 0111
-71
1011 1001
72
0100 1000
-72
1011 1000
73
0100 1001
-73
1011 0111
74
0100 1010
-74
1011 0110
75
0100 1011
-75
1011 0101
76
0100 1100
-76
1011 0100
77
0100 1101
-77
1011 0011
78
0100 1110
-78
1011 0010
79
0100 1111
-79
1011 0001
80
0101 0000
-80
1011 0000
81
0101 0001
-81
1010 1111
82
0101 0010
-82
1010 1110
83
0101 0011
-83
1010 1101
84
0101 0100
-84
1010 1100
85
0101 0101
-85
1010 1011
86
0101 0110
-86
1010 1010
87
0101 0111
-87
1010 1001
88
0101 1000
-88
1010 1000
89
0101 1001
-89
1010 0111
90
0101 1010
-90
1010 0110
91
0101 1011
-91
1010 0101
92
0101 1100
-92
1010 0100
93
0101 1101
-93
1010 0011
94
0101 1110
-94
1010 0010
95
0101 1111
-95
1010 0001
96
0110 0000
-96
1010 0000
97
0110 0001
-97
1001 1111
98
0110 0010
-98
1001 1110
99
0110 0011
-99
1001 1101
100
0110 0100
-100
1001 1100
101
0110 0101
-101
1001 1011
102
0110 0110
-102
1001 1010
103
0110 0111
-103
1001 1001
104
0110 1000
-104
1001 1000
105
0110 1001
-105
1001 0111
106
0110 1010
-106
1001 0110
107
0110 1011
-107
1001 0101
108
0110 1100
-108
1001 0100
109
0110 1101
-109
1001 0011
110
0110 1110
-110
1001 0010
111
0110 1111
-111
1001 0001
112
0111 0000
-112
1001 0000
113
0111 0001
-113
1000 1111
114
0111 0010
-114
1000 1110
115
0111 0011
-115
1000 1101
116
0111 0100
-116
1000 1100
117
0111 0101
-117
1000 1011
118
0111 0110
-118
1000 1010
119
0111 0111
-119
1000 1001
120
0111 1000
-120
1000 1000
121
0111 1001
-121
1000 0111
122
0111 1010
-122
1000 0110
123
0111 1011
-123
1000 0101
124
0111 1100
-124
1000 0100
125
0111 1101
-125
1000 0011
126
0111 1110
-126
1000 0010
127
0111 1111
-127
1000 0001
-128
1000 0000
X
icon
AdBlocker Detected!

To calculate result you have to disable your ad blocker first.