Skip to content

VLSIFacts

Let's Program the Transistors

  • Home
  • DHD
    • Digital Electronics
    • Fault Tolerant System Design
    • TLM
    • Verification
    • Verilog
    • VHDL
    • Xilinx
  • Embedded System
    • 8085 uP
    • 8086 uP
    • 8051 uC
  • VLSI Technology
    • Analog Electronics
    • Memory Devices
    • VLSI Circuits
  • Interview
    • Interview Experience
    • Training Experience
    • Question Bank
  • Notifications
  • QUIZ
  • Community
  • Job Board
  • Contact Us
  • Toggle search form

How to Convert Binary to BCD and BCD to Binary

Posted on March 15, 2023June 19, 2025 By vlsifacts No Comments on How to Convert Binary to BCD and BCD to Binary

Earlier, we learned that BCD code and the binary equivalent of a decimal number are different. In this article, we will learn that how to convert binary to BCD and vice versa.

To convert binary to BCD, we will first convert the binary number to decimal and then the decimal number to BCD number. Similarly, to convert BCD to binary, we will first convert the BCD to decimal and then decimal to equivalent binary.

Example 1: Convert the binary number 11010110 to BCD.

Solution:

First of all, we would convert the binary number 11010110 to decimal.

110101102 = 21410 (check here for binary to decimal conversion)

Now, we will convert the decimal number 214 to a BCD number.

Example for Binary to decimal and then BCD

110101102 = 001000010100BCD

From the above example, you can realize that the binary equivalent and BCD of a decimal number are not the same, though both of them are represented using 0s and 1s.

Example 2: Convert the BCD number 100101101000 to binary number.

Solution:

First of all, we would convert the BCD number 100101101000 to decimal.

Example for BCD to decimal and then Binary

Now, we will convert the decimal number 968 to a binary number. Check here to learn the steps for converting a decimal number to a binary number.

96810 = 11110010002

So, we can write 100101101000BCD = 11110010002

Previous           Table of Content           Next

Spread the Word

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Related posts:

  1. BCD Addition
  2. Binary Coded Decimal
  3. What are the Different Types of BCD Codes
  4. How to Convert Decimal to BCD and BCD to Decimal
Digital Electronics Tags:BCD Number, BCD to Binary Conversion, Binary Coded Decimal, Binary to BCD Conversion

Post navigation

Previous Post: How to Convert Decimal to BCD and BCD to Decimal
Next Post: BCD Addition

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Top Posts & Pages

  • ASCII Code
  • NAND and NOR gate using CMOS Technology
  • Circuit Design of a 4-bit Binary Counter Using D Flip-flops
  • Truth Tables, Characteristic Equations and Excitation Tables of Different Flipflops
  • Difference between $display, $monitor, $write and $strobe in Verilog


 

Copyright © 2025 VLSIFacts.

Powered by PressBook WordPress theme

%d