SwiftCalculators Header
Numbers Converter

Numbers Converter

Convert numbers between binary, decimal, octal, hex, and bases 2 through 36 instantly.

⚡ Instant Results 📦 35 Bases 📱 Mobile Friendly
Numbers Converter
From
To

Enter a value to convert

Choose your units, then click Convert

RESULT
0
unit
All Conversions
BaseResultSymbol

What Is a Numbers Converter?

The Numbers Converter is an essential tool designed to translate numerical values across different positional numeral systems seamlessly. Whether you need to translate decimal values into binary code, configure hexadecimal color values, or experiment with unique numeral bases up to Base 36, this tool performs the complex arithmetic instantly and without errors.

Numeral systems are the foundation of modern mathematics and computing. A numeral system (or base) is simply a writing system for expressing numbers. The most common system worldwide is the decimal system (Base 10), which uses ten distinct digits (0-9). However, computers inherently operate on the binary system (Base 2), utilizing only two digits: 0 and 1. As technology advanced, other systems like octal (Base 8) and hexadecimal (Base 16) became standard for streamlining large binary expressions into human-readable formats. Our Numbers Converter acts as a universal bridge, accommodating any conversion from Base 2 all the way to Base 36.

How to Use This Converter

Converting between numeric bases is incredibly simple using our tool. Follow these steps:

  • Step 1: Select a group (e.g., Common Systems or Bases 11-20) from the optional filter dropdown to narrow your unit choices.
  • Step 2: Enter the numeric string you wish to convert in the Enter Value box. Remember that bases higher than 10 utilize letters (A-Z) to represent higher digits.
  • Step 3: Choose the starting base (the From unit) corresponding to your entered value.
  • Step 4: Select the target base (the To unit).
  • Step 5: Click Convert. The primary result will appear immediately, alongside an exhaustive table displaying your value automatically translated into all 35 supported bases simultaneously.

Understanding the Unit Groups

To make navigating the 35 available bases easier, this converter is divided into four primary unit groups. Each group represents a specific range of mathematical radixes commonly utilized in different academic and engineering fields.

Common Systems

This group includes the most widely used positional numeral systems in the world today. It features Decimal (Base 10) used in daily life, alongside the essential computing bases: Binary (Base 2), Octal (Base 8), and Hexadecimal (Base 16). Additionally, it houses Duodecimal (Base 12) and Vigesimal (Base 20), which possess profound historical significance in traditional counting and ancient calendars.

Bases 2-10

These are the lower numeric bases that operate entirely within standard numeric digits without requiring any alphabetic characters. This group includes Ternary (Base 3), Quaternary (Base 4), Quinary (Base 5), Senary (Base 6), Septenary (Base 7), and Nonary (Base 9). These are frequently used in discrete mathematics and logic puzzles.

Bases 11-20

Starting at Base 11 (Undecimal), numerical systems run out of standard digits (0-9). From this point forward, letters of the alphabet are introduced to represent values 10 and above. For example, the letter 'A' equals 10, 'B' equals 11, and so on. This group contains intermediate bases up to Base 19.

Bases 21-36

This extended group covers the highest practical bases, culminating in Base 36. Because standard Arabic numerals provide 10 characters and the English alphabet provides 26 letters, Base 36 is the highest base that can be represented using a single standard alphanumeric character for each digit. Base 36 is often utilized in URL shorteners and compact data encoding.

Common Numbers Conversions

While all 35 bases have niche applications, a handful of specific conversions dominate daily computing and engineering operations:

  • Decimal to Binary (Base 10 to Base 2): Crucial for understanding how human inputs are translated into machine-level code. For example, the decimal number 25 translates to 11001 in binary.
  • Binary to Hexadecimal (Base 2 to Base 16): Because 16 is a power of 2, every four binary bits perfectly map to a single hex digit. Binary 1111 1010 equals Hex FA.
  • Decimal to Hexadecimal (Base 10 to Base 16): Frequently used in web development (HTML/CSS colors) and memory addressing. The decimal number 255 converts to FF.
  • Octal to Binary (Base 8 to Base 2): Used in legacy computing and file permissions (like Linux `chmod`). Every one octal digit expands into exactly three binary bits. Octal 7 equals Binary 111.
  • Base 36 to Decimal (Base 36 to Base 10): Used in decoding compressed alphanumeric IDs. The string Z in Base 36 is mathematically equal to 35 in Decimal.

Tips for Accurate Conversion

When working with numeral systems, strict adherence to the rules of each base is critical to avoiding errors. A base indicates the total number of distinct symbols it uses. Therefore, the highest valid digit in any base is always Base - 1. For example, Base 8 (Octal) only permits the digits 0 through 7. Entering an '8' in an octal field is mathematically invalid.

Similarly, for bases higher than 10, ensure that the letters you input do not exceed the capacity of the base. In Hexadecimal (Base 16), valid letters range from A to F. Entering the letter 'G' will result in an invalid parsing error because 'G' signifies a value of 16, which is only valid starting in Base 17. The converter handles capitalization automatically, so entering lowercase 'a' or uppercase 'A' will both work perfectly.

Frequently Asked Questions

How do I convert a decimal number to binary?

To convert a decimal (Base 10) number to binary (Base 2), you repeatedly divide the number by 2. The remainder of each division becomes the next binary digit (starting from the right). Our converter automates this process instantly.

What digits are valid in hexadecimal (Base 16)?

Hexadecimal uses 16 unique symbols: the numbers 0 through 9, and the letters A through F (where A represents 10, B is 11, C is 12, D is 13, E is 14, and F is 15).

Why do bases above 10 use letters?

Because the standard Arabic numeral system only has 10 unique digits (0-9). For bases greater than 10, additional single-character symbols are needed to represent values like 10, 11, and 12, so the alphabet (A-Z) is used.

What is the maximum base this converter supports?

This converter supports up to Base 36. This is because Base 36 utilizes all 10 numerical digits (0-9) plus all 26 letters of the English alphabet (A-Z), making it the practical maximum for standard alphanumeric representation.

Can I convert a binary number directly to hexadecimal?

Yes, you can. Since both binary (Base 2) and hexadecimal (Base 16) are powers of 2, conversion is seamless. Every four binary digits (bits) map perfectly to one hexadecimal digit. Simply select 'Binary' as your From unit and 'Hexadecimal' as your To unit.