Convert Binary to Base 7
Convert Binary (bin) to Base 7 (base 7) instantly and accurately.
Selected Binary (bin) - available characters: 0, 1
Conversion Formula
Step-by-step example using the value 42 (decimal):
Convert Binary (base 2) → Base 7 (base 7)
Step 1: Expand each digit of 101010 (bin) by position:
1 × 2^5 = 32
0 × 2^4 = 0
1 × 2^3 = 8
0 × 2^2 = 0
1 × 2^1 = 2
0 × 2^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: 101010 (bin) = 60 (base 7)
About Binary
Binary (base 2) is the foundational numeral system of all digital electronics, using only 0 and 1. Each position represents a power of 2: 2⁰=1, 2¹=2, 2²=4, 2³=8. Leibniz formalised it in 1679; Shannon applied Boolean logic to circuits in 1948. 8 bits = 1 byte (256 values) - the fundamental unit in every CPU from the 8080 to ARM Cortex-X. Every integer, float, character, pixel, and instruction in any digital device is ultimately binary. Conversion: decimal 42 = 32+8+2 = 2⁵+2³+2¹ = 101010₂.
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
| Binary (bin) | Base 7 (base 7) |
|---|---|
| 1 | 1 |
| 10 | 2 |
| 101 | 5 |
| 1000 | 11 |
| 1010 | 13 |
| 1111 | 21 |
| 10000 | 22 |
| 101010 | 60 |
| 1000000 | 121 |
| 1100100 | 202 |
| 11111111 | 513 |