Fun & Utility

Number Base Converter

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

Tool

About the Number Base Converter

The Number Base Converter translates a number between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16). Type a value in any base and see it in the others at once.

How to use it

  1. Choose the base of your input number.
  2. Type the number.
  3. Read the value in the other bases.

The four bases

BaseNameDigits used
2Binary0–1
8Octal0–7
10Decimal0–9
16Hexadecimal0–9 and A–F

Why other bases matter

Computers work in binary, so programmers use hexadecimal and octal as compact, human-friendly ways to write binary values. Hex is common in colours, memory addresses and machine code; octal appears in file permissions on Unix-like systems.

Common uses

  • Computer science and digital electronics study.
  • Programming and debugging.
  • Understanding hex colour codes and file permissions.

Who it is for

Students, developers, engineers and anyone working with different number systems.

Frequently asked questions

Base 16, using digits 0–9 and letters A–F, where A=10 and F=15. It is widely used in programming.
Each digit is a power of two, read right to left: 1, 2, 4, 8, 16 and so on. So binary 1011 equals 8+2+1 = 11.
This tool works with whole numbers. Fractional number bases are far less common and not covered here.

Related tools

Guides for this tool