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