Number Base Converter

Convert between any number base (2-36)

ConvertersFreeNo Signup
4.2(659 reviews)
All Tools

Loading tool...

About Number Base Converter

A universal number base converter supporting any radix from 2 to 36. Enter a number in one base and instantly convert it to any other. Goes beyond the typical binary/decimal/hex converter by supporting all bases including octal (8), duodecimal (12), vigesimal (20), and base-36. Shows step-by-step conversion methodology and supports both integer and fractional numbers. Essential for computer science students, programmers, and mathematicians.

Number Base Converter Features

  • Any base 2-36
  • Step-by-step conversion
  • Common base presets
  • Fractional support
  • Instant conversion
Number bases (radixes) are the foundation of how we represent quantities. While we typically use base-10 (decimal), computers use base-2 (binary), and programmers frequently use base-8 (octal) and base-16 (hexadecimal). This converter handles any base from 2 to 36, using digits 0-9 and letters A-Z for values above 9.

How to Use

Enter a number, select its base, then choose the target base:

  • Input base: The base of your source number (2-36)
  • Output base: The base to convert to (2-36)
  • Quick presets: Binary(2), Octal(8), Decimal(10), Hex(16)

Common Number Bases

  • Binary (2): 0 and 1 — used in all digital electronics
  • Octal (8): 0-7 — Unix file permissions
  • Decimal (10): 0-9 — everyday counting
  • Hexadecimal (16): 0-F — colors, memory addresses
  • Base-36: 0-Z — compact encoding (used in URL shorteners)

How Base Conversion Works

To convert from base B to decimal: multiply each digit by B^position and sum. To convert from decimal to base B: repeatedly divide by B and collect remainders in reverse order.

Step-by-Step Instructions

  1. 1Enter a number in the input field.
  2. 2Select the source base (2-36).
  3. 3Select the target base (2-36).
  4. 4View the converted result instantly.
  5. 5Study the step-by-step breakdown.

Number Base Converter — Frequently Asked Questions

Why does base-16 use letters A-F?+

Hexadecimal needs 16 distinct digits. Since we only have 10 numeral symbols (0-9), the next 6 use letters: A=10, B=11, C=12, D=13, E=14, F=15. This extends to base-36 using all 26 letters.

What's the highest base this supports?+

Base 36. It uses digits 0-9 (10 symbols) plus letters A-Z (26 symbols) = 36 total symbols. Beyond base-36, you'd need additional symbol sets.

Why do programmers use hexadecimal?+

Each hex digit represents exactly 4 binary bits (a nibble), making it a compact way to represent binary data. Two hex digits = one byte. This makes memory addresses, color codes (#FF00FF), and binary data much more readable than long strings of 0s and 1s.

Share this tool: