Home · Unit Conversion · Number Bases · Decimal to Hexadecimal Converter

Decimal to Hexadecimal Converter

Convert Decimal to Hexadecimal with the exact factor, a worked example and a table of common values — no sign-up, results as you type.

Your number

Converting Decimal → Hexadecimal. Swap to the reverse conversion →

Example result — edit the value to make it yours

FF base 16

255 Decimal = FF Hexadecimal.

What this converter is for

Binary, decimal, octal and hexadecimal integers converted between each other. This page covers one ordered pair — Decimal into Hexadecimal — with the factor stated openly, so you can check the arithmetic by hand or reuse it in a spreadsheet.

The formula

base 10 digits → value → base 16 digits

Both forms name the same whole number; only the digits change. The calculator reads your input as a base-10 integer (each digit is worth 10 times the one to its right) and writes the same value in base 16. Negative and fractional values are not part of this converter.

Worked example

Converting the example this page opens with: 255Decimal = FFHexadecimal. Every figure on this page — the example, the table below and the calculator itself — is produced by the same conversion function.

Quick reference: Decimal to Hexadecimal

Decimal (base 10)Hexadecimal (base 16)
11
22
55
10A
1610
3220
6440
10064
255FF

Computed with the same function as the calculator above — enter any value there for figures beyond this table.

Common questions

How many Hexadecimal are in 1 Decimal?

Exactly 1 Hexadecimal — that is the factor this converter is built on. Multiply any Decimal figure by it to get Hexadecimal.

How do I convert Decimal to Hexadecimal?

Both forms name the same whole number; only the digits change. The calculator reads your input as a base-10 integer (each digit is worth 10 times the one to its right) and writes the same value in base 16. Negative and fractional values are not part of this converter.

What is 255 Decimal in Hexadecimal?

255 Decimal = FF Hexadecimal. That is the worked example this page opens with; type any other value into the calculator and it converts as you type.