Converts numbers between binary, octal, decimal, and hexadecimal bases.
The number base converter translates numbers between decimal (DEC), binary (BIN), octal (OCT), and hexadecimal (HEX).
DEC → BIN: divide repeatedly by 2, reading the remainders bottom to top. DEC → HEX: divide by 16 (digits A = 10 … F = 15).
255 (DEC) = 11111111 (BIN) = 377 (OCT) = FF (HEX).
Loading calculator…