Binary Number System: Conversion, Formulas and Examples

Binary Number System uses only two digits, 0 and 1, to represent numbers. It is a base-2 positional system in which each position has a power-of-2 value. This page explains binary place values, decimal and binary conversions, binary arithmetic, fractions, formulas and quick methods with simple examples.

On this page

What Is the Binary Number System?

The Binary Number System is a base-2 number system that uses only the digits 0 and 1. The value of each digit depends on its position, and the position values are powers of 2.

Starting from the right, the place values are 2⁰, 2¹, 2², 2³ and so on. For example, 1011₂ = 1 × 2³ + 0 × 2² + 1 × 2¹ + 1 × 2⁰ = 8 + 0 + 2 + 1 = 11₁₀. The subscript indicates the base of the number.

Binary Number System Formula & Tricks

Important Formulas

Binary positional value
(bₙbₙ₋₁...b₁b₀)₂ = bₙ×2ⁿ + bₙ₋₁×2ⁿ⁻¹ + ... + b₁×2¹ + b₀×2⁰

Multiply every binary digit by the power of 2 assigned to its position and add the results.

Decimal value of a binary fraction
(b₁b₂...bₙ.b₋₁b₋₂...)₂ = Σ bᵢ×2ⁱ

Digits to the left of the binary point use non-negative powers of 2; digits to the right use negative powers.

Decimal-to-binary repeated division
Read the remainders from last to first

Repeatedly divide the decimal integer by 2, record each remainder, and arrange the remainders in reverse order.

Binary-to-decimal conversion
Decimal value = Σ(binary digit × corresponding power of 2)

Use the positional expansion of the binary number and add all non-zero place values.

Quick Tricks

Use powers of 2 as a place-value table

Write 1, 2, 4, 8, 16, 32 and so on from right to left. Select the powers whose sum equals the decimal number.

Example: 13 = 8 + 4 + 1, so 13₁₀ = 1101₂.
Use repeated division for decimal integers

Divide by 2 until the quotient becomes zero. The binary answer is obtained by reading the remainders upward.

Example: 10 ÷ 2 gives remainders 0, 1, 0, 1 when read upward; therefore 10₁₀ = 1010₂.
Convert binary groups using fixed place values

For a 4-bit group, use 8, 4, 2 and 1. For a 3-bit group, use 4, 2 and 1. Leading zeroes may be added to complete a group.

Example: 0101₂ = 0×8 + 1×4 + 0×2 + 1×1 = 5₁₀.

Binary Number System Concepts

Binary Place Value and Representation

Each binary position represents a power of 2, beginning with 2⁰ at the rightmost position.

In an integer binary number, positions increase from right to left as 2⁰, 2¹, 2², 2³ and so forth. A digit 1 includes that place value, while a digit 0 excludes it. Leading zeroes do not change the value.

Example: 11001₂ = 1×16 + 1×8 + 0×4 + 0×2 + 1×1 = 25₁₀.

Decimal to Binary Conversion

To convert a positive decimal integer to binary, repeatedly divide it by 2 and read the remainders from bottom to top.

At each step, the remainder is either 0 or 1. Continue until the quotient is 0. For 19: 19÷2 gives remainder 1, 9÷2 gives 1, 4÷2 gives 0, 2÷2 gives 0 and 1÷2 gives 1. Reading upward gives 10011₂.

Example: 19₁₀ = 10011₂ because 16 + 2 + 1 = 19.

Binary to Decimal Conversion

To convert binary to decimal, multiply each digit by its corresponding power of 2 and add the products.

The rightmost digit has weight 1, the next has weight 2, then 4, 8, 16 and so on. Only positions containing 1 contribute to the final value.

Example: 101101₂ = 32 + 8 + 4 + 1 = 45₁₀.

Binary Addition and Subtraction

Binary addition follows four basic rules: 0+0=0, 0+1=1, 1+0=1 and 1+1=10₂.

When 1+1 occurs, write 0 and carry 1 to the next position. In subtraction, 0−1 requires borrowing from the next position; the borrowed 1 represents 2 in the current binary position.

Example: 1011₂ + 1101₂ = 11000₂, since 11 + 13 = 24. Also, 10110₂ − 00111₂ = 01111₂, since 22 − 7 = 15.

Binary Fractions

Binary digits after the point represent negative powers of 2: 2⁻¹, 2⁻², 2⁻³ and so on.

The first digit after the point has value 1/2, the second has value 1/4, and the third has value 1/8. Multiply each fractional digit by its place value and add the results.

Example: 0.101₂ = 1×1/2 + 0×1/4 + 1×1/8 = 5/8 = 0.625₁₀.

Binary Number System Video Lessons

Watch short topic-wise lessons for quick revision.

14 Lessons
Lesson 1 of 14 Quick Revision

Prime Numbers: Test and Find Them Fast

Learn how to test whether a number is prime and identify prime numbers efficiently using clear divisibility checks and practical methods.

Continue with more lessons and practice in PrepShots.Watch More in App - Start ₹1 Trial →
More Binary Number System Lessons Scroll to explore →

Practice Binary Number System Questions

Practise published questions related to this topic.

Binary Number System Quick Quiz

Attempt 5 questions and check your score instantly.

Quick Revision Notes

Binary Number System Quick Revision

Remember these place-value rules and conversion methods for binary calculations.

  • Binary is a base-2 system using only 0 and 1.
  • From right to left, integer place values are 2⁰, 2¹, 2², 2³ and so on.
  • Binary-to-decimal conversion uses the sum of digit × corresponding power of 2.
  • Decimal-to-binary conversion uses repeated division by 2 and reverse-order remainders.
  • In binary addition, 1+1 produces 0 with a carry of 1.
  • Digits after the binary point use 2⁻¹, 2⁻², 2⁻³ and so on.
  • Leading zeroes may be added or removed without changing an integer's value.

Binary Number System FAQs

What is the decimal value of 1111₂?

1111₂ = 1×8 + 1×4 + 1×2 + 1×1 = 15₁₀.

How do you convert 25₁₀ to binary?

25 = 16 + 8 + 1, so the digits for 16, 8, 4, 2 and 1 are 1, 1, 0, 0 and 1. Therefore, 25₁₀ = 11001₂.

What is 100000₂ in decimal?

The leftmost 1 has the value 2⁵, so 100000₂ = 32₁₀.

What is the result of 101₂ + 11₂?

Align the digits: 101₂ + 011₂ = 1000₂. In decimal terms, 5 + 3 = 8.

How is a binary fraction converted to decimal?

Multiply digits after the point by 2⁻¹, 2⁻² and so on. For example, 0.11₂ = 1/2 + 1/4 = 0.75₁₀.

What is the largest decimal number represented by n binary digits?

For n digits, the largest value is 2ⁿ − 1 because all n digits are 1. For 8 digits, the maximum is 2⁸ − 1 = 255.

Continue learning Binary Number System on PrepShots

Continue on PrepShots