Number Base Converter – Any Base 2 to 36
This calculator converts 255 to 11111111₂, FF₁₆ and 377₈ — or any base 2–36.
- Positional expansion and repeated-division working shown every time.
Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.
How the Number Base Tool Works
This tool converts a single input into every base from 2 to 36 simultaneously. The decimal number 255 becomes 11111111₂ (eight ones), FF₁₆ (15×16+15) and 377₈ (3×64+7×8+7) in one pass. Digits above 9 borrow letters: A=10 through Z=35, so base-36 packs two characters per ~5.17 bits. Conversions into decimal use positional expansion — 2F₁₆ = 2×16+15 = 47 — while conversions out of decimal use repeated division: 255 ÷ 16 = 15 r15, and both 15s read as F. The tool validates digits against the chosen base (9 is illegal in octal, G in hex), shows the division ladder for the target base, and includes quick bit-grouping hints: three binary digits per octal digit, four per hex digit. Table output for bases 2, 8, 10 and 16 is highlighted for programming work.
- 1
Type your number
Any base 2–36, with digits 0–9 and A–Z
- 2
Pick the input base
Or let the tool infer binary/hex from the pattern
- 3
Convert to decimal
Positional expansion Σ dᵢ·bⁱ is displayed
- 4
Fan out to all bases
Every base 2–36 result updates, with division ladders
Use Cases
Programming
Jump 0xFF, 0377 and 0b11111111 conversions for the byte 255
License Plates & Codes
Encode serials in base 36 to shorten them
Math Enrichment
Explore why 255 = 2⁸−1 shows eight 1-bits
Tips
- 1
Base b digits never reach b: octal stops at 7, hex at F
- 2
255 = FF₁₆ because 15×16 + 15 = 255
- 3
Letters as digits: A=10 … Z=35 covers base 36 fully
Common Mistakes
Using digit 8 in octal or G in hexadecimal — invalid for the base
Reading positional weights left-to-right as increasing; they grow right-to-left
Forgetting A–F carry values: F = 15, not a letter to skip
Mixing 0x prefixes into manual arithmetic
FAQs
What is 255 in binary, hex and octal?
What is FF in decimal?
How do digits above 9 work?
Is 9 a valid octal digit?
How do I convert 47 to base 16?
Related tools
Pick another tool to continue your calculation.
Number Properties Explorer – Factors & More
Discover properties of any natural number.
Random Number Generator – Range & Dice
Generate random numbers within a specified range.
Catalan Number Calculator – C(n) Counts
Calculate the nth Catalan number.
Mixed Number to Decimal Converter
Convert mixed numbers to decimals and vice versa.
Armstrong Number Checker – Narcissistic Test
Check if a number is an Armstrong number.
Perfect Number Checker – Divisor Sums
Check if a number is perfect and list its divisors.