Convert between Binary, Decimal, Octal, and Hex, with step by step working shown for every conversion.
From
To
Decimal
500
Binary
111110100
Divide by 2 repeatedly, read remainders bottom-up:
| Division | Quotient | Remainder |
|---|---|---|
| 500 ÷ 2 | 250 | 0 |
| 250 ÷ 2 | 125 | 0 |
| 125 ÷ 2 | 62 | 1 |
| 62 ÷ 2 | 31 | 0 |
| 31 ÷ 2 | 15 | 1 |
| 15 ÷ 2 | 7 | 1 |
| 7 ÷ 2 | 3 | 1 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Result (bottom-up): 111110100
Type the number you want to convert into the input box.
Pick the base it's currently in under "From" (Binary, Octal, Decimal, or Hex).
Pick the base you want to convert it to under "To".
Read the result, then scroll down to see the step by step working the same way it's expected to be shown in an O/L or A/L ICT answer script.
A number system is a way of representing values using a fixed set of digits. Computers use Binary (base 2, digits 0 and 1) internally, while Decimal (base 10) is what we use day to day. Octal (base 8) and Hexadecimal (base 16) exist because they group binary digits into shorter, easier to read chunks, which is why Hex shows up often in memory addresses and colour codes. O/L and A/L ICT expects you to convert between all four confidently, both with a calculator and by hand.
Marking schemes give marks for each step of the division/remainder or grouping method, not just the final value. This tool shows that same working so you can check your exam style answer, not only the converted number.
Group the binary digits into sets of 4 from the right, pad the leftmost group with zeros if needed, then convert each group to its hex digit directly. This tool's Binary to Hex working shows that grouping so you can practice it manually before checking here.
No, it converts whole (integer) values only, matching what's tested at O/L and A/L ICT level. Enter digits valid for the selected base.
Yes, fully free, no sign up, works directly in your browser.