Decimal to Hexadecimal Converter
Decimal to Hexadecimal Converter
Quick Examples
Other Base Conversions
Advanced: Convert Any Base (2-36)
Understanding Decimal and Hexadecimal
Decimal is the base-10 number system used in everyday counting, built from the digits 0–9. It's the format humans read and reason about naturally, which is why programmers convert binary, octal, and hexadecimal values back to decimal whenever they need a human-readable number.
Hexadecimal is the base-16 number system, using digits 0–9 and letters A–F. Each hex digit maps exactly to 4 binary bits (a nibble), so two hex digits represent a full byte. This makes hex the standard way to write memory addresses, color codes, and hashes compactly.
How to Convert Decimal to Hexadecimal (Step by Step)
To convert decimal to hexadecimal, repeatedly divide the number by 16 and record the remainder (as a hex digit, where 10–15 become A–F) at each step; reading the remainders from last to first gives the hex value. For example, 10 ÷ 16 = 0 r10 → A. The same process converts 202 to CA (202 ÷ 16 = 12 r10, 12 ÷ 16 = 0 r12 — reading bottom-up, C then A).
Frequently Asked Questions
Find answers to common questions
Free online decimal to hexadecimal converter. Convert decimal numbers to hexadecimal instantly, with support for arbitrarily large values.


