KickSolve • Free • Private

Decimal to Hex Converter

Convert decimal numbers to hex instantly. For example, decimal 48879 equals BEEF in hex. See the working step by step, and the result in all four bases.

Step-by-step workingAll four bases at onceHandles very large numbers
Base 10
No number handy?
Hex resultBase 16

Step-by-step working

How the answer is reached, one step at a time.

All bases

The same number in every base. Copy any row.

How to use Decimal to Hex Converter on KickSolve

Three quick steps, no account needed.

Enter the decimal numberType or paste it into the box. Prefixes, spaces and a minus sign are fine. Valid digits are 0 to 9.
Read the hex resultThe converted number appears instantly, with the other bases below it.
Follow the workingThe step-by-step working appears under the result. Copy the result or any base with its Copy button, or use Swap to convert the other way.

Why choose KickSolve

Built for speed, privacy and clean results.

Private by designYour numbers are converted in your browser and never sent anywhere.
Instant with stepsThe hex result and the full working update as you type.
Any sizeExact big-integer math, so there is no rounding on very long numbers.
All four basesSee binary, octal, decimal and hex together and copy any of them.

What you can do with Decimal to Hex Converter

Everything this tool offers.

Everyday numbersCheck quantities and totals in the base you use daily.
Entering values for toolsMany forms and APIs expect plain decimal input.
Homework and exam answersVerify your working when practising base conversion.
Comparing machine and human valuesPut binary or hex values next to numbers you recognise.
Web colorsRead color codes such as #FF5733 as RGB values.
Memory addresses and bytesMake sense of addresses and byte values in debuggers.
MAC addresses and hashesWork with identifiers written in hexadecimal.
Hex dumpsRead the output of hex editors and network captures.

About Decimal to Hex Converter on KickSolve

What it does and how to get the best results.

How to convert decimal to hex

Divide the decimal number by 16, write down the remainder, and repeat with the quotient until it reaches 0. The remainders, read from last to first, are the hex digits. The worked example below shows every step.

Decimal digits and place values

Decimal uses ten digits, 0 to 9, and each position is worth a power of 10.

Why hex is used

One hex digit equals exactly four bits, so two hex digits describe one byte. That makes hex the standard compact notation for binary data.

About this converter

It uses exact big-integer arithmetic. Whole numbers only: negative numbers work with a leading minus sign and prefixes such as 0b, 0o and 0x are accepted. Fractions are not supported. Everything runs in your browser.

Working with other number systems? Try Decimal to Binary or Decimal to Octal, convert back with Hex to Decimal, or use the Number Base Converter for any base from 2 to 36.

Read the KickSolve privacy policy for details about the site itself.

Worked example: decimal 48879 to hex

The same steps the converter shows for any number.

Divide by 16 again and again and note each remainder:
48879 ÷ 16 = 3054 remainder 15 (F)
3054 ÷ 16 = 190 remainder 14 (E)
190 ÷ 16 = 11 remainder 14 (E)
11 ÷ 16 = 0 remainder 11 (B)
Read the remainders from bottom to top: BEEF

So decimal 48879 equals hex BEEF.

Decimal to Hex conversion table (0 to 32)

Quick reference for small numbers.

DecimalHex
00
11
22
33
44
55
66
77
88
99
10A
11B
12C
13D
14E
15F
1610
1711
1812
1913
2014
2115
2216
2317
2418
2519
261A
271B
281C
291D
301E
311F
3220

Place values of hex

Each position is worth the base raised to a power.

PositionPowerValue in decimalIn hex
016^011
116^11610
216^2256100
316^340961000
416^46553610000
516^51048576100000
616^6167772161000000
716^726843545610000000
816^84294967296100000000
916^9687194767361000000000
1016^10109951162777610000000000
1116^1117592186044416100000000000

Frequently asked questions

Quick answers.

How do I convert decimal to hex?

Divide the decimal number by 16, write down the remainder, and repeat with the quotient until it reaches 0. The remainders, read from last to first, are the hex digits.

What is 200 in hex?

Decimal 200 equals C8 in hex.

What is 1024 in hex?

Decimal 1024 equals 400 in hex.

What is 15 in hex?

Decimal 15 equals F in hex.

How do I convert hex back to decimal?

Use the swap button above to open the hex to decimal converter, or follow the same method in reverse.

What digits are valid in decimal?

Decimal numbers use 0 to 9.

What is decimal?

Decimal uses ten digits, 0 to 9, and each position is worth a power of 10.

Why is hex used?

One hex digit equals exactly four bits, so two hex digits describe one byte. That makes hex the standard compact notation for binary data.

Does it support negative numbers or fractions?

Negative whole numbers work with a leading minus sign. Fractions are not supported.

Does it show the working?

Yes. Under the result, the converter lists each step it used to convert decimal to hex, so you can check your own homework or learn the method.

Can I see the result in other bases?

Yes. The All bases table shows the same number in binary, octal, decimal and hex, with a Copy button on every row.

Is the converter free and private?

Yes. It is free with no signup, and all conversion happens in your browser.

More free tools from KickSolve

Related everyday tools.