DIGITAL SYSTEMS CALCULATORS


TOOL: DECIMAL TO GRAY CODE CONVERTER


DECIMAL TO GRAY CODE CONVERTER

Enter a decimal number.


(75)10 = (1101110)GRAY

SOLUTION STEPS

11010011101110

So, (75)10 is 1101110 in Gray code.

OTHER INFORMATION

πŸ‘‰ Click here to see how we convert 1101110 to decimal.

πŸ‘‰ Click here to see how we find the binary equivalent of 75.

Copied to clipboard
Copy Text

INFORMATION

Decimal to Gray code conversion is accomplished in two steps. First, we convert the decimal number to binary and then convert the binary number to Gray code.

In binary to Gray code conversion, we write the most significant bit (the leftmost one) of the binary number to the Gray code directly. To find the remaining bits of the Gray code, we compare the neighboring bits (starting from the leftmost two bits) in the binary number. If the leftmost (n-1)th and nth bits of the binary number are the same, we write 0 to the leftmost nth bit of the Gray code. If they are different, we write 1 to the same location of the Gray code.

WHAT IS DECIMAL TO GRAY CODE CONVERTER?

Decimal to BCD converter,

  • Converts the entered decimal number to Gray code and
  • Illustrates all solution steps.

HOW TO USE THE DECIMAL TO GRAY CODE CONVERTER?

You can use the decimal to Gray code converter in two ways.

  • USER INPUTS

    Convert button

    You can enter a base 10 number to the input box and click on the "CONVERT" button. The result and explanations appaer below the calculator.

  • RANDOM INPUTS

    random buttons

    You can click on the DIE ICON next to the input box. If you use this property, a random decimal number is generated and entered to the calculator, automatically. You can see the result and explanations below the calculator. You can create your own examples and practice using this property.

  • CLEARING THE INPUT BOX

    Clear button

    To find the Gray codes corresponding to some other decimal numbers you can clear the input box by clicking on the CLEAR button under the input box.

  • COPYING & DOWNLOADING THE SOLUTION

    • Copy Link

      You can copy the generated solution by clicking on the "Copy Text" link, appaers under the solution panel.

    • Download Link

      Even you can download the solution as an image file with .jpg extension if you click on the "Download Solution" link at the bottom of the solution panel. You can share the downloaded image file.

 

CALCULATORS

Binary Code Calculators