Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal bases in real time.

Understanding Number Bases

A number base (or radix) determines how many unique digits are used to represent numbers. The most common bases in computing are binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Each base has its own use cases in programming, networking, and digital electronics.

Common Number Bases

  • Binary (Base 2)— Uses digits 0 and 1. The fundamental language of computers.
  • Octal (Base 8)— Uses digits 0-7. Often used in Unix file permissions.
  • Decimal (Base 10)— Uses digits 0-9. The standard number system for everyday use.
  • Hexadecimal (Base 16)— Uses digits 0-9 and A-F. Widely used for colors, memory addresses, and byte values.

How to Use This Tool

  • Select the input base from the dropdown.
  • Enter a number valid for that base.
  • See the converted values in all four bases instantly.
  • Click Copy next to any result to copy it.

Related Tools