Decimal to Binary

Decimal to Binary

What this does

Converts a base-10 number to base 2. 10 becomes 1010; 255 becomes 11111111. Large numbers and negative values (two's complement not applied — sign shown as a minus) are supported.

When to use it

  • Subnet masks and IP maths (255 = 8 ones).
  • Bit flags and permission values.
  • Learning how place values work in base 2.

Good to know

Each binary digit doubles: 1, 2, 4, 8, 16, 32, 64, 128. Eight digits cover 0–255.


Avatar

James Smith

CEO / Co-Founder

Enjoy the little things in life. For one day, you may look back and realize they were the big things. Many of life's failures are people who did not realize how close they were to success when they gave up.

Cookie
We care about your data and would love to use cookies to improve your experience.