Base/Number System Converter

Instantly convert between binary, decimal, hexadecimal, and octal number systems. Essential tool for programmers, students, and math enthusiasts.

Number System Converter

Enter a value in any number system and instantly convert it to all other systems. Supports binary (base-2), decimal (base-10), hexadecimal (base-16), and octal (base-8).

Convert Between Number Systems

Enter a valid number in the selected base system

Number Systems Overview

Different number systems are used in computing and mathematics for various purposes. Here's a quick overview of each:

Binary (Base-2)
Uses only 0 and 1

The fundamental language of computers. Each digit is called a "bit".

  • Base: 2
  • Digits: 0, 1
  • Example: 1011₂
  • Used in: Digital circuits, computer memory
Decimal (Base-10)
Our everyday number system

The standard system for denoting integer and non-integer numbers.

  • Base: 10
  • Digits: 0-9
  • Example: 255₁₀
  • Used in: Everyday counting, finance
Hexadecimal (Base-16)
Compact representation of binary

Used as a human-friendly representation of binary values.

  • Base: 16
  • Digits: 0-9, A-F
  • Example: FF₁₆
  • Used in: Programming, memory addresses
Octal (Base-8)
Three binary digits per octal digit

Less common today but still used in some computing applications.

  • Base: 8
  • Digits: 0-7
  • Example: 377₈
  • Used in: Unix file permissions

How to Use the Base Converter

Follow these simple steps to convert between number systems:

Step 1: Enter Your Number

Input the number you want to convert in the "Input Value" field. Make sure it's valid for the selected base:

  • Binary: Only 0 and 1 digits
  • Decimal: Digits 0-9
  • Hexadecimal: Digits 0-9 and A-F (case insensitive)
  • Octal: Digits 0-7
Step 2: Select Input Base

Choose the base system of your input number from the dropdown menu:

  • Binary - Base-2 system
  • Decimal - Base-10 system
  • Hexadecimal - Base-16 system
  • Octal - Base-8 system
Step 3: Choose Output Bases

Select which number systems you want to convert to by checking the boxes:

  • Uncheck systems you don't need
  • Check all for complete conversion
  • Results appear instantly after conversion
  • You can copy results with one click
Step 4: View & Copy Results

Examine your conversion results:

  • Each result shows the value in the target base
  • Click the copy button to copy any result
  • Use "Clear All" to reset the converter
  • Try different numbers to practice conversions

Common Conversion Examples

Here are some common conversions between number systems for reference:

Decimal Binary Hexadecimal Octal Notes
0 0 0 0 Zero in all systems
1 1 1 1 One in all systems
10 1010 A 12 Decimal ten
15 1111 F 17 Max single hex digit
16 10000 10 20 Base of hexadecimal
255 11111111 FF 377 Max 8-bit value
1024 10000000000 400 2000 1 Kilobyte in bytes
4096 1000000000000 1000 10000 4KB memory page
Quick Conversion Tip: Each hexadecimal digit represents exactly 4 binary digits (bits). This makes hex-to-binary conversion very straightforward: just convert each hex digit to its 4-bit binary equivalent.

Real-World Applications

Computer Programming
  • Hexadecimal: Used for memory addresses, color codes (RGB), and debugging
  • Binary: Direct manipulation of bits and bytes
  • Octal: File permission codes in Unix/Linux systems
  • Bitwise operations: AND, OR, XOR, and shift operations
Digital Electronics & Networking
  • IP addresses: Sometimes represented in hex (IPv6)
  • MAC addresses: Hexadecimal format (e.g., 00:1A:2B:3C:4D:5E)
  • Error detection: Checksums and CRCs often use hex representation
  • Digital circuits: Binary is fundamental to all digital logic
Important Note: When converting between systems, be aware of leading zeros in binary and octal representations, and case sensitivity in hexadecimal (though our converter handles both uppercase and lowercase).

Quick Reference Tables

Binary-Hex Table

Each hex digit = 4 binary digits

HexBinary
00000
10001
20010
30011
40100
50101
Powers of Two

Essential for binary calculations

PowerDecimalBinary
2⁰11
210
4100
81000
2⁴1610000
2⁵32100000
Hex Digits

Hexadecimal digit values

HexDecimal
0-90-9
A/a10
B/b11
C/c12
D/d13
E/e14
F/f15