Base 10 to base 22

Convert Decimal to Base 22

Convert base 10 values to base 22. Integers remain exact even when they exceed JavaScript's ordinary safe-number limit.

4210 = 1K22

Same value in common bases

BaseValue

Method

How to convert base 10 to base 22

Each decimal digit is evaluated by its power of 10. The exact value is then repeatedly divided by 22 to produce the destination digits.

value10 = sum(digit x 10position)

For fractional digits, the converter keeps an exact rational numerator and denominator, then generates up to 32 destination digits. An ellipsis marks a repeating or longer expansion.

Examples

Decimal to Base 22 table

Decimal (base 10)Base 22 (base 22)
11
22
10A
421K
1004C
255BD
102422C

Related

Continue converting