![]() |
![]() |
|
Representation of Numbers in Different Bases |
Created September 26, 2004
Decimal |
Binary |
Hexadecimal* |
0 |
0 |
0h |
1 |
1 |
1h |
2 |
10 |
2h |
3 |
11 |
3h |
4 |
100 |
4h |
5 |
101 |
5h |
6 |
110 |
6h |
7 |
111 |
7h |
8 |
1000 |
8h |
9 |
1001 |
9h |
10 |
1010 |
Ah |
11 |
1011 |
Bh |
12 |
1100 |
Ch |
13 |
1101 |
Dh |
14 |
1110 |
Eh |
15 |
1111 |
Fh |
16 |
10000 |
10h |
100 |
1100100 |
64h |
1000 |
1111101000 |
3E8h |
*It is customary to add an “h” after a hexadecimal number to assure
that readers know that it is hexadecimal number and not an ordinary decimal.
There are many good converts on the Web. To convert a number, use any good
search engine and enter “convert X to Y” substituting for X the
number system that you wish to convert from and for Y the number system that
you wish to convert to. E.g. to convert a decimal to binary enter “convert
decimal to binary.”
For questions or broken links please email the author .
Copyright 2003/2008 Linda Q. Thede
All rights reserved