Convert Base 7 to Base 4
Convert Base 7 (base 7) to Base 4 (base 4) instantly and accurately.
Selected Base 7 (base 7) - available characters: 0, 1, 2, 3, 4, 5, 6
Conversion Formula
Step-by-step example using the value 42 (decimal):
Convert Base 7 (base 7) → Base 4 (base 4)
Step 1: Expand each digit of 60 (base 7) by position:
6 × 7^1 = 42
0 × 7^0 = 0
────────────
Sum = 42 (decimal)
Step 2: Divide 42 by 4 repeatedly (read remainders upward):
42 ÷ 4 = 10 r 2
10 ÷ 4 = 2 r 2
2 ÷ 4 = 0 r 2
Read remainders upward: 222
────────────────────────────
Result: 60 (base 7) = 222 (base 4)
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₇.
About Base 4
Quaternary (base 4) uses digits 0-3. Each position is a power of 4: 4⁰=1, 4¹=4, 4²=16. Because 4 = 2², each quaternary digit maps to exactly 2 bits (0=00, 1=01, 2=10, 3=11). Used in bioinformatics to encode DNA nucleotides (A, C, G, T = 0-3), storing the human genome (3.2 Gbp) in ≈750 MB. 4-QAM encodes exactly 2 bits per symbol. Conversion: decimal 42 = 2×16+2×4+2 = 222₄.
Quick Reference Table
| Base 7 (base 7) | Base 4 (base 4) |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 5 | 11 |
| 11 | 20 |
| 13 | 22 |
| 21 | 33 |
| 22 | 100 |
| 60 | 222 |
| 121 | 1000 |
| 202 | 1210 |
| 513 | 3333 |