## TOOL: GRAY CODE TO DECIMAL CONVERTER

#### GRAY CODE TO DECIMAL CONVERTER

Enter a Gray code.

(1101110)GRAY = (75)10

SOLUTION STEPS

The Gray code 1101110 is 75 in decimal.

OTHER INFORMATION

👉 Click here to see how we convert (75)10 to Gray code.

👉 Click here to see how we find the decimal equivalent of (1001011)2.

Copied to clipboard
Copy Text

## INFORMATION

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

In Gray code to binary conversion, we write the most significant bit (the leftmost one) of the Gray code to the binary number, directly. To find the remaining bits of the binary number, we compare the current bit of the binary number with the next bit of the Gray code. If the leftmost nth bit of the binary number is equal to the (n + 1)th bit of the Gray code, we write 0 to the leftmost nth position of the binary number. If they are different, we write 1 to the same location of the binary number.

### WHAT IS GRAY CODE TO DECIMAL CONVERTER?

Gray code to decimal converter,

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

### HOW TO USE THE GRAY CODE TO DECIMAL CONVERTER?

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

• #### USER INPUTS

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

• #### RANDOM INPUTS

You can click on the DIE ICON next to the input box. If you use this property, a random Gray code 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

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

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