• Home
  • About Us
  • Contact Us
Semiconductor for You
  • Home
  • Semiconductor News
  • Semiconductor Magazine
  • Technology
    • Automotive
    • Consumer Electronics
    • IoT
    • Lighting
    • Power Management
    • Wireless
    • Personal Electronics
    • Hardware & Software
    • Research
    • Medical Electronics
    • Embedded Design
    • Aerospace & Defence
    • Artificial Intelligence
  • Interview
  • Industries
  • Market
  • Knowledge Base
  • Events
  • Tools
    • Resistor Color Code Calculator
No Result
View All Result
  • Home
  • Semiconductor News
  • Semiconductor Magazine
  • Technology
    • Automotive
    • Consumer Electronics
    • IoT
    • Lighting
    • Power Management
    • Wireless
    • Personal Electronics
    • Hardware & Software
    • Research
    • Medical Electronics
    • Embedded Design
    • Aerospace & Defence
    • Artificial Intelligence
  • Interview
  • Industries
  • Market
  • Knowledge Base
  • Events
  • Tools
    • Resistor Color Code Calculator
No Result
View All Result
Semiconductor for You
No Result
View All Result
Home Knowledge Base

Binary to Decimal and Decimal to Binary Conversion Explained with Examples

Komal Ganvir by Komal Ganvir
February 25, 2026
in Knowledge Base
0

The Binary Number System and Decimal Number System are fundamental concepts in digital electronics and computer science. Since computers operate using binary (0 and 1), understanding number system conversion is essential for students and programmers.


What is a Binary Number System?

The binary number system is a base-2 numbering system that uses only two digits: 0 and 1.

  • Each binary digit is called a Bit.
  • A group of 4 bits is called a Nibble.
  • A group of 8 bits is called a Byte.

Binary numbers are represented as sequences of 0s and 1s. Modern computers use binary numbers for data storage, processing, and communication.


What is a Decimal Number System?

The decimal number system is also known as the Hindu-Arabic number system. It is a base-10 system because it uses ten digits:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

It is a positional number system where each digit has a place value based on powers of 10.

Example:

1345 = (1 × 10³) + (3 × 10²) + (4 × 10¹) + (5 × 10⁰)
     = 1000 + 300 + 40 + 5
     = 1345

Use of Binary Number System

The foundation of the binary system in digital electronics was influenced by:

  • George Boole – Developed Boolean Algebra in 1847.
  • Claude Shannon – Applied Boolean Algebra to electrical circuits in 1937.

Today, binary numbers are used in:

  • Computers
  • Digital Logic Circuits
  • Communication Systems
  • Data Storage

Decimal to Binary Conversion Method

To convert a decimal number into binary:

  1. Divide the decimal number by 2.
  2. Write down the remainder (0 or 1).
  3. Divide the quotient again by 2.
  4. Repeat the process until the quotient becomes 0.
  5. Read the remainders from bottom to top.

The first remainder is the LSB (Least Significant Bit) and the last remainder is the MSB (Most Significant Bit).

Example: Convert 65 (Decimal) to Binary

65 ÷ 2 = 32 remainder 1
32 ÷ 2 = 16 remainder 0
16 ÷ 2 = 8  remainder 0
8  ÷ 2 = 4  remainder 0
4  ÷ 2 = 2  remainder 0
2  ÷ 2 = 1  remainder 0
1  ÷ 2 = 0  remainder 1

Reading from bottom to top:

65₁₀ = 1000001₂


Binary to Decimal Conversion Method

The binary number system is also positional, but it uses base 2. Therefore, place values are powers of 2.

To convert binary to decimal:

  1. Write the powers of 2 from right to left.
  2. Multiply each binary digit by its corresponding power of 2.
  3. Add all the results.

Example: Convert 1101₂ to Decimal

1101₂ = (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2⁰)
      = (1 × 8) + (1 × 4) + (0 × 2) + (1 × 1)
      = 8 + 4 + 0 + 1
      = 13₁₀

Therefore, 1101₂ = 13₁₀


Decimal to BCD Encoder

An Encoder is a combinational logic circuit that converts data from one format to another.

A Decimal to BCD (Binary Coded Decimal) Encoder converts decimal numbers (0–9) into their 4-bit binary equivalent.

For example:

  • 0 → 0000
  • 1 → 0001
  • 2 → 0010
  • 9 → 1001

The encoder uses OR gates to generate logical equations:

  • A3 = 8 + 9
  • A2 = 4 + 5 + 6 + 7
  • A1 = 2 + 3 + 6 + 7
  • A0 = 1 + 3 + 5 + 7 + 9

The reverse operation is performed by a Decoder.


Conclusion

Binary and decimal number systems are essential in computer science and digital electronics. While humans use decimal numbers for everyday calculations, computers process and store all information internally in binary form. Understanding binary to decimal and decimal to binary conversion is crucial for programmers, engineers, and students.

 

Content Protection by DMCA.com
Tags: Binary to Decimal and Decimal to Binary Conversion
Komal Ganvir

Komal Ganvir

Browse by Category

  • Aerospace and Defence
  • Articles
  • Automotive
  • Consumer-Electronics
  • Hardware & Software
  • Interview
  • IoT
  • Knowledge Base
  • Lighting
  • Market
  • personal-electronics
  • Power Management
  • Research
  • Semiconductor Events
  • Semiconductor News
  • Technology
  • Wireless
Semiconductor for You

Semiconductor For You is a resource hub for electronics engineers and industrialist. With its blend of
technology features, news and new product information, Semiconductor For You keeps designers and
managers up to date with the fastest moving industry in the world.

Follow Us

Browse by Category

  • Aerospace and Defence
  • Articles
  • Automotive
  • Consumer-Electronics
  • Hardware & Software
  • Interview
  • IoT
  • Knowledge Base
  • Lighting
  • Market
  • personal-electronics
  • Power Management
  • Research
  • Semiconductor Events
  • Semiconductor News
  • Technology
  • Wireless

Recent News

SYSGO Showcases Real-Time Safety, Security, and CRA Readiness at Embedded World 2026

SYSGO Showcases Real-Time Safety, Security, and CRA Readiness at Embedded World 2026

February 25, 2026
Vishay Intertechnology Phototransistor Optocouplers Deliver Accuracy and Energy Efficiency for Industrial Applications

Vishay Intertechnology Phototransistor Optocouplers Deliver Accuracy and Energy Efficiency for Industrial Applications

February 25, 2026
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2022 Semiconductor For You

No Result
View All Result
  • Home
  • Semiconductor News
  • Technology
    • IoT
    • Wireless
    • Power Management
    • Automotive
    • Hardware & Software
  • Market
  • Knowledge Base
  • Tools
    • Resistor Color Code Calculator

© 2022 Semiconductor For You