Binary, decimal and hex converter

Enter your values. The answer and the full worked solution update as you type.

Result

Decimal2024
Binary11111101000
Hexadecimal7E8
Octal3750

Step-by-step solution

To decimal

2·103 + 0·102 + 2·101 + 4·100 = 2024

From decimal

Divide by the new base repeatedly and read the remainders from bottom to top.

Key formulas

Place values
binary 2k, octal 8k, hex 16k
To decimal
Σ dk·bk
From decimal
divide by the base, read the remainders bottom-up
Hex ↔ binary
one hex digit = 4 bits
Two’s complement
invert the bits and add 1

Practise Number systems

A calculator gives the answer. In the exam you need the method: practise it with new problems, hints and worked solutions.

</> Embed

Free for teachers and schools: paste this code into your course page, LMS or website. Students can use the calculator and its worked solution without an account.

More calculators