# Hex/Decimal/Octal/Binary Converter

16
10
8
2
 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

It is a number conversion calculator that is used to calculate the hexadecimal (base 16), decimals (base 10), octal (base 8) and binary codes (base 2). It is simple to use since you only need to enter the known value and the calculator will give the results of the missing base numbers. The first procedure is to choose the number format in the options provided. You can either choose the number, signed 8-bit, signed 16-bit, signed 32-bit, or signed 64 bit. The ‘Reset' button will be useful in clearing the previous conversions from the calculator.

Example 1

Convert 0.01 to Hexadecimal, octal and binary codes using the number format

Solution

First, enter the value 0.01 in the blank text field of the decimals. The results of other base numbers will appear as;

Hex: 0.028F5C28F5C28F5C28F6

Decimal: 0.01

Octal: 0.00507534121727024366

Binary: 0.0000001010001111011

Example 2

Convert 6.723 to Hexadecimals, decimals and binary codes

Solution

First, enter the value 6.723 in the blank text field for the octal base number. The other results will be shown automatically as;

Decimals: 6.912109375

Octal: 6.723

Binary: 110.111010011

The signed 8-bit number format will give you the bit toggle which usually appears in the bottom panel of the calculator. This indicates the 8 last values for the digits that come after the decimal point in the binary code.

For example

Convert 2.23 to Hexadecimals, decimals, and binary with the signed 8-bit number format

Solution;

The first procedure is to enter the value 2.23 in the blank text field of the octal base number. The results will be shown as;

Hex: 2.4C

Decimal: 2.296875

Octal:  2.23

Binary:  10.010011

Bit toggle: 0.010011

The signed 16-bit shows the last 16 digits of the binary codes while the 32-bit shows the last 32 digits of the binary codes. You can also choose the signed 64-bit as the number format which will display the last 64 digits in the bit toggle.