Decimal to Hex to Binary Converter

Convert between decimal, binary, hexadecimal numbers. To get started, enter a number in any field below.

About

This tool converts between decimal, binary, and hexadecimal numbers. It also displays a binary word with labelled bit positions.

Instructions

To convert a number, enter a value in its respective input field. The converted values will appear in the other fields. For example, to convert the decimal number 42 to binary and hex, enter 42 into the Decimal input field. The binary equivalent (101010) will appear in the Binary field, and the hex equivalent (2A) will appear in the Hexadecimal field. The Word Viewer at the bottom of the calculator shows the binary and hex results in a more detailed format with each binary digit location labelled.

Word Viewer

The Word Viewer shows a more detailed view of the binary and hex values. The header lists the binary bit position, with zero being the least significant bit. The corresponding binary digits are shown in the row just below the header. Each group of four binary bits is grouped together in the last row and represented with its hexadecimal equivalent.

The Word Viewer can fully display binary numbers with up to 64 bits. For larger numbers, only the 64 least significant bits will be shown.