AP Courses AP Biology AP Biology Units AP Human Geography AP HUG Units AP Computer Science Principles AP CSP Units
Practice Daily Practice Practice by Course Practice by Topic Practice Tests
AP Exam Resources AP Exam Dates Registration Fees Scores & Credit What to Bring
Start Practicing → Login Register →

AP Computer Science Principles · Unit 2 · Data

Binary to Decimal Conversion in AP CSP

Unit 2 · Conversion · ~8 min read

Binary to decimal conversion is an AP CSP Unit 2 skill where you translate a base-2 number into its base-10 value. The key is simple: write the binary place values, then add only the values under 1s.

On this page, you will learn the step-by-step method, see worked examples, avoid common mistakes, and practice small AP-style conversion questions.

Updated May 21, 2026Reviewed by APScore5 Editorial TeamAP CSP Unit 2 · Data

Place valuesPowers of 2Binary to decimalWorked examplesAP-style practiceCommon mistakes
Direct answer

Binary to decimal conversion adds powers of two where bits are 1. Write place values 1, 2, 4, 8 under the bits, then sum only the values under 1s—1010₂ is 8 + 2 = 10.

Quick answer

What is binary to decimal conversion in AP CSP?

Binary to decimal AP CSP
Figure - Binary To Decimal Conversion Place Values

Binary to decimal conversion translates a base-2 number into its base-10 value. AP CSP expects you to use place values, not treat the string like a decimal numeral.

In one sentence: Add the place values under each 1; ignore zeros.

Binary place values you need to know

From right to left, positions are powers of two: 1, 2, 4, 8, 16, 32, 64, 128. Each step left doubles the value. Most exam items use four to eight bits.

Bit position (right → left)Place value
Ones1
Twos2
Fours4
Eights8

How to convert binary to decimal

  1. Write the binary digits with space between them if helpful.
  2. Line up place values 1, 2, 4, 8, 16 under each bit from right to left.
  3. Circle every position where the bit is 1.
  4. Add those place values only. Zeros contribute nothing but keep alignment.

Binary to decimal worked examples

What is 101₂ in decimal?

Place values: 4, 2, 1. Bits: 1, 0, 1. Add 4 + 1 = 5.

What is 1010₂ in decimal?

Place values: 8, 4, 2, 1. Add 8 + 2 = 10.

What is 1101₂ in decimal?

Add 8 + 4 + 1 = 13.

What is 1111₂ in decimal?

Add 8 + 4 + 2 + 1 = 15.

Decimal to binary quick note

AP CSP may ask the reverse on a few items: find the largest power of two that fits, subtract, mark a 1, repeat. Decimal 10 → 1010₂; decimal 13 → 1101₂. This page focuses on binary → decimal; use the same place-value row to check your work.

Common mistakes in binary to decimal conversion

  • Reading 100₂ as one hundred instead of four.
  • Skipping a zero column between two ones.
  • Adding every digit as if it were base 10.

How AP CSP tests binary conversion

Stems use small strings such as 101, 1010, 1101, or 1111. Wrong options often multiply by ten or drop a place value. Show the power row on scratch paper until the habit is automatic.

Practice

AP CSP practice questions: Binary to decimal conversion

Twelve topic checks on small conversions. Choices shuffle on load.

Binary 101₂ equals decimal:

Q1

Binary 1010₂ equals decimal:

Q2

Binary 1101₂ equals decimal:

Q3

Binary 1111₂ equals decimal:

Q4

Binary 1001₂ equals decimal:

Q5

Right-to-left binary place values start with:

Q6

A student says 100₂ is "one hundred." The correct decimal value is:

Q7

Decimal 10 in binary is:

Q8

Decimal 13 in binary is:

Q9

Leading zeros in 00101₂ change the value by:

Q10

Which place value sits under the rightmost bit?

Q11

When converting binary to decimal, zero bits:

Q12
Before you leave

What you should be able to do now

Frequently asked questions

How do you convert binary to decimal in AP CSP?

Write the place values under each bit from right to left: 1, 2, 4, 8, 16. Add only the place values where the bit is 1 and ignore zeros. For example, 1010₂ is 8 + 2 = 10. Say the powers aloud while you trace so you do not skip a column.

What is binary 101 in decimal?

101₂ is 4 + 1 = 5 in decimal. The rightmost 1 is in the ones place, the middle 0 adds nothing, and the left 1 is in the fours place. Students sometimes read 101 as one hundred because they treat it like base 10.

What is binary 1010 in decimal?

1010₂ is 8 + 2 = 10. The 1 in the eights place and the 1 in the twos place contribute; the zeros only hold positions. This pattern appears often on AP CSP Unit 2 items.

What are binary place values?

Each bit position is a power of two starting at 1 on the right: 1, 2, 4, 8, 16, 32, 64, 128. Moving left multiplies the place value by two. AP CSP expects you to use these values, not memorize huge tables.

What is the fastest way to convert binary to decimal?

Line up place values, circle every 1, and add those values only. This sum method beats trying to multiply the string as if it were decimal. Practicing 101, 1010, 1101, and 1111 builds speed for exam-sized numbers.

Do zeros count when converting binary to decimal?

Zeros do not add to the total, but they keep bit positions aligned. In 1001₂, the middle zeros separate the 8 and 1 places. Dropping a zero column is a common reason a correct-looking string gives the wrong decimal.

What is the biggest binary conversion mistake?

Treating binary digits like base-10 place values is the top error—reading 100₂ as one hundred instead of four. The second trap is skipping a column when a zero sits between two ones. Write the power row every time until the habit sticks.

Do AP CSP students need huge binary conversions?

No. AP CSP usually tests small binary strings to check place-value reasoning, not long hand division. If a stem shows many digits, check whether the question actually limits bit width before you calculate a huge value.

How do you check a binary conversion answer?

Convert your result back to binary using place values or the subtract-largest-power method. If you started with 13 and wrote 1101₂, summing the bits should return 13. That round-trip catches transposed digits quickly.

What should I study after binary to decimal conversion?

Open the bits-and-bytes guide if file-size units still feel fuzzy, then data compression for ratios. Take the eighteen-question Unit 2 quiz when conversions feel solid, and use the fifty-question practice set for mixed review.

Unit 2 Quiz Unit 2 Guide