How to learn › Coding & Tech
Coding & Tech

How to Learn Binary and Hexadecimal

Computers count in binary (base 2) and programmers often write in hexadecimal (base 16) as a shorthand. Learning to read and convert both is core computer science. This deck teaches the digit values, small conversions, and the shortcuts.

There are 12 cards in the deck below. You can read through them, practise them right here with the flip-card player, and then save the deck to study properly with spaced repetition — the method that makes them stick for months, not minutes.

QUESTION
Tap the card to reveal the answer

Why binary and hexadecimal is hard to memorize (and the fix)

Binary looks alien at first (why does 1010 mean ten?), and hex adds letters (A–F) as digits. Learning place values in each base makes conversion mechanical.

The fix is active recall plus spaced repetition. Instead of re-reading the list (which feels productive but barely works), you test yourself — pull each answer out of memory — and you review each card on a schedule that stretches over time. Every time you successfully recall a fact, the memory gets stronger and the next review is pushed further out. That's how you go from "I saw it once" to "I just know it."

The fastest way to learn binary and hexadecimal

  1. Break it into small batches. Learn binary place values first (1, 2, 4, 8…), then hex digits (0–F), then how one hex digit equals four binary digits.
  2. Test, don't re-read. Look at the question, say the answer out loud before flipping the card. The little struggle to recall is what builds the memory — a smooth re-read does almost nothing.
  3. Review on a schedule. Spaced repetition shows you each card right before you'd forget it. Get one right and it comes back in a few days, then a week, then a month. Miss one and it comes back sooner.
  4. Keep sessions short and daily. Five to ten minutes a day beats a two-hour cram every time. Consistency is the whole game.
Memory trick: Binary places double: 1, 2, 4, 8, 16, 32… Hex goes 0–9 then A(10) B(11) C(12) D(13) E(14) F(15). One hex digit = exactly 4 binary bits.

One fact per card. Hex is popular because one hex digit maps neatly onto 4 binary bits — F = 1111, making binary far easier to read.

The full deck: Binary and Hexadecimal

Here's every card in the set. Practise them above, or save the deck and let spaced repetition schedule your reviews automatically.

QuestionAnswer
What base is binary?Base 2 (digits 0 and 1)
What base is hexadecimal?Base 16 (digits 0–9 and A–F)
What are the binary place values (right to left)?1, 2, 4, 8, 16, 32, 64, 128…
What is binary 1010 in decimal?10 (8 + 2)
What is binary 1111 in decimal?15 (8 + 4 + 2 + 1)
What is decimal 5 in binary?101
What hex digit equals decimal 10?A
What hex digit equals decimal 15?F
What is hex FF in decimal?255
How many binary bits does one hex digit represent?Four
How many values can 8 bits (one byte) represent?256 (0–255)
What is the largest value of a single byte?255 (binary 11111111, hex FF)

Save this deck and actually remember it

Create a free account, keep this 12-card deck, and we'll schedule every review at the perfect moment. First deck free forever — no credit card.

Study this deck free →

FAQ: learning binary and hexadecimal

How long does it take to learn binary and hexadecimal?

Most people can lock in binary and hexadecimal within one to three weeks of short daily sessions. With spaced repetition doing 10–12 cards a day, you'll recognise them within days and recall them reliably within a couple of weeks.

What's the best way to memorize binary and hexadecimal?

Active recall plus spaced repetition. Test yourself instead of re-reading, and review on a schedule that spaces the cards out over time. Flashcards are built for exactly this — which is why the deck above is the fastest path.

Is this deck free?

Yes. You can practise all 12 cards on this page for free with no account. Sign up (also free) to save the deck and let spaced repetition schedule your reviews so it sticks long-term.

More coding & tech guides

Learn the Python BasicsLearn the JavaScript Array MethodsLearn the CSS PropertiesLearn the Linux Terminal CommandsLearn the Data StructuresLearn the Logic Gates

← All “how to learn” guides