Unsigned Binary to Decimal Converter
Convert an unsigned binary number to decimal instantly. Enter any positive base-2 integer and get its exact base-10 value together with binary place values, bit length, expanded notation and a step-by-step conversion breakdown.
Unsigned Binary to Decimal Conversion
An unsigned binary number is a base-2 integer in which every bit contributes to the magnitude of the number. There is no sign bit and there are no negative values. This means an unsigned binary value can represent zero or a positive whole number only.
The Unsigned Binary to Decimal Converter above converts binary values containing only 0 and 1 into their exact base-10 equivalents. It also identifies the bit width and shows how each active binary position contributes to the decimal result.
For example, the 8-bit binary number 11010110₂ represents 214₁₀. Every bit is interpreted using an ordinary positive power of two.
How to Convert Unsigned Binary to Decimal
Binary is a positional number system with base 2. Starting from the rightmost digit, each position represents a power of two. The rightmost bit represents 2⁰, the next represents 2¹, then 2², 2³ and so forth.
bₙ×2ⁿ + … + b₃×2³ + b₂×2² + b₁×2¹ + b₀×2⁰
Live Unsigned Binary Place-Value Breakdown
The following table updates whenever you use the converter. It identifies each bit position, its power of two, its decimal place value and the amount actually contributed to the final result.
| Bit | Position | Power of 2 | Place Value | Contribution |
|---|
8-Bit Unsigned Binary Place Value Chart
An 8-bit unsigned binary value has eight positive-weight positions. From left to right, those positions represent 128, 64, 32, 16, 8, 4, 2 and 1.
Example: Convert 11010110 Binary to Decimal
Consider the unsigned 8-bit number 11010110₂. Assign the powers of two from right to left and multiply each position by its binary digit.
= (1 × 2⁷)
+ (1 × 2⁶)
+ (0 × 2⁵)
+ (1 × 2⁴)
+ (0 × 2³)
+ (1 × 2²)
+ (1 × 2¹)
+ (0 × 2⁰)
= 128 + 64 + 0 + 16 + 0 + 4 + 2 + 0
= 214₁₀
Because the number is unsigned, the first 1 does not indicate a negative value. Its contribution is simply 2⁷, or 128.
Unsigned Binary to Decimal Examples
These examples demonstrate common binary values and their decimal equivalents.
8 + 2 = 10
8 + 4 + 2 + 1 = 15
1 × 2⁷ = 128
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
1 × 2⁸ = 256
2¹⁰ − 1 = 1023
2¹² − 1 = 4095
2¹⁶ − 1 = 65535
Unsigned Binary Ranges by Bit Width
Increasing the bit width by one doubles the number of possible binary patterns. An n-bit unsigned number has exactly 2ⁿ possible values.
| Bit Width | Number of Values | Minimum | Maximum |
|---|---|---|---|
| 1-bit | 2 | 0 | 1 |
| 2-bit | 4 | 0 | 3 |
| 4-bit | 16 | 0 | 15 |
| 8-bit | 256 | 0 | 255 |
| 16-bit | 65,536 | 0 | 65,535 |
| 32-bit | 4,294,967,296 | 0 | 4,294,967,295 |
| 64-bit | 18,446,744,073,709,551,616 | 0 | 18,446,744,073,709,551,615 |
Unsigned Binary vs Signed Binary
Unsigned and signed binary can use exactly the same sequence of bits but interpret that pattern differently. The distinction is especially important when the leftmost bit is 1.
Consider the 8-bit value 11111111₂. As an unsigned binary integer, every bit contributes positively, so its decimal value is 255.
If the same eight bits are interpreted using two’s complement signed notation, they represent −1. The bit pattern itself has not changed; only the interpretation has changed.
| Binary | Unsigned Decimal | 8-bit Two’s Complement |
|---|---|---|
| 00000000 | 0 | 0 |
| 00000001 | 1 | 1 |
| 01111111 | 127 | 127 |
| 10000000 | 128 | −128 |
| 11111011 | 251 | −5 |
| 11111111 | 255 | −1 |
Do Leading Zeros Change an Unsigned Binary Value?
Leading zeros do not change the numeric value of an unsigned binary integer. For example, 101₂, 0101₂, and 00000101₂ all equal decimal 5.
However, leading zeros can still be meaningful when describing a fixed bit width. Writing 00000101 tells you that the value is being represented as an 8-bit quantity rather than simply as the shortest possible binary representation.
0101₂ = 5₁₀
00000101₂ = 5₁₀
Same numeric value, different displayed bit widths.
How to Find the Maximum Unsigned Value
The largest value for a given unsigned bit width occurs when every bit is set to 1.
2ⁿ − 1
For example, an 8-bit value contains 256 possible patterns because 2⁸ = 256. Since counting begins at zero, the largest decimal value is 255.
Similarly, the maximum 16-bit unsigned value is 65,535 and the maximum 32-bit unsigned value is 4,294,967,295.
Common Powers of Two for Binary Conversion
Knowing common powers of two makes manual binary-to-decimal conversion much faster.
| Power | Decimal Value | Binary Pattern |
|---|---|---|
| 2⁰ | 1 | 1 |
| 2¹ | 2 | 10 |
| 2² | 4 | 100 |
| 2³ | 8 | 1000 |
| 2⁴ | 16 | 10000 |
| 2⁵ | 32 | 100000 |
| 2⁶ | 64 | 1000000 |
| 2⁷ | 128 | 10000000 |
| 2⁸ | 256 | 100000000 |
| 2¹⁰ | 1,024 | 10000000000 |
| 2¹⁶ | 65,536 | 1 followed by 16 zeros |
| 2³² | 4,294,967,296 | 1 followed by 32 zeros |
Where Unsigned Binary Numbers Are Used
Unsigned binary is widely used when negative numbers are unnecessary and the entire available bit range can be devoted to non-negative values.
Unsigned Binary Bytes and Decimal Values
A byte contains eight bits. When interpreted as an unsigned integer, those eight bits provide 256 possible values ranging from 0 to 255.
This is why the number 255 appears frequently in computing. It is the largest value that can be represented using one unsigned byte.
00000001₂ = 1₁₀
01111111₂ = 127₁₀
10000000₂ = 128₁₀
11111110₂ = 254₁₀
11111111₂ = 255₁₀
Converting Large Unsigned Binary Numbers
Very long binary values can exceed the exact integer range normally available to JavaScript’s standard Number type. A calculator that simply uses a normal numeric conversion may therefore lose precision on sufficiently large inputs.
This page avoids that problem for its primary decimal output by performing the conversion using decimal-string arithmetic. Starting with decimal zero, the running result is doubled for each binary digit, and a value of one is added whenever the current bit is 1.
For each binary bit:
result = result × 2 + current bit
This produces the exact decimal integer as text without requiring BigInt.
Common Unsigned Binary Conversion Mistakes
- Treating the first bit as a sign bit. In unsigned binary, the most significant bit has a positive place value.
- Using powers of ten. Binary positions use powers of two rather than decimal place values.
- Starting the rightmost position at 2¹. The rightmost binary bit always has a place value of 2⁰ = 1.
- Using digits such as 2 or 9. A binary integer can contain only 0 and 1.
- Confusing bit width with numeric value. Leading zeros increase the displayed width but do not change an unsigned number’s value.
- Using a signed range for an unsigned number. An 8-bit unsigned value ranges from 0 to 255, whereas an 8-bit two’s-complement signed value ranges from −128 to 127.
- Relying on unsafe numeric conversion for extremely long values. Large binary integers can exceed ordinary floating-point integer precision.
About This Unsigned Binary to Decimal Calculator
This calculator is designed specifically for unsigned base-2 integers. It validates the input, converts the complete binary sequence into decimal, reports the apparent bit width and generates a detailed place-value table.
- Accepts binary integer input containing only 0 and 1.
- Converts both short and very long binary values.
- Uses exact decimal-string arithmetic for the main result.
- Displays the number of entered bits.
- Shows an expanded conversion for practical-sized inputs.
- Generates a bit-by-bit place-value table.
- Provides quick example buttons for common binary numbers.
- Runs entirely in the browser without registration.
- Optimized for desktop, tablet and mobile devices.
Unsigned Binary to Decimal FAQs
What is an unsigned binary number?
How do I convert unsigned binary to decimal?
What is 11111111 binary as an unsigned decimal number?
What is 10000000 unsigned binary in decimal?
What is the range of an 8-bit unsigned integer?
What is the maximum value of a 16-bit unsigned binary number?
What is the maximum 32-bit unsigned decimal value?
What is the maximum 64-bit unsigned value?
What is the difference between signed and unsigned binary?
Does the first bit have a special meaning in unsigned binary?
Do leading zeros change an unsigned binary number?
Can unsigned binary represent negative numbers?
Why is the maximum unsigned value 2ⁿ − 1?
Can this converter process large binary numbers?
Is an unsigned byte always 0 to 255?
Is this unsigned binary converter free?
Convert Unsigned Binary to Decimal Accurately
Use the calculator at the top of this page whenever you need to translate an unsigned binary integer into its decimal equivalent. Enter the binary digits, select Convert to Decimal, and review the exact decimal result together with its bit width, expanded notation and place-value breakdown.
Because unsigned binary uses every available bit for magnitude, it provides a larger positive range than a signed representation with the same number of bits. This makes unsigned integers especially useful for counts, addresses, byte values, registers, protocol fields and other quantities that cannot be negative.