Number Base Converter
Convert whole numbers between binary, octal, decimal, and hexadecimal.
Quick Summary & Direct Answer
ConvertersWhat is 255 in binary, octal, and hexadecimal?
Decimal 255 is 11111111 in binary, 377 in octal, and FF in hexadecimal.
Key Takeaways
- Choose the input base before pasting.
- Matching 0b, 0o, and 0x prefixes are optional.
- Negative results are written with a minus sign.
Use up to 1,024 digits.
- Binary base 2
- 11111111
- Octal base 8
- 377
- Decimal base 10
- 255
- Hexadecimal base 16
- FF
Results update as you type.
Results can be wrong. This calculator is unofficial. Figures can be incomplete, rounded, or not updated. Use them at your own risk and check a tape, datasheet, ball band, or official chart before cutting, mixing, buying, or publishing. Limits of liability are in the terms of service.
About Number base conversion
Each position represents a power of the selected base. The converter accepts signed integers and shows the same value in four bases.
How to Use
- 1Select the base of the value you want to convert.
- 2Enter a whole number using digits valid for that base.
- 3Copy the converted value you need.
Key Benefits
- Preserves all digits through exact integer arithmetic.
- Displays all four bases together.
Frequently asked questions
Hexadecimal FF and binary 11111111 both equal decimal 255.