Base 3 to base 7

Convert Base 3 to Base 7

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

11203 = 607

Same value in common bases

BaseValue

Method

How to convert base 3 to base 7

Each base 3 digit is evaluated by its power of 3. The exact value is then repeatedly divided by 7 to produce the destination digits.

value10 = sum(digit x 3position)

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

Base 3 to Base 7 table

Base 3 (base 3)Base 7 (base 7)
11
22
10113
112060
10201202
100110513
11012212662

Related

Continue converting