Base 36 to Vigesimal (Base 20) Converter
Convert base 36 numbers to vigesimal.
73 (base 36) = CF (base 20)
Digits in base 36: 0 to 9 and A to Z. Digits in base 20: 0 to 9 and A to J.
How to convert Base 36 to Vigesimal
Every positional number system works the same way: a digit is worth its own value times the base raised to the power of its position. In base 36 the place values, from the right, are 360 = 1, 361 = 36, 362 = 1296 and so on.
Most pairs have no direct trick, so go through decimal, the base we all calculate in. First turn the base 36 number into decimal, then divide by 20 and read the remainders from the bottom up. Two short steps, and you can check the number in the middle.
The method
decimal value = each digit × its place value, all added upplace values in base 36: 1, 36, 1296, 46656, 1679616, and so ondivide by 20, keep the remainder, repeat until the quotient is 0the answer is the remainders read from last to firstdigits in base 36: 0 to 9 and A to Zdigits in base 20: 0 to 9 and A to J
Worked example 1: 19 from base 36 to vigesimal
Step 1: base 36 to decimal19 (base 36) = 1 × 361 + 9 × 360= 36 + 9= 45Step 2: decimal to base 2045 ÷ 20 = 2 remainder 52 ÷ 20 = 0 remainder 2Read the remainders from the bottom up: 2519 (base 36) = 25 (base 20)
Letters stand for values from 10 up: A = 10, B = 11, C = 12 and so on. Remainders come out last digit first, which is why you read them from the bottom up. Digits that are 0 add nothing to the sum, so they are left out of the expansion.
Worked example 2: 73 from base 36 to vigesimal
Step 1: base 36 to decimal73 (base 36) = 7 × 361 + 3 × 360= 252 + 3= 255Step 2: decimal to base 20255 ÷ 20 = 12 remainder 15 (F)12 ÷ 20 = 0 remainder 12 (C)Read the remainders from the bottom up: CF73 (base 36) = CF (base 20)
Worked example 3: RS from base 36 to vigesimal
Step 1: base 36 to decimalRS (base 36) = 27 × 361 + 28 × 360= 972 + 28= 1,000Step 2: decimal to base 201,000 ÷ 20 = 50 remainder 050 ÷ 20 = 2 remainder 10 (A)2 ÷ 20 = 0 remainder 2Read the remainders from the bottom up: 2A0RS (base 36) = 2A0 (base 20)
Need the other direction? Open the Vigesimal to Base 36 converter.
Base 36 to Vigesimal examples
The decimal number 255 is written 73 in base 36 and CF in vigesimal.
| Base 36 | Vigesimal | Decimal |
|---|---|---|
| 1 | 1 | 1 |
| 2 | 2 | 2 |
| 7 | 7 | 7 |
| 8 | 8 | 8 |
| A | A | 10 |
| F | F | 15 |
| G | G | 16 |
| W | 1C | 32 |
| 1S | 34 | 64 |
| 2S | 50 | 100 |
| 73 | CF | 255 |
| RS | 2A0 | 1000 |
Where Base 36 to Vigesimal comes up
Base 36 uses 0 to 9 and A to Z, the largest base you can write with digits and letters alone. Short IDs and URL slugs often use it, and JavaScript number.toString(36) and parseInt(text, 36) work in base 36.
Vigesimal counts in twenties, with the digits 0 to 9 and A to J. The Maya wrote numbers in a base 20 system, and French still says quatre-vingts, four twenties, for 80.
Going to a smaller base spreads the same value over more digits, so the result is longer. The number 255 needs 2 digits in base 36 and 2 in vigesimal.
Base 36 to Vigesimal FAQ
How do I convert base 36 to vigesimal?
Convert to decimal first by adding up each digit times its place value, then divide that decimal number by 20 repeatedly and read the remainders from last to first.
Which digits does base 36 use?
Base 36 uses the digits 0 to 9 and A to Z. Letters are not case sensitive on this converter, and results are shown in capitals.
Will the vigesimal number be longer or shorter?
Longer. Going to a smaller base spreads the same value over more digits, so the result is longer. Roughly 1.2 vigesimal digits for every base 36 digit. The number 255 needs 2 digits in base 36 and 2 in vigesimal.
What is 73 in vigesimal?
73 in base 36 is CF in vigesimal. Both are the decimal number 255.
Can I convert negative numbers or fractions?
The converter handles whole numbers, and a leading minus sign works for negatives. Fractions use a different method, where you repeatedly multiply the fractional part by the new base, and they are not supported here.