Share
WhatsAppFacebookX (Twitter)TelegramLinkedInE-mail
EN
EnglishPortuguêsEspañolFrançais
← BackHome › Everyday › Binary, Decimal and Hexadecimal Converter

Binary, Decimal and Hexadecimal Converter

By the CalcMundi team · Updated October 22, 2026 · Formulas checked against standard financial math

Type the number and pick the base it is written in. The result updates as you type.

How bases work

Each position is worth the base raised to the power of its place, counting from 0 on the right. In binary, 1101 = 1×8 + 1×4 + 0×2 + 1×1 = 13. In hexadecimal, the letters A to F stand for 10 to 15.

Example

255 in decimal is 1111 1111 in binary, FF in hexadecimal and 377 in octal. It fits in 8 bits, the size of one byte.

Where it is used

  • Binary: how computers store everything.
  • Hexadecimal: colors in web design (#FF8800), memory addresses and MAC addresses.
  • Octal: file permissions on Linux (chmod 755).

Frequently asked questions

Can I type 0x or 0b in front?

Yes. The prefixes 0x, 0b and 0o are ignored, and so are spaces and underscores.

Does it handle negative numbers?

No. It converts whole numbers from 0 upward, with up to 64 digits.

See also

Add this calculator to your website

Free for blogs, real estate agents, brokers and any site. Paste this code where you want the calculator to appear. It adjusts its height on its own.

Results are estimates for information only and are not financial, legal or medical advice. Rates, taxes and fees vary — confirm with a professional or your lender.