Practice converting between binary and decimal numbers. Type your answer and beat the timer to level up!

Level
1
Score
0
Time
10

Convert this number:

1010
BINARY

What Is Binary?

Binary is the fundamental language of computers. While we use the decimal system (base 10) with digits 0 through 9 in everyday life, computers operate using the binary system (base 2), which uses only two digits: 0 and 1. Every piece of data on your computer — text, images, videos, and software — is ultimately represented as sequences of these two digits, called bits. The word "bit" is short for "binary digit," and it is the smallest unit of data in computing.

How to Convert Binary to Decimal

To convert a binary number to decimal, assign each digit a positional value based on powers of 2, starting from the rightmost digit at position 0. Multiply each binary digit by its corresponding power of 2, then add all the results together.

Example: Convert 1101 to Decimal

  • 1 × 2³ = 1 × 8 = 8
  • 1 × 2² = 1 × 4 = 4
  • 0 × 2¹ = 0 × 2 = 0
  • 1 × 2° = 1 × 1 = 1

Adding them up: 8 + 4 + 0 + 1 = 13. So binary 1101 equals decimal 13.

How to Convert Decimal to Binary

To convert a decimal number to binary, repeatedly divide the number by 2 and record the remainder at each step. Continue dividing the quotient by 2 until you reach 0. Then read the remainders from bottom to top — that sequence is the binary representation.

Example: Convert 25 to Binary

  • 25 ÷ 2 = 12, remainder 1
  • 12 ÷ 2 = 6, remainder 0
  • 6 ÷ 2 = 3, remainder 0
  • 3 ÷ 2 = 1, remainder 1
  • 1 ÷ 2 = 0, remainder 1

Reading remainders from bottom to top: 11001. So decimal 25 equals binary 11001.

Binary-Decimal Reference Table

Here is a quick reference table for the most common binary-to-decimal conversions. Memorizing these values will help you convert numbers faster during the game.

Decimal Binary Decimal Binary
0000081000
1000191001
20010101010
30011111011
40100121100
50101131101
60110141110
70111151111

Why Learn Binary?

Understanding binary is essential for anyone interested in computer science, programming, or information technology. Binary is the foundation of how processors execute instructions, how memory stores data, and how networks transmit information. Learning to convert between binary and decimal builds your number sense, strengthens logical thinking, and gives you a deeper understanding of how the digital world works beneath the surface. Whether you are a student, a developer, or simply curious, practicing binary conversions is a valuable and rewarding skill.

How 2Bit Works

2Bit is a free, interactive binary conversion game designed to make learning fun and effective. You are presented with a number and must convert it between binary and decimal before the timer runs out. Each correct answer earns points and advances you to the next level, where the numbers get larger and more challenging. Build a streak of consecutive correct answers to prove your mastery. Choose from three game modes: Mixed (random direction), BIN → DEC (binary to decimal only), or DEC → BIN (decimal to binary only). The game is available in English and Italian.

How Binary Works

It's simpler than you think

1

Each binary digit has a position, starting from the right at 0.

Example: 1011
1 pos 3
0 pos 2
1 pos 1
1 pos 0
2

Each position is worth a power of 2. Think of it like slots that double each time.

= 8
= 4
= 2
= 1
3

Multiply each digit by its position value, then add them up.

1 × 8 = 8
+
0 × 4 = 0
+
1 × 2 = 2
+
1 × 1 = 1
Total: 8 + 0 + 2 + 1 = 11

Pro tip: Memorize the powers of 2 (1, 2, 4, 8, 16, 32, 64, 128...) — they're your best friends here.