Number Base Converter

Number Base Converter

Convert a decimal number to binary, octal and hexadecimal.

What is a number base converter?

A number base converter changes a decimal number into binary, octal and hexadecimal. It shows the same number written in different bases, which is useful in computing and maths.

How to use the number base converter

Enter a decimal number and click Convert. The converter shows the binary, octal and hexadecimal versions of the number.

Example

255 in decimal is 11111111 in binary, 377 in octal and FF in hexadecimal.

Frequently Asked Questions

What is 255 in binary?

255 in binary is 11111111. Try it on the converter above.

What is 255 in hexadecimal?

255 in hexadecimal is FF. Try it on the converter above.

Why do computers use binary?

Computers use binary because their circuits have two states, on and off, represented by the digits 1 and 0.

Browse more calculators: Math Calculators · All Tools