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:

DigitPlace valueDigit × place
127 = 128128
126 = 6464
125 = 3232
124 = 1616
123 = 88
122 = 44
121 = 22
120 = 11

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:

DivisionQuotientRemainder (digit)
255 ÷ 4633
63 ÷ 4153
15 ÷ 433
3 ÷ 403

Result: 255 = 3333 in quaternary.

Binary to Quaternary table

BinaryQuaternary
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

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.