Number Systems


What is a Positional Number System?


Decimal (Base 10)

The weight of each digit of a decimal number depends on its relative position within the number.

num-systems example

Fractions: Descending place, its magnitude is divided by 10.


Binary (Base 2)

A digit in binary(0 or 1) is also called a bit. Only these two digits are used in binary.

Like a decimal number, the "weight" of each binary digit in a binary number depends on its relative position.

For each ascending place, magnitude grows 2x.


Distinguishing Base 2


Fractions in Base 2


Why Binary?


Hexadecimal Digits

Hexadecimal (Base 16)


Distinguishing Base 16


Fractions (Base 16)


Number System Comparison


Reference

Base 10 Binary (Base 2) Hexadecimal (Base 16)
000000
100011
200102
300113
401004
501015
601106
701117
810008
910019
101010A
111011B
121100C
131101D
141110E
151111F

Notes: