Vigesimal (Base 20) to Base 32 Converter
Convert vigesimal numbers to base 32.
CF (base 20) = 7V (base 32)
Digits in base 20: 0 to 9 and A to J. Digits in base 32: 0 to 9 and A to V.
How to convert Vigesimal to Base 32
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 20 the place values, from the right, are 200 = 1, 201 = 20, 202 = 400 and so on.
Most pairs have no direct trick, so go through decimal, the base we all calculate in. First turn the base 20 number into decimal, then divide by 32 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 20: 1, 20, 400, 8000, 160000, and so ondivide by 32, keep the remainder, repeat until the quotient is 0the answer is the remainders read from last to firstdigits in base 20: 0 to 9 and A to Jdigits in base 32: 0 to 9 and A to V
Worked example 1: 25 from vigesimal to base 32
Step 1: base 20 to decimal25 (base 20) = 2 × 201 + 5 × 200= 40 + 5= 45Step 2: decimal to base 3245 ÷ 32 = 1 remainder 13 (D)1 ÷ 32 = 0 remainder 1Read the remainders from the bottom up: 1D25 (base 20) = 1D (base 32)
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: CF from vigesimal to base 32
Step 1: base 20 to decimalCF (base 20) = 12 × 201 + 15 × 200= 240 + 15= 255Step 2: decimal to base 32255 ÷ 32 = 7 remainder 31 (V)7 ÷ 32 = 0 remainder 7Read the remainders from the bottom up: 7VCF (base 20) = 7V (base 32)
Worked example 3: 2A0 from vigesimal to base 32
Step 1: base 20 to decimal2A0 (base 20) = 2 × 202 + 10 × 201= 800 + 200= 1,000Step 2: decimal to base 321,000 ÷ 32 = 31 remainder 831 ÷ 32 = 0 remainder 31 (V)Read the remainders from the bottom up: V82A0 (base 20) = V8 (base 32)
Need the other direction? Open the Base 32 to Vigesimal converter.
Vigesimal to Base 32 examples
The decimal number 255 is written CF in vigesimal and 7V in base 32.
| Vigesimal | Base 32 | Decimal |
|---|---|---|
| 1 | 1 | 1 |
| 2 | 2 | 2 |
| 7 | 7 | 7 |
| 8 | 8 | 8 |
| A | A | 10 |
| F | F | 15 |
| G | G | 16 |
| 1C | 10 | 32 |
| 34 | 20 | 64 |
| 50 | 34 | 100 |
| CF | 7V | 255 |
| 2A0 | V8 | 1000 |
Where Vigesimal to Base 32 comes up
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.
Base 32 here uses 0 to 9 and A to V, and each digit stands for exactly five bits. It is handy for compact IDs. The text encodings called Base32 in RFC 4648 work on bytes and use their own alphabets, so their output is not the same as converting a whole number.
Going to a larger base packs more value into each digit, so the result is shorter. The number 255 needs 2 digits in vigesimal and 2 in base 32.
Vigesimal to Base 32 FAQ
How do I convert vigesimal to base 32?
Convert to decimal first by adding up each digit times its place value, then divide that decimal number by 32 repeatedly and read the remainders from last to first.
Which digits does vigesimal use?
Base 20 uses the digits 0 to 9 and A to J. For example, K is not a valid digit in base 20. Letters are not case sensitive on this converter, and results are shown in capitals.
Will the base 32 number be longer or shorter?
Shorter. Going to a larger base packs more value into each digit, so the result is shorter. Roughly 0.86 base 32 digits for every vigesimal digit. The number 255 needs 2 digits in vigesimal and 2 in base 32.
What is CF in base 32?
CF in vigesimal is 7V in base 32. 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.