Octal to Binary Conversion Examples
Octal to Binary Conversion is an important topic in number system conversion used in computer science, programming, and digital electronics. It helps students understand how base-8 numbers can be easily converted into base-2 using a direct 3-bit mapping technique. This concept is widely used in memory addressing, digital systems, and low-level computing operations.
In this article, we will discuss octal to binary conversion examples and some examples of the fractional part as well. Let’s start
Understanding Octal to Binary Conversion
Octal to binary conversion is a quick and efficient method because each octal digit directly corresponds to a 3-bit binary number. This makes it easier to convert large numbers without complex calculations. The list of important concepts and steps is given below:
1. What is Octal Number System?
The octal number system is a base-8 number system that uses digits from 0 to 7. It is widely used in computing as a compact representation of binary numbers.
- Base: 8
- Digits: 0, 1, 2, 3, 4, 5, 6, 7
- Each position represents powers of 8
2. What is Binary Number System?
The binary number system is a base-2 number system used internally by computers. It uses only two digits, making it ideal for digital systems.
- Base: 2
- Digits: 0 and 1
- Each position represents powers of 2
3. Relationship Between Octal and Binary
Octal and binary are closely related because 8 is equal to 2Β³. This means each octal digit can be directly converted into a 3-bit binary equivalent.
- 1 octal digit = 3 binary bits
- No division or multiplication required
- The direct substitution method is used
Octal to Binary Conversion Methods
There are two main methods for converting octal to binary:
1. Octal to Binary Conversion using Standard Table
In this method, each octal digit is directly converted into its equivalent 3-bit binary form using a standard conversion table.

2. Octal to Binary Conversion using the Decimal Number System
In this method, the octal number is first converted into a decimal number, and then the decimal number is converted into binary.
Β 
Let’s explain both methods with examples
1. Octal to Binary Conversion Using Standard Table
The octal to binary conversion table helps students quickly map each octal digit to its binary equivalent. This table is essential for solving problems efficiently.
The list of octal digits and their binary equivalents is given below:

