Divide the number by 2 and take only the remainder, if division is completed than take only the remainder which gives the binary number.
Example
∴ (87)10 = (1110101)2