Table Of Contents
Last updated on March 16th, 2025
It is a simple question on binary to decimal conversion. Firstly, we have to learn about binary numbers and decimals. A binary number is a base-2 numeral system that uses two symbols, typically 0 and 1. In contrast, a decimal is a base-10 numeral system that uses symbols from 0 to 9. Converting a binary number to a decimal involves understanding the position of each bit in the binary number.
10101100 in decimal can be written as 172.
To convert 10101100 in binary to decimal, we will use the positional method. Each digit in the binary number represents a power of 2, starting from the rightmost digit, which is 2^0. Let's see the step-by-step breakdown of the process:
Step 1: Identify each bit's position, starting from the rightmost bit, which is the least significant bit (LSB).
Step 2: For each bit that is 1, calculate its value as 2 raised to the power of its position.
Step 3: Add all these values together to get the decimal equivalent. Here’s the breakdown for 10101100: - The rightmost bit is 0, representing 2^0 = 0.
The next bit is 0, representing 2^1 = 0. The next bit is 1, representing 2^2 = 4.
The next bit is 1, representing 2^3 = 8. The next bit is 0, representing 2^4 = 0.
The next bit is 1, representing 2^5 = 32.
The next bit is 0, representing 2^6 = 0. The leftmost bit is 1, representing 2^7 = 128.
Adding these values gives: 128 + 0 + 32 + 0 + 8 + 4 + 0 + 0 = 172.
Therefore, the decimal equivalent of 10101100 is 172.