Steps for Octal to Binary Conversion
Octal to binary conversion is a simple process based on direct substitution, where each octal digit is converted into a 3-bit binary value. This method is widely used in computer science for fast and accurate conversion between number systems. The step-by-step process with a simple example is given below.
Step 1: Write the Given Octal Number
Start by writing the octal number clearly, ensuring each digit is separated if needed.
- Example: (25)β
Step 2: Convert Each Octal Digit into 3-bit Binary
Replace each octal digit with its corresponding 3-bit binary equivalent using the standard table.
- 2β = 010β
- 5β = 101β
Step 3: Combine All Binary Groups
Join all the binary groups together to form the final binary number.
- 010β + 101β = 010101β
Step 4: Remove Leading Zeros (If Required)
Remove unnecessary leading zeros to simplify the final binary result.
- 010101β = 10101β
Examples are the best way to understand octal to binary conversion in a practical and exam-oriented manner. Below are solved examples with step-by-step explanations.
The list of solved examples is given below:
Example 1: Convert (25)β to Binary
Solution:
The following diagram shows the conversion of the octal number (25)β into its equivalent binary

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (25)β
- The binary of 2β is 010β
- The binary of 5β is 101β
By joining all the binary groups together to form the final binary number. So, the final result is (25)β = 010101β
Example 2: Convert (64)β to Binary
Solution:
The following diagram shows the conversion of the octal number (64)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (64)β.
- The binary of 6β is 110β
- The binary of 4β is 100β
By joining all the binary groups together to form the final binary number.Β So, the final result is (64)β = 110100β
Example 3: Convert (67)β to Binary
Solution:
The following diagram shows the conversion of the octal number (67)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (67)β.
- The binary of 6β is 110β
- The binary of 7β is 111β
By joining all the binary groups together to form the final binary number.Β So, the final result is (67)β = 110111β
Example 4: Convert (77)β to Binary
Solution:
The following diagram shows the conversion of the octal number (77)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (77)β.
- The binary of 7β is 111β
- The binary of 7β is 111β
By joining all the binary groups together to form the final binary number.Β So, the final result is (77)β = 111111β
Example 5: Convert (127)β to Binary
Solution:
The following diagram shows the conversion of the octal number (127)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (127)β.
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 7β is 111β
By joining all the binary groups together to form the final binary number.Β So, the final result is (127)β = 001010111β
Example 6: Convert (305)β to Binary
Solution:
The following diagram shows the conversion of the octal number (305)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (305)β.
- The binary of 3β is 011β
- The binary of 0β is 000β
- The binary of 5β is 101β
By joining all the binary groups together to form the final binary number.Β So, the final result is (305)β = 011000101β
Example 7: Convert (777)β to Binary
Solution:
The following diagram shows the conversion of the octal number (777)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (777)β.
- The binary of 7β is 111β
- The binary of 7β is 111β
- The binary of 7β is 111β
By joining all the binary groups together to form the final binary number.Β So, the final result is (777)β = 111111111β
Example 8: Convert (452)β to Binary
Solution:
The following diagram shows the conversion of the octal number (452)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (452)β.
- The binary of 4β is 100β
- The binary of 5β is 101β
- The binary of 2β is 010β
By joining all the binary groups together to form the final binary number.Β So, the final result is (452)β = 100101010β
Example 9: Convert (100)β to Binary
Solution:
The following diagram shows the conversion of the octal number (100)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (100)β.
- The binary of 1β is 001β
- The binary of 0β is 000β
- The binary of 0β is 000β
By joining all the binary groups together to form the final binary number.Β So, the final result is (100)β = 001000000β
Example 10: Convert (735)β to Binary
Solution:
The following diagram shows the conversion of the octal number (735)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (735)β.
- The binary of 7β is 111β
- The binary of 3β is 011β
- The binary of 5β is 101β
By joining all the binary groups together to form the final binary number.Β So, the final result is (735)β = 111011101β
Example 11: Convert (1234)β to Binary
Solution:
The following diagram shows the conversion of the octal number (1234)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (1234)β.
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 3β is 011β
- The binary of 4β is 100β
By joining all the binary groups together to form the final binary number.Β So, the final result is (1234)β = 001010011100β
Example 12: Convert (5670)β to Binary
Solution:
The following diagram shows the conversion of the octal number (5670)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (5670)β.
- The binary of 5β is 101β
- The binary of 6β is 110β
- The binary of 7β is 111β
- The binary of 0β is 000β
By joining all the binary groups together to form the final binary number.Β So, the final result is (5670)β = 101110111000β
Example 13: Convert (70125)β to Binary
Solution:
The following diagram shows the conversion of the octal number (70125)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (70125)β.
- The binary of 7β is 111β
- The binary of 0β is 000β
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 5β is 101β
By joining all the binary groups together to form the final binary number.Β So, the final result is (70125)β = 111000001010101β
Example 14: Convert (34567)β to Binary
Solution:
The following diagram shows the conversion of the octal number (34567)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (34567)β.
- The binary of 3β is 011β
- The binary of 4β is 100β
- The binary of 5β is 101β
- The binary of 6β is 110β
- The binary of 7β is 111β
By joining all the binary groups together to form the final binary number.Β So, the final result is (34567)β = 011100101110111β
Example 15: Convert (120345)β to Binary
Solution:
The following diagram shows the conversion of the octal number (120345)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (120345)β.
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 0β is 000β
- The binary of 3β is 011β
- The binary of 4β is 100β
- The binary of 5β is 101β
By joining all the binary groups together to form the final binary number.Β So, the final result is (120345)β = 001010000011100101β
Example 16: Convert (7654321)β to Binary
Solution:
The following diagram shows the conversion of the octal number (7654321)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (7654321)β.
- The binary of 7β is 111β
- The binary of 6β is 110β
- The binary of 5β is 101β
- The binary of 4β is 100β
- The binary of 3β is 011β
- The binary of 2β is 010β
- The binary of 1β is 001β
By joining all the binary groups together to form the final binary number.Β So, the final result is (7654321)β = 111110101100011010001β
Example 17: Convert (12345670)β to Binary
Solution:
The following diagram shows the conversion of the octal number (12345670)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (12345670)β.
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 3β is 011β
- The binary of 4β is 100β
- The binary of 5β is 101β
- The binary of 6β is 110β
- The binary of 7β is 111β
- The binary of 0β is 000β
By joining all the binary groups together to form the final binary number.Β So, the final result is (12345670)β = 001010011100101110111000β
Example 18: Convert (70123456)β to Binary
Solution:
The following diagram shows the conversion of the octal number (70123456)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (70123456)β.
- The binary of 7β is 111β
- The binary of 0β is 000β
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 3β is 011β
- The binary of 4β is 100β
- The binary of 5β is 101β
- The binary of 6β is 110β
By joining all the binary groups together to form the final binary number.Β So, the final result is (70123456)β = 111000001010011100101110β
Example 19: Convert (765401234)β to Binary
Solution:
The following diagram shows the conversion of the octal number (765401234)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (765401234)β.
- The binary of 7β is 111β
- The binary of 6β is 110β
- The binary of 5β is 101β
- The binary of 4β is 100β
- The binary of 0β is 000β
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 3β is 011β
- The binary of 4β is 100β
By joining all the binary groups together to form the final binary number.Β So, the final result is (765401234)β = 111110101100000001010011100β
Example 20: Convert (1234567012)β to Binary
Solution:
The following diagram shows the conversion of the octal number (1234567012)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (1234567012)β.
- The binary of 1β is 001β
- The binary of 2β is 010β
- The binary of 3β is 011β
- The binary of 4β is 100β
- The binary of 5β is 101β
- The binary of 6β is 110β
- The binary of 7β is 111β
- The binary of 0β is 000β
- The binary of 1β is 001β
- The binary of 2β is 010β
By joining all the binary groups together to form the final binary number.Β So, the final result is (1234567012)β = 001010011100101110111000001010β
Fractional Octal to Binary Conversion Examples
Here are 10 examples of Fractional Octal to Binary conversions
Example 21: Convert (17.35)β to Binary
Solution:
The following diagram shows the conversion of the octal number (17.35)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (17.35)β.
The binary of 1β is 001β
The binary of 7β is 111β
The binary of 3β is 011β
The binary of 5β is 101β
By joining all the binary groups together to form the final binary number. So, the final result is (17.35)β = 001111.011101β
Example 22: Convert (245.7)β to Binary
Solution:
The following diagram shows the conversion of the octal number (245.7)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (245.7)β.
The binary of 2β is 010β
The binary of 4β is 100β
The binary of 5β is 101β
The binary of 7β is 111β
By joining all the binary groups together to form the final binary number. So, the final result is (245.7)β = 010100101.111β
Example 23: Convert (603.14)β to Binary
Solution:
The following diagram shows the conversion of the octal number (603.14)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (603.14)β.
The binary of 6β is 110β
The binary of 0β is 000β
The binary of 3β is 011β
The binary of 1β is 001β
The binary of 4β is 100β
By joining all the binary groups together to form the final binary number. So, the final result is (603.14)β = 110000011.001100β
Example 24: Convert (7521.63)β to Binary
Solution:
The following diagram shows the conversion of the octal number (7521.63)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (7521.63)β.
The binary of 7β is 111β
The binary of 5β is 101β
The binary of 2β is 010β
The binary of 1β is 001β
The binary of 6β is 110β
The binary of 3β is 011β
By joining all the binary groups together to form the final binary number. So, the final result is (7521.63)β = 111101010001.110011β
Example 25: Convert (13467.25)β to Binary
Solution:
The following diagram shows the conversion of the octal number (13467.25)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (13467.25)β.
The binary of 1β is 001β
The binary of 3β is 011β
The binary of 4β is 100β
The binary of 6β is 110β
The binary of 7β is 111β
The binary of 2β is 010β
The binary of 5β is 101β
By joining all the binary groups together to form the final binary number. So, the final result is (13467.25)β = 001011100110111.010101β
Example 26: Convert (567012.4)β to Binary
Solution:
The following diagram shows the conversion of the octal number (567012.4)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (567012.4)β.
The binary of 5β is 101β
The binary of 6β is 110β
The binary of 7β is 111β
The binary of 0β is 000β
The binary of 1β is 001β
The binary of 2β is 010β
The binary of 4β is 100β
By joining all the binary groups together to form the final binary number. So, the final result is (567012.4)β = 101110111000001010.100β
Example 27: Convert (701234.56)β to Binary
Solution:
The following diagram shows the conversion of the octal number (701234.56)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (701234.56)β.
The binary of 7β is 111β
The binary of 0β is 000β
The binary of 1β is 001β
The binary of 2β is 010β
The binary of 3β is 011β
The binary of 4β is 100β
The binary of 5β is 101β
The binary of 6β is 110β
By joining all the binary groups together to form the final binary number. So, the final result is (701234.56)β = 111000001010011100.101110β
Example 28: Convert (123456.07)β to Binary
Solution:
The following diagram shows the conversion of the octal number (123456.07)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (123456.07)β.
The binary of 1β is 001β
The binary of 2β is 010β
The binary of 3β is 011β
The binary of 4β is 100β
The binary of 5β is 101β
The binary of 6β is 110β
The binary of 0β is 000β
The binary of 7β is 111β
By joining all the binary groups together to form the final binary number. So, the final result is (123456.07)β = 001010011100101110.000111β
Example 29: Convert (7654321.3)β to Binary
Solution:
The following diagram shows the conversion of the octal number (7654321.3)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (7654321.3)β.
The binary of 7β is 111β
The binary of 6β is 110β
The binary of 5β is 101β
The binary of 4β is 100β
The binary of 3β is 011β
The binary of 2β is 010β
The binary of 1β is 001β
The binary of 3β is 011β
By joining all the binary groups together to form the final binary number. So, the final result is (7654321.3)β = 111110101100011010001.011β
Example 30: Convert (45670123.76)β to Binary
Solution:
The following diagram shows the conversion of the octal number (45670123.76)β into its equivalent binary.

