CalculatorBoom

Numbers Converter

Convert numbers between positional numeral systems — binary, octal, decimal, hexadecimal, duodecimal, base 32, and base 36.

Results from this calculator are estimates provided for general informational purposes only, based on formulas, rates, and standards commonly accepted as of 2026. Figures may differ slightly from other calculators or professional sources due to rounding methods, differing assumptions, or regional regulations, and rules may change over time. Always consult a qualified professional — such as a financial advisor, healthcare provider, or other relevant specialist — before making decisions based on these results.

The number you want to convert, written in the "From" base's digits (0-9, then A-Z for bases above 10).

Result

1 Decimal digit position = base 10; 1 Hexadecimal digit position = base 16

How FF (Hexadecimal) breaks down by place value

What is a Numbers Converter?

A numbers converter translates a value written in one positional numeral system into its equivalent in another — for example, turning the decimal number 255 into binary 11111111 or hexadecimal FF. Every positional system works the same underlying way: each digit position represents a power of the system's base, and the digit in that position tells you how many of that power to add up.

Computers work natively in binary, but binary is long and hard for people to read, so programmers use octal and — far more often today — hexadecimal as compact shorthand, since both convert to and from binary with simple digit grouping rather than full arithmetic.

Conversion table: Decimal to Hexadecimal

Decimal Decimal Hexadecimal
0 0 0
1 1 1
2 2 2
5 5 5
8 8 8
10 10 A
16 16 10
32 32 20
64 64 40
100 100 64
255 255 FF
1000 1000 3E8
4096 4096 1000
65535 65535 FFFF

Supported Number Systems

System Base Digits used
Binary 2 0-1
Ternary 3 0-2
Octal 8 0-7
Decimal 10 0-9
Duodecimal 12 0-B
Hexadecimal 16 0-F
Base 32 32 0-V
Base 36 36 0-Z

About These Parameters

Value
The number you want to convert, written using the "From" base's digits. Use letters A-Z for digit values 10 and above.
From Base
The numeral system your input value is currently written in.
To Base
The numeral system you want the result converted into. Use the swap button to flip From and To instantly.

How Number Base Conversion Works

The Formula

Every positional numeral system builds a value the same way: each digit is multiplied by the base raised to its position (counting from 0 on the right), and the results are summed.

value = d(n)×base^n + ... + d(1)×base^1 + d(0)×base^0

Converting 255 (Decimal) to Hexadecimal: the parser reads 255 as a base-10 number to get its decimal value, then re-expresses that decimal value using base-16 digits to get FF.

Why Hexadecimal Is Computing's Favorite Shorthand

Each hexadecimal digit represents exactly 4 binary bits (a "nibble"), so any binary string can be grouped into 4-bit chunks and converted to hex digit-by-digit, with no multiplication needed. Octal works the same way with 3-bit groups. This is why hex and octal became standard shorthand for binary data long before general-purpose calculators made arbitrary-base conversion easy.

Letters as Digits

Once a base exceeds 10, there aren't enough numerals to represent every digit, so letters fill the gap: hexadecimal uses A-F for the values 10-15, and base 36 uses the entire alphabet A-Z for the values 10-35 — the largest base that can be written with only the standard Latin letters and Arabic numerals.

Frequently Asked Questions

Why do computers use binary instead of decimal?

Digital circuits are built from switches that are most reliably built to have exactly two stable states (on/off, high/low voltage), which maps naturally onto the two binary digits, 0 and 1 — a 10-state decimal circuit would be far more complex and error-prone to build.

What does hexadecimal "FF" equal in decimal?

255 — F is 15 in each of the two digit positions, so it's 15×16¹ + 15×16&sup0; = 240 + 15 = 255, which is also why 255 is the maximum value a single 8-bit byte can hold.

Are these conversions exact for very large numbers?

Yes — this converter uses arbitrary-precision integer arithmetic internally rather than a fixed-size number type, so extremely long binary or base-36 values convert exactly with no overflow or rounding error.

Possible Number Conversions

See also