You are on page 1of 2

MATH FOR ELECTRONICS

1. Decimal numbers are all numbers with base or radix sign of 10. These are numbers (0 9).
2. Binary numbers are numbers with base or radix sign of 2. these are strings of 0s and 1s.
3. Hexadecimal numbers it contains an alphanumeric character having a radix sign of 16. it
represents the first six (hexa) letters of alphabet (A-F) and the decimal numbers (0-9).
4. Octal numbers - are numbers with base or radix sign of 8. These are 0 7 base 8.
TABLE OF EQUIVALENCIES
DECIMAL BINARY HEXADECIMAL OCTAL
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111

Conversions:
HEXADECIMAL TO DECIMAL:
10016

0x1
= 256
0 x 16 = 0
1 x 256 = 256
256

5016

0x1
5 x 16

12116

1x1
= 1
2 x 16 = 32
1 x 256 = 256
28910

= 0
= 80
8010

0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F

0
1
2
3
4
5
6
7
10
11
12
13
14
15
16
17

DECIMAL TO HEXADECIMAL:
Result
25610
256 / 16
= 16
16 / 16
= 1
1 / 16
= 0

Remainder
0
0
__1__
10016

8010

80/16
5/16

= 5
= 0

0
___5___
5016

28910

289/16
18/16
1/16

= 18
= 1
= 0

1
2
__ 1___
12116

Note: remainder X 16 = remainder in hexadecimal.

You might also like