Description:
By replacing each octal digit with its corresponding 3-bit binary equivalent using the standard table, we get the binary of (45670123.76)β.
The binary of 4β is 100β
The binary of 5β is 101β
The binary of 6β is 110β
The binary of 7β is 111β
The binary of 0β is 000β
The binary of 1β is 001β
The binary of 2β is 010β
The binary of 3β is 011β
The binary of 7β is 111β
The binary of 6β is 110β
By joining all the binary groups together to form the final binary number. So, the final result is (45670123.76)β = 100101110111000001010011.111110β
2. Octal to Binary Conversion (Using Decimal Number System)
This method has two main Steps:
Step 1: Convert Octal to Decimal
- Write the given octal number
- Start from the rightmost digit
- Multiply each digit by powers of 8:
- Rightmost digit β Γ 8β°
- Next digit β Γ 8ΒΉ
- Next β Γ 8Β² and so on
- Add all the results
The sum is your decimal number
For Fractional Part (if present)
|
Step 2: Convert Decimal to Binary
- Take the decimal number
- Divide it by 2
- Write down the remainder
- Repeat division until the quotient becomes 0
- Write remainders in reverse order
Β This gives the binary result
Fractional Part (if present)For decimal fractions, use the multiplication by 2 method to convert it into decimal
Write the collected digits in the same order |
Example 01: Convert (12.3)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (12)8 Conversion
(12)8 =1 Γ 8ΒΉ + 2 Γ 8β°
(12)8Β = 8 + 2
(12)8Β = (10)10
Fractional Part (.3)8 Conversion
(0.3)8Β = 3 Γ 8β»ΒΉ = 3/8 = (0.375)10
Combine the integer and the fractional Part
(12)8 + (0.3)8Β = (10)10 + (0.375)10
(12.3)8 = (10.375)10
Step 2: Convert Decimal to Binary
Integer Part (10)10 Conversion
10 Γ· 2 = 5 remainder 0
5 Γ· 2 = 2 remainder 1
2 Γ· 2 = 1 remainder 0
1 Γ· 2 = 0 remainder 1
(10)10 = (1010)2
Fractional Part (0.375)10 Conversion
0.375 Γ 2 = 0.75 β 0
0.75 Γ 2 = 1.5 β 1
0.5 Γ 2 = 1.0 β 1
(0.375)10 = (.011)2
Combine the integer and the fractional Part
(10.375)10 = (1010.011)β
Hence, the given octal (12.3)β is converted to binary (1010.011). so we can write
(12.3)β = (10.375)ββ = (1010.011)β
Example 02: Convert (25.4)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (25)β Conversion
(25)β = 2 Γ 8ΒΉ + 5 Γ 8β°
(25)β = 16 + 5
(25)β = (21)ββ
Fractional Part (.4)β Conversion
(0.4)β = 4 Γ 8β»ΒΉ = 4/8 = (0.5)ββ
Combine the integer and the fractional Part
(25)β + (0.4)β = (21)ββ + (0.5)ββ
(25.4)β = (21.5)ββ
Step 2: Convert Decimal to Binary
Integer Part (21)ββ Conversion
21 Γ· 2 = 10 remainder 1
10 Γ· 2 = 5 remainder 0
5 Γ· 2 = 2 remainder 1
2 Γ· 2 = 1 remainder 0
1 Γ· 2 = 0 remainder 1
(21)ββ = (10101)β
Fractional Part (0.5)ββ Conversion
0.5 Γ 2 = 1.0 β 1
(0.5)ββ = (.1)β
Combine the integer and the fractional Part
(21.5)ββ = (10101.1)β
Hence, the given octal (25.4)β is converted to binary (10101.1). so we can write
(25.4)β = (21.5)ββ = (10101.1)β
Example 03: Convert (7.2)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (7)β Conversion
(7)β = 7 Γ 8β°
(7)β = (7)ββ
Fractional Part (.2)β Conversion
(0.2)β = 2 Γ 8β»ΒΉ = 2/8 = (0.25)ββ
Combine the integer and the fractional Part
(7)β + (0.2)β = (7)ββ + (0.25)ββ
(7.2)β = (7.25)ββ
Step 2: Convert Decimal to Binary
Integer Part (7)ββ Conversion
7 Γ· 2 = 3 remainder 1
3 Γ· 2 = 1 remainder 1
1 Γ· 2 = 0 remainder 1
(7)ββ = (111)β
Fractional Part (0.25)ββ Conversion
0.25 Γ 2 = 0.5 β 0
0.5 Γ 2 = 1.0 β 1
(0.25)ββ = (.01)β
Combine the integer and the fractional Part
(7.25)ββ = (111.01)β
Hence, the given octal (7.2)β is converted to binary (111.01). so we can write
(7.2)β = (7.25)ββ = (111.01)β
Example 04: Convert (34.1)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (34)β Conversion
(34)β = 3 Γ 8ΒΉ + 4 Γ 8β°
(34)β = 24 + 4
(34)β = (28)ββ
Fractional Part (.1)β Conversion
(0.1)β = 1 Γ 8β»ΒΉ = 1/8 = (0.125)ββ
Combine the integer and the fractional Part
(34)β + (0.1)β = (28)ββ + (0.125)ββ
(34.1)β = (28.125)ββ
Step 2: Convert Decimal to Binary
Integer Part (28)ββ Conversion
28 Γ· 2 = 14 remainder 0
14 Γ· 2 = 7 remainder 0
7 Γ· 2 = 3 remainder 1
3 Γ· 2 = 1 remainder 1
1 Γ· 2 = 0 remainder 1
(28)ββ = (11100)β
Fractional Part (0.125)ββ Conversion
0.125 Γ 2 = 0.25 β 0
0.25 Γ 2 = 0.5 β 0
0.5 Γ 2 = 1.0 β 1
(0.125)ββ = (.001)β
Combine the integer and the fractional Part
(28.125)ββ = (11100.001)β
Hence, the given octal (34.1)β is converted to binary (11100.001). so we can write
(34.1)β = (28.125)ββ = (11100.001)β
Example 05: Convert (51.6)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (51)β Conversion
(51)β = 5 Γ 8ΒΉ + 1 Γ 8β°
(51)β = 40 + 1
(51)β = (41)ββ
Fractional Part (.6)β Conversion
(0.6)β = 6 Γ 8β»ΒΉ = 6/8 = (0.75)ββ
Combine the integer and the fractional Part
(51)β + (0.6)β = (41)ββ + (0.75)ββ
(51.6)β = (41.75)ββ
Step 2: Convert Decimal to Binary
Integer Part (41)ββ Conversion
41 Γ· 2 = 20 remainder 1
20 Γ· 2 = 10 remainder 0
10 Γ· 2 = 5 remainder 0
5 Γ· 2 = 2 remainder 1
2 Γ· 2 = 1 remainder 0
1 Γ· 2 = 0 remainder 1
(41)ββ = (101001)β
Fractional Part (0.75)ββ Conversion
0.75 Γ 2 = 1.5 β 1
0.5 Γ 2 = 1.0 β 1
(0.75)ββ = (.11)β
Combine the integer and the fractional Part
(41.75)ββ = (101001.11)β
Hence, the given octal (51.6)β is converted to binary (101001.11). so we can write
(51.6)β = (41.75)ββ = (101001.11)β
Example 06: Convert (123.45)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (123)β Conversion
(123)β = 1 Γ 8Β² + 2 Γ 8ΒΉ + 3 Γ 8β°
(123)β = 64 + 16 + 3
(123)β = (83)ββ
Fractional Part (.45)β Conversion
(0.45)β = 4 Γ 8β»ΒΉ + 5 Γ 8β»Β²
= 4/8 + 5/64
= 0.5 + 0.078125
= (0.578125)ββ
Combine the integer and the fractional Part
(123)β + (0.45)β = (83)ββ + (0.578125)ββ
(123.45)β = (83.578125)ββ
Step 2: Convert Decimal to Binary
Integer Part (83)ββ Conversion
83 Γ· 2 = 41 remainder 1
41 Γ· 2 = 20 remainder 1
20 Γ· 2 = 10 remainder 0
10 Γ· 2 = 5 remainder 0
5 Γ· 2 = 2 remainder 1
2 Γ· 2 = 1 remainder 0
1 Γ· 2 = 0 remainder 1
(83)ββ = (1010011)β
Fractional Part (0.578125)ββ Conversion
0.578125 Γ 2 = 1.15625 β 1
0.15625 Γ 2 = 0.3125 β 0
0.3125 Γ 2 = 0.625 β 0
0.625 Γ 2 = 1.25 β 1
0.25 Γ 2 = 0.5 β 0
0.5 Γ 2 = 1.0 β 1
(0.578125)ββ = (.100101)β
Combine the integer and the fractional Part
(83.578125)ββ = (1010011.100101)β
Hence, the given octal (123.45)β is converted to binary (1010011.100101). so we can write
(123.45)β = (83.578125)ββ = (1010011.100101)β
Example 07: Convert (456.12)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (456)β Conversion
(456)β = 4 Γ 8Β² + 5 Γ 8ΒΉ + 6 Γ 8β°
= 256 + 40 + 6
= (302)ββ
Fractional Part (.12)β Conversion
(0.12)β = 1/8 + 2/64
= 0.125 + 0.03125
= (0.15625)ββ
Combine the integer and the fractional Part
(456)β + (0.12)β = (302)ββ + (0.15625)ββ
(456.12)β = (302.15625)ββ
Step 2: Convert Decimal to Binary
Integer Part (302)ββ Conversion
302 Γ· 2 = 151 r0
151 Γ· 2 = 75 r1
75 Γ· 2 = 37 r1
37 Γ· 2 = 18 r1
18 Γ· 2 = 9 r0
9 Γ· 2 = 4 r1
4 Γ· 2 = 2 r0
2 Γ· 2 = 1 r0
1 Γ· 2 = 0 r1
(302)ββ = (100101110)β
Fractional Part (0.15625)ββ Conversion
0.15625 Γ 2 = 0.3125 β 0
0.3125 Γ 2 = 0.625 β 0
0.625 Γ 2 = 1.25 β 1
0.25 Γ 2 = 0.5 β 0
0.5 Γ 2 = 1.0 β 1
(0.15625)ββ = (.00101)β
Combine the integer and the fractional Part
(302.15625)ββ = (100101110.00101)β
Hence, the given octal (456.12)β is converted to binary (100101110.00101). so we can write
(456.12)β = (302.15625)ββ = (100101110.00101)β
Example 08: Convert (701.7)β to Binary
Step 1: Convert Octal to Decimal
Integer Part (701)β Conversion
(701)β = 7Γ8Β² + 0Γ8ΒΉ + 1Γ8β°
= 448 + 0 + 1
= (449)ββ
Fractional Part (.7)β Conversion
(0.7)β = 7/8 = (0.875)ββ
Combine
(701.7)β = (449.875)ββ
Step 2: Convert Decimal to Binary
Integer Part (449)ββ Conversion
449 β (111000001)β
Fractional Part (0.875)ββ Conversion
0.875 Γ2 =1.75 β1
0.75 Γ2 =1.5 β1
0.5 Γ2 =1.0 β1
(.111)β
Combine
(449.875)ββ = (111000001.111)β
Hence
(701.7)β = (449.875)ββ = (111000001.111)β
Example 09: Convert (2345.67)β to Binary
(2345)β = 2Γ512 +3Γ64 +4Γ8 +5
=1024+192+32+5 = (1253)ββ
(0.67)β = 6/8 +7/64 =0.75+0.109375 = (0.859375)ββ
(2345.67)β = (1253.859375)ββ
Binary: (10011100101.110111)β
Example 10: Convert (777.77)β to Binary
(777)β = 511ββ
(0.77)β = 7/8 +7/64 = 0.984375
Binary: (111111111.111111)β
Example 11: Convert (3456.21)β to Binary
(3456)β = (1838)ββ
(0.21)β = 2/8 +1/64 = 0.265625
Binary: (11100101110.010001)β
Example 12: Convert (6021.34)β to Binary
(6021)β = (3097)ββ
(0.34)β = 3/8 +4/64 = 0.4375
Binary: (110000011001.0111)β
Example 13: Convert (1573.5)β to Binary
(1573)β = (891)ββ
(0.5)β = 5/8 = 0.625
Binary: (1101111011.101)β
Example 14: Convert (4210.16)β to Binary
(4210)β = (2184)ββ
(0.16)β = 1/8 +6/64 = 0.21875
Binary: (100010001000.00111)β
Example 15: Convert (7654.32)β to Binary
(7654)β = (4012)ββ
(0.32)β = 3/8 +2/64 = 0.40625
Binary: (111110101100.01101)β
Common Mistakes in Octal to Binary Conversion
Understanding common mistakes helps students avoid errors and improve accuracy in exams. These mistakes often occur due to a misunderstanding of the conversion method.
The list of common mistakes is given below:
Here are the same points with clear examples for each mistake in octal β binary conversion:
1. Ignoring 3-bit Representation
Each octal digit must always be written as exactly 3 binary bits.
Example: Correct:
- 7β = 111β
Incorrect (wrong method):
- 7β = 11 (missing one bit)
This gives an incomplete and incorrect binary value.
2. Removing Necessary Zeros
Β Only leading zeros can be removed. Zeros inside the number must stay.
Example: Correct:
- 3β = 011β
Incorrect:
- 3β = 11Β (zero removed, value becomes unclear in grouped conversion)
When combining digits like 7.3β β 111.011β, removing the middle zero changes structure.
3. Incorrect Mapping
Using wrong binary equivalents for octal digits leads to wrong results.
Example: Correct mapping:
- 6β = 110β
Incorrect mapping:
- 6β = 101Β (wrong value)
This completely changes the final binary number.
4. Combining Digits Incorrectly
Binary groups must be written in the same order as octal digits.
Example: Convert 7.3β:
Correct:
- 7 β 111
- 3 β 011
β 111.011β
Incorrect combination:
- 3.7β β 011.111Β (order reversed)
This changes the actual value completely.
Advantages of Octal to Binary Conversion
Octal to binary conversion provides multiple benefits, especially in simplifying digital computations. It is widely used in programming and electronics.
The list of advantages is given below:
1. Fast Conversion
Direct mapping eliminates the need for complex calculations.
2. Error Reduction
Using a fixed table reduces chances of mistakes.
3. Useful in Computer Systems
Helps in understanding memory representation and machine-level data.
4. Efficient for Large Numbers
Large octal numbers can be quickly converted into binary.
Practice Questions for Students
Practicing different problems helps students master octal to binary conversion effectively. Try solving the following questions for better understanding.
The list of practice questions is given below:
- Convert (17)β to binary
- Convert (234)β to binary
- Convert (506)β to binary
- Convert (701)β to binary
- Convert (1234)β to binary
Conclusion
Octal to binary conversion is one of the easiest and most important number system conversions in computer science. By understanding the 3-bit relationship and practicing examples, students can quickly master this topic and perform conversions accurately in exams and real-world applications.