OhMyCalc

Number Systems Converter

Convert numbers between binary, octal, decimal, hexadecimal, and any custom base from 2 to 36 in real time.

How to Convert Between Number Systems

  1. Enter the number you want to convert in the input field.
  2. Select the base of your input (e.g., decimal, binary, hexadecimal, or custom).
  3. The calculator instantly shows the equivalent in all common bases.
  4. Use the custom base field to convert to any base from 2 to 36.

Referencia Rápida

DeA
2 + 35
12 × 12144
√14412
2¹⁰1,024
π3.14159
e2.71828

Casos de Uso

Fórmula

To convert from base b to decimal: multiply each digit by b raised to the power of its position (from right, starting at 0) and sum. To convert from decimal to base b: repeatedly divide by b and collect remainders.

Preguntas Frecuentes

What are the most common number systems?
Binary (base 2) is used by computers, octal (base 8) was common in early computing, decimal (base 10) is everyday counting, and hexadecimal (base 16) is widely used in programming for memory addresses and colors.
How do I convert binary to decimal?
Multiply each binary digit by 2 raised to its position power (right to left, starting at 0) and sum. For example, 1101₂ = 1×8 + 1×4 + 0×2 + 1×1 = 13.
What digits are used in hexadecimal?
Hexadecimal uses digits 0–9 for values 0–9 and letters A–F for values 10–15. For example, FF in hex equals 255 in decimal.