To convert decimal numbers to binary, divide the decimal number by 2 repeatedly, noting the remainder. The resulting remainders, read in reverse order, give the binary representation. Octal and hexadecimal conversions follow a similar process but use base 8 and base 16, respectively.