No ads, no sign-upChecked 2026-06-18

Number Base Converter

Result

11111101010

Result: 11111101010

A number's value is the same in every base; only the notation changes. 2026 is 11111101010 in binary, 3752 in octal and 7EA in hexadecimal. Binary uses two digits, octal eight, hexadecimal sixteen — 0 to 9 and then A to F.

The numbers at a glance

Held fixed: Convert to Binary (base 2).

Decimal numberResult
00
1,0001,000
2,0002,000
2,026Your value2,026
3,0003,000
4,0004,000

Worked examples

How it's calculated

n = Σ dᵢ · bⁱ

  1. StepDivide the decimal number by the target base and note the remainder.
  2. StepKeep dividing the quotient by the base until it reaches zero.
  3. ResultRead the remainders from last to first — that is the number in the new base.

What this number means

Every positional number system works the same way: each digit stands for a power of the base. In base 10 the digits of 2026 mean 2·1000 + 0·100 + 2·10 + 6·1. In base 2 the same value is 11111101010, which reads 1024 + 512 + 256 + 128 + 64 + 32 + 8 + 2. The value has not changed — only the notation has. To convert by hand, divide repeatedly by the target base and collect the remainders. 2026 ÷ 16 is 126 remainder 10, then 126 ÷ 16 is 7 remainder 14, then 7 ÷ 16 is 0 remainder 7. Read the remainders backwards, writing 10 as A and 14 as E, and you get 7EA. Base 16 needs six extra digits, so the letters A to F stand for 10 to 15. Base 8 needs none, since 0 to 7 is enough. Both are shorthands for binary rather than systems of their own: one hex digit is exactly four bits and one octal digit is exactly three, so a byte is always two hex digits and a colour like #FF8800 is three bytes read straight off. That is why hexadecimal is everywhere in computing — memory addresses, colour codes, hashes, MAC addresses. It says the same thing binary says, in a quarter of the characters, and it converts back without any arithmetic.

One hex digit is four bits

That makes the conversion mechanical: split the binary into groups of four from the right and swap each group for its hex digit. 11111101010 becomes 0111 1110 1010, so 7EA.

A to F are digits, not letters

Base 16 needs sixteen symbols and the decimal digits run out at 9, so A stands for 10 and F for 15. FF is therefore 15·16 + 15 = 255.

Powers of the base look round

256 is 100 in hex and 100000000 in binary, exactly as 1000 looks round in decimal. A long run of zeros is a hint that you are at a power of the base.

Prefixes are notation, not value

0b1010, 0o12, 0xA and 10 all name the same number. Whether a written value carries a prefix depends on the language, not on the number.

Commonly misread

Converting to binary makes the number bigger.

It changes only the notation. 2026 and 11111101010 are the same quantity written with different digits.

Hexadecimal FF is a text string, not a number.

It is the number 255 written in base 16. A and F are digits with the values 10 and 15.

The digits of 1010 can be read the same way in any base.

1010 is 10 in binary, 520 in octal and 4112 in hexadecimal. The digits mean nothing without the base.

Reference table

DecimalBinaryOctalHexadecimal
0000
81000108
10101012A
15111117F
16100002010
64100000010040
25511111111377FF
256100000000400100
1024100000000002000400
20261111110101037527EA
40961000000000000100001000

Questions

How do I convert a decimal number to binary?

Divide by 2 repeatedly and note each remainder, then read the remainders from last to first. For 2026 that gives 11111101010, which checks out as 1024 + 512 + 256 + 128 + 64 + 32 + 8 + 2.

Why does computing use hexadecimal so much?

One hex digit is exactly four bits, so a byte is always two hex digits. That makes hex a compact shorthand for binary that converts back without arithmetic, which is why addresses, colour codes and hashes are written in it.

What do the letters A to F mean?

They are digits. Base 16 needs sixteen symbols and the decimal digits stop at 9, so A is 10, B is 11, and so on to F for 15. FF is 15·16 + 15 = 255.

Is octal still used?

Rarely, but it survives in Unix file permissions, where each digit carries the read, write and execute bits for one group. One octal digit is exactly three bits, which is what makes 755 readable at a glance.

Does converting change the number?

No. The value is identical in every base — only the way it is written changes. 2026, 11111101010, 3752 and 7EA are four spellings of one number.

Sources and last check

  1. en.wikipedia.org

Information, not professional advice.