Convert Binary Two Complement To Decimal Online

Convert binary two complement to decimal online

Computer Science Concepts: Two's Complement to Decimal - Learn Freely

Decimal to Binary converter

Binary to Decimal conversion ►

How to convert decimal to binary

Conversion steps:

  1. Divide the number by 2.
  2. Get the integer quotient for the next iteration.
  3. Get the remainder for the binary digit.
  4. Repeat the steps until the quotient is equal to 0.

Example #1

Convert 1310 to binary:

Division
by 2
QuotientRemainderBit #
13/2610
6/2301
3/2112
1/2013

So 1310 = 11012

Example #2

Convert 17410 to binary:

Division
by 2
QuotientRemainderBit #
174/28700
87/24311
43/22112
21/21013
10/2504
5/2215
2/2106
1/2017

So 17410 = 101011102

Decimal to binary conversion table

Decimal
Number
Binary
Number
Hex
Number
000
111
2102
3113
41004
51015
61106
71117
810008
910019
101010A
111011B
121100C
131101D
141110E
151111F
161000010
171000111
181001012
191001113
201010014
211010115
221011016
231011117
241100018
251100119
26110101A
27110111B
28111001C
29111011D
30111101E
31111111F
3210000020
64100000040
1281000000080
256100000000100

 


See also

Write how to improve this page

NUMBER CONVERSION
RAPID TABLES