Advertisement space (leaderboard, 728×90)

Numbers Converter

Convert a number between any two numeral systems (base 2 to base 36)

That number contains digits invalid for the selected base.

Any base from 2 to 36 is supported — not just the six shown above. Edit the value in either box to pick a custom base.

Advertisement space (in-content)

Popular Numbers Unit Conversions

(Use the converter above for these — dedicated pages for each pair are coming soon.)

How Numeral Systems & Base Conversions Work

A numeral system represents numbers using a specific base (radix). In any positional base-N system, each digit represents a value multiplied by a power of N, determined by its position from right to left (starting at power 0).

The Four Core Systems in Computing

  • Decimal (Base 10): The universal human counting system, utilizing digits 0 through 9.
  • Binary (Base 2): The fundamental language of modern digital electronics, where transistors represent states as 0 (off) or 1 (on).
  • Octal (Base 8): Uses digits 0 through 7. Popular in early computing and still standard in Unix file system permission octets (e.g., chmod 755).
  • Hexadecimal (Base 16): Uses digits 0–9 followed by letters A–F (representing 10 through 15). Used everywhere in computing for memory dumps, assembly language, IPv6 addresses, and HTML/CSS hex colors.

Quick Conversion Reference Table

Decimal (Base 10) Binary (Base 2) Octal (Base 8) Hexadecimal (Base 16)
0000000
1000111
2001022
3001133
4010044
7011177
81000108
10101012A
15111117F
160001 00002010
320010 00004020
640100 000010040
1281000 000020080
2551111 1111377FF

Step-by-Step Conversion Methods

1. Converting Decimal to Any Base (Division-Remainder Method): Divide the decimal number by the target base B. Record the remainder. Divide the quotient again by B and record the new remainder. Repeat until the quotient reaches 0. Reading the remainders backwards (from last to first) produces the result.

2. Converting Any Base to Decimal (Positional Expansion): Multiply each digit by base^position (where position 0 is the rightmost digit) and sum all the products.

3. Binary to Hex Shortcut (4-bit Nibbles): Because 2⁴ = 16, every group of 4 binary bits translates directly into one hexadecimal character without any multi-step division.

Frequently Asked Questions (Google People Also Ask)

How do you manually convert a decimal number to binary? ▼
Divide the decimal number by 2 repeatedly and write down the remainders in reverse order (bottom to top). For example, to convert 13: 13 ÷ 2 = 6 (remainder 1), 6 ÷ 2 = 3 (remainder 0), 3 ÷ 2 = 1 (remainder 1), and 1 ÷ 2 = 0 (remainder 1). Reading the remainders from bottom to top gives 1101 in binary (1101₂).
Why do programmers and computers use hexadecimal instead of decimal or binary? ▼
Hexadecimal (base 16) matches computer architecture seamlessly because exactly 4 binary bits equal 1 hex digit, and 8 bits (1 byte) equal exactly 2 hex digits. This makes hexadecimal a human-friendly shorthand for viewing memory addresses, machine code, network MAC addresses, and web color codes (like #FF5733) without writing out dozens of tedious 1s and 0s.
What are the 4 primary number systems used in computing? ▼
The four main numeral systems in computer science are: 1) Decimal (Base 10) for human input and mathematics, 2) Binary (Base 2) for digital hardware logic and transistor states (ON/OFF), 3) Hexadecimal (Base 16) for memory dumps, byte values, and web color codes, and 4) Octal (Base 8) historically used in computing words and still used in Unix/Linux file permissions (e.g., chmod 755).
How do you convert binary to hexadecimal quickly without math? ▼
Group the binary digits into chunks of 4 starting from the right (pad with leading zeros on the left if necessary). Then substitute each 4-bit chunk with its corresponding hexadecimal digit (0000=0, 0001=1 ... 1010=A, 1011=B, 1100=C, 1101=D, 1110=E, 1111=F). For example, 11010110₂ splits into 1101 (D) and 0110 (6) = D6₁₆.
What is Base 36 and where is it used in real applications? ▼
Base 36 is the most compact case-insensitive alphanumeric number system, using digits 0–9 and letters A–Z (36 characters total). It is widely used for creating short, human-readable URLs (like URL shorteners), compact unique database keys, tracking codes, and serial numbers because it encodes very large numbers into short strings.