Binary, Hex & Decimal Converter

Convert numbers between binary, octal, decimal and hexadecimal.

Inputs

Result

Decimal255
Binary
1111 1111
Octal
377
Hexadecimal
FF
Bits needed
8

Binary, Hex & Decimal Converter by CalculatorPulse ↗

How it’s calculated

value = Σ digit × baseᵖᵒˢⁱᵗⁱᵒⁿ

Your working

  1. Each digit × 10^position, summed: 255

About the binary, hex & decimal converter

Type a whole number and choose its base. You get the value in binary, octal, decimal and hexadecimal at once. Works with very large numbers.

How to use it

  1. Fill in the fields; example values are already there.
  2. The result, breakdown and working update the moment you type.
  3. Copy the result, or use Share link to send these exact numbers to someone.

Frequently asked questions

Why do programmers use hexadecimal?

Each hex digit is exactly four binary digits, so long binary values become short and readable.

More math calculators

See all 13