TOOL: GRAY CODE TO BINARY CONVERTER

GRAY CODE TO BINARY CONVERTER

Enter a Gray code.

(1101110)GRAY = (1001011)2

SOLUTION STEPS

So, the Gray code 1101110 is 1001011 in binary.

OTHER INFORMATION

👉 Click here to see how we find the Gray code corresponding to (1001011)2.

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

Copied to clipboard
Copy Text

INFORMATION

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 BINARY CONVERTER?

Gray code to binary converter,

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

HOW TO USE THE GRAY CODE TO BINARY CONVERTER?

You can use the Gray code to binary 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 binary 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.