Empowering a brighter world through superior education is our commitment.

Online Calculators & Tools

Decimal to Binary converter

10
2
2
16

Little endian

Address
Data

Big endian

Address
Data

Decimal to binary calculation steps

Divide by the base 2 to get the digits from the remainders:

Division
by 2
Quotient

Remainder

(Digit)
Bit #

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.
Division
by 2
QuotientRemainderBit #
13/2610
6/2301
3/2112
1/2013

So 1310 = 11012

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