Let's convert two decimal numbers into the binary system: 13 and 482.
The decimal number 13 -> 11012 (1*23 + 1*22 + 0*21 +1*20)
The decimal number 482 -> 1111000102
Calculations for converting 482:
Find the largest power of two that divides into 482. So 28, or 256.
482/256 = 1 , subtract to get the leftover, 226.
Now check to see if 27, 128 goes into 226. Notice we only have the choice of 1 or 0 so this will be simple to calculate. 226 - 128 -> 98 (another 1)
98-64 -> 34 (another 1)
34-32 ->2 (another 1)
can’t subtract 16 (so a 0 goes here)
can’t subtract 8 (another 0)
can’t subtract 4 (another 0)
2 - 2 -> 0 (another 1)
can’t subtract 1 (another 0)
Answer: 1111000102