Interactive Learning Tool

Number Base Explorer

Understand positional notation from base 2 to base 36

Live Converter
Base
10
Decimal
Positional Breakdown
Base Comparison
Add custom base
0 correct
0 wrong
🔢
What is a Number Base?
›

A number base (or radix) is the number of unique digits a positional numeral system uses. In everyday life we use base 10 — ten digits: 0 through 9.

The key insight is positional value: each position in a number represents a power of the base. Position 0 (rightmost) = base⁰ = 1. Position 1 = base¹. Position 2 = base². And so on.

In base 10, the number 347 means: (3 × 100) + (4 × 10) + (7 × 1) = 347

In base 2, the number 1011 means: (1 × 8) + (0 × 4) + (1 × 2) + (1 × 1) = 11

🔄
How to Convert: Decimal → Another Base
›

To convert a decimal number to another base, repeatedly divide by the base and collect remainders from bottom to top.

Let's convert 45 to base 3:

⚙
Common Number Bases in Computing
›

Different bases are used in computing and mathematics for different reasons:

Binary
Base 2
Digits: 0,1. The language of computers — every bit is a 0 or 1.
Octal
Base 8
Digits: 0–7. Compact shorthand for binary; used in Unix file permissions.
Decimal
Base 10
Digits: 0–9. Our everyday number system, based on 10 fingers.
Hexadecimal
Base 16
Digits: 0–9, A–F. Widely used in HTML colors, memory addresses.
Sexagesimal
Base 60
Used by ancient Babylonians. Still with us: 60 seconds, 60 minutes!
Vigesimal
Base 20
Used by Maya civilization. French: "quatre-vingts" = 4×20 = 80.
🔤
Digit Symbols for Bases Above 10
›

When a base exceeds 10, we need more than 10 symbols. Convention uses letters A–Z after the digits 0–9:

A = 10, B = 11, C = 12, D = 13, E = 14, F = 15, …, Z = 35

So in hexadecimal (base 16), the number FF = (15 × 16) + 15 = 255. That's why web color #FF0000 is pure red at full intensity.

In base 36 (the maximum here), every alphanumeric character is a unique digit — useful for compact URL shorteners and unique IDs.

Digit map: