How to Switch from Binary to Hexadecimal System

Table of contents:

How to Switch from Binary to Hexadecimal System
How to Switch from Binary to Hexadecimal System
Anonim

This article will tell you how to convert the binary system (base 2) to the hexadecimal system (base 16). Since both bases are multiples of 2, this procedure is much easier than other more general ways of converting that you will find online.

Steps

Method 1 of 1: Convert the Binary System to Hexadecimal

Convert Binary to Hexadecimal Step 1
Convert Binary to Hexadecimal Step 1

Step 1. Divide the binary number into 4-digit series

Add zeroes at the beginning if needed. For example, write the binary number 11101100101001 as 0011 1011 0010 1001.

Convert Binary to Hexadecimal Step 2
Convert Binary to Hexadecimal Step 2

Step 2. Use the following table to convert each 4-digit binary number string to a single-digit hexadecimal number:

1 (1), 10 (2), 11 (3), 100 (4), 101 (5), 110 (6), 111 (7), 1000 (8), 1001 (9), 1010 (A), 1011 (B), 1100 (C), 1101 (D), 1110 (E) and 1111 (F). The digits in () are the hexadecimal equivalents of the preceding binary number.

Convert Binary to Hexadecimal Step 3
Convert Binary to Hexadecimal Step 3

Step 3. Remove the spaces from the result

You should now have your hex number.

Recommended: