Number Base Converter

Convert numbers between Binary, Octal, Decimal, and Hexadecimal.

Input

Number Base Systems

Binary (Base 2): Uses digits 0-1. Commonly used in computer systems and digital electronics. Each digit represents a power of 2.

Octal (Base 8): Uses digits 0-7. Often used in computing as a more compact representation than binary. Each octal digit represents 3 binary digits.

Decimal (Base 10): Uses digits 0-9. The standard number system used by humans. Each digit represents a power of 10.

Hexadecimal (Base 16): Uses digits 0-9 and letters A-F. Widely used in computing and programming. Each hex digit represents 4 binary digits.

Conversion: All conversions go through decimal as an intermediate step. The maximum safe integer is 9,007,199,254,740,991 (2^53 - 1).