Calculator Hub

Technology & Computing

Binary, Octal, Decimal & Hexadecimal Multi-Base Converter

Convert a decimal number into binary, octal and hexadecimal representations and see its bit length.

Your inputs

Change any value to update the result instantly.

Technology & Computing

Binary representation

0b11111111

Octal

377

Hexadecimal (as number)

255

Bit length

8 bits

Decimal 255 = 0b11111111 = 0o377 = 0xFF

Formula and working

Repeated division by the target base's radix produces the digit sequence in that base

  1. 1

    Collect the inputs

    Decimal number = 255

  2. 2

    Apply the formula

    Repeated division by the target base's radix produces the digit sequence in that base

  3. 3

    Result

    Binary representation = 0b11111111

Frequently asked questions

Important limitation

This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.

Report a mistake or request an improvement

Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.

Related calculators

Back to Calculator Hub