# Binary to Decimal

Learn different methods of converting a binary number into a decimal number.

The C language does not understand the binary number system. Thatâ€™s why if you want to store `10110110`

in **2 bytes** through a C program, we wonâ€™t be able to use these bit patterns directly. So, we need to convert these binary numbers into decimal numbers. This conversion can be done using the following methods:

- Positional notation
- Remember the weight associated with each bit
- Binary to hexadecimal

Letâ€™s discuss these methods one by one.

Get hands-on with 1200+ tech skills courses.