1001Ferramentas
🔢 Converters

Numeric Bases Converter

Convert numbers between binary (base 2), decimal (base 10), hexadecimal (base 16) and octal (base 8). Type in any field for instant conversion in the others.

Quick reference table

Decimal Binário Hex Octal
0 0000 0 0
1 0001 1 1
2 0010 2 2
3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 8 10
9 1001 9 11
10 1010 A 12
11 1011 B 13
12 1100 C 14
13 1101 D 15
14 1110 E 16
15 1111 F 17

How do number bases work?

In positional numeral systems, the base tells you how many distinct symbols the system has. A digit's value changes with the position it sits in, which corresponds to a power of the base.

  • Binary (base 2): uses only 0 and 1. Fundamental for computers (bits).
  • Decimal (base 10): everyday system with digits 0 to 9.
  • Hexadecimal (base 16): uses 0-9 and A-F. Compact for representing bytes (1 byte = 2 hex digits).
  • Octal (base 8): uses digits 0-7. Each octal digit equals 3 binary bits.

Related Tools

Convert between binary, decimal, hex and octal

Anyone who codes or studies computing is forever switching number bases. There's everyday decimal, the machine's binary, the hexadecimal of colours and memory addresses, the octal of permissions. This converter puts the same number in all four bases at the same time.

Type the value in any of the fields, be it base 2, 10, 16 or 8, and the rest fill themselves in with the conversion. Rather than doing successive division by hand or turning to the scientific calculator, you see every representation at once, ready to use.

The calculation happens in the browser. It works as a quick reference for programming, digital electronics, networking and computing studies.