Binary to Quaternary Converter
Type a binary number to see it in quaternary. Below: how the conversion works, a worked example and a conversion table.
11111111 binary = 3333 quaternary
How to convert binary to quaternary
Go through decimal: first multiply each digit by 2 raised to the power of its position (counting from 0 on the right) and add the results; then divide the number by 4 again and again and write down the remainders; read in reverse order, the remainders are the quaternary digits.
Example: 11111111 to quaternary
Step 1: Binary to decimal
Multiply each digit by 2 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
1 | 27 = 128 | 128 |
1 | 26 = 64 | 64 |
1 | 25 = 32 | 32 |
1 | 24 = 16 | 16 |
1 | 23 = 8 | 8 |
1 | 22 = 4 | 4 |
1 | 21 = 2 | 2 |
1 | 20 = 1 | 1 |
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
Step 2: Decimal to quaternary
Divide by 4 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the quaternary digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 255 ÷ 4 | 63 | 3 |
| 63 ÷ 4 | 15 | 3 |
| 15 ÷ 4 | 3 | 3 |
| 3 ÷ 4 | 0 | 3 |
Result: 255 = 3333 in quaternary.
Binary to Quaternary table
| Binary | Quaternary |
|---|---|
0 |
0 |
1 |
1 |
10 |
2 |
11 |
3 |
100 |
10 |
101 |
11 |
110 |
12 |
111 |
13 |
1000 |
20 |
1001 |
21 |
1010 |
22 |
1011 |
23 |
1100 |
30 |
1101 |
31 |
1110 |
32 |
1111 |
33 |
10000 |
100 |
100000 |
200 |
1000000 |
1000 |
1100100 |
1210 |
1111111 |
1333 |
10000000 |
2000 |
11111111 |
3333 |
100000000 |
10000 |
1000000000 |
20000 |
1111101000 |
33220 |
1111111111 |
33333 |
10000000000 |
100000 |
Binary to other systems
Other systems to quaternary
Reverse conversion
Frequently asked questions
How do you convert binary to quaternary?
Go through decimal: first multiply each digit by 2 raised to the power of its position (counting from 0 on the right) and add the results; then divide the number by 4 again and again and write down the remainders; read in reverse order, the remainders are the quaternary digits.
What is 11111111 in quaternary?
11111111 in binary is 3333 in quaternary.