ConvertGo

Number Base Converter — Binary, Hex

Convert numbers between decimal, binary, hexadecimal, octal and Roman numerals. Instant and free. Ideal for programmers and CS students.

Read the complete guide: Number Base Converter — Complete Guide →

How to use it

  1. Pick the starting system (decimal, binary, hexadecimal, octal or Roman numerals) and type the number.
  2. Read the conversions into the other systems straight away.
  3. For Roman numerals, enter a positive whole number.
  4. Copy the result you need.

Practical examples

Tips and common mistakes

When you need it

It serves computer science and electronics students, anyone who programs or analyses binary data, anyone working with web colours and memory addresses, and anyone who wants to write a year or a chapter correctly in Roman numerals.

Units & Reference Values

UnitEquivalentCommon use
Binary (Base 2)Digits: 0, 1Computer hardware, data
Octal (Base 8)Digits: 0-7Unix file permissions
Decimal (Base 10)Digits: 0-9Human everyday use
Hexadecimal (Base 16)Digits: 0-9, A-FColors, memory, debugging
Roman NumeralsI, V, X, L, C, D, MHistorical and formal use

Frequently Asked Questions

How do you convert decimal to binary?

Divide the number by 2 repeatedly, recording the remainders. Read the remainders from bottom to top. Example: 13 ÷ 2 = 6 r1, 6 ÷ 2 = 3 r0, 3 ÷ 2 = 1 r1, 1 ÷ 2 = 0 r1. Result: 1101.

Why do computers use binary instead of decimal?

Electronic switches (transistors) naturally have two states: conducting (1) and non-conducting (0). Building reliable circuits with 10 distinct voltage levels (for decimal) is far harder and more error-prone than two states.

What is hexadecimal used for?

Hexadecimal (hex) compactly represents binary: each hex digit represents exactly 4 binary bits. This makes hex ideal for memory addresses (0x7FFF1234), color codes (#A3B2C1), and debugging binary data.

Read the complete guide: Number Base Converter — Complete Guide →

Last updated:

Related tools

Digital Data Colors Calculator Dev Tools QR Code Text Tools

Home · All Guides · About Us · What's new · Contact · Privacy Policy

Language: Italiano · English · Español · Français · Deutsch · Português · 中文 · 日本語