Convert Base 3 to Base 7

Convert Base 3 (base 3) to Base 7 (base 7) instantly and accurately.

Selected Base 3 (base 3) - available characters: 0, 1, 2

Base 3 (base 3)
Base 7 (base 7)

Conversion Formula

Step-by-step example using the value 42 (decimal):

Convert Base 3 (base 3) → Base 7 (base 7)

Step 1: Expand each digit of 1120 (base 3) by position:

        1 × 3^3 = 27
        1 × 3^2 =  9
        2 × 3^1 =  6
        0 × 3^0 =  0
        ────────────
        Sum = 42 (decimal)

Step 2: Divide 42 by 7 repeatedly (read remainders upward):

        42 ÷ 7 = 6  r 0
         6 ÷ 7 = 0  r 6
        Read remainders upward: 60

────────────────────────────
Result:  1120 (base 3) = 60 (base 7)

About Base 3

Ternary (base 3) uses digits 0, 1, 2. Each position is a power of 3: 3⁰=1, 3¹=3, 3²=9, 3³=27. Balanced ternary (−1, 0, +1) represents negatives without a sign and minimises rounding error. The Soviet Setun computer (1958) was the only practical balanced-ternary machine. Ternary underlies the Cantor set and Toom-Cook multiplication. Conversion: decimal 42 = 1×27+1×9+2×3+0 = 1120₃.

About Base 7

Septenary (base 7) uses digits 0-6. Each position is a power of 7: 7⁰=1, 7¹=7, 7²=49. Seven is prime, so every fraction p/q (q not divisible by 7) produces a purely repeating expansion. Seven days of the week derive from Babylonian astronomy (the 7 naked-eye celestial objects). Reed-Solomon codes used in QR codes and Blu-ray draw on prime-field properties of GF(7). Conversion: decimal 42 = 6×7+0 = 60₇.

Quick Reference Table

Base 3 (base 3)Base 7 (base 7)
11
22
125
2211
10113
12021
12122
112060
2101121
10201202
100110513

→ Full Number Base Converter