Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal bases.

What Is the Number Base Converter?

Converts between binary, octal, decimal, hexadecimal, and any base from 2 to 36.

Formula

Convert via decimal: parse in base A → represent in base B

How to Use

Enter the number, source base, and target base.

Example Calculation

255 (base 10) = FF (base 16) = 11111111 (base 2).

Understanding Number Base Converter

Number bases are fundamental to computer science. Binary is how computers store data, hex is used for colors (#FF5733) and memory addresses.

Frequently Asked Questions

Why is hex used in computing?

Each hex digit maps to exactly 4 binary digits, making it a compact way to represent binary data.

Related Tools