BigBigTools

功能建议

欢迎告诉我们您的建议,帮助我们改进工具。 支持粘贴图片或选择上传,最多5张,每张不超过1MB(PNG、JPEG、WebP)。

English简体中文日本語한국어FrançaisDeutschEspañolPortuguês
BigBigTools

Decimal to Hexadecimal Converter

10
16
16
2

Decimal to hex calculation steps

Divide by the base 16 to get the digits from the remainders:

Division
by 16
Quotient

Remainder

(Digit)
Digit #

Little endian

Address
Data

Big endian

Address
Data

* You can enter decimals with e notation. e.g: 572 = 5.72e2.

Decimal

Decimal number is a number expressed in the base 10 numeral system. Decimal number's digits have 10 symbols: 0,1,2,3,4,5,6,7,8,9. Each digit of a decimal number counts a power of 10.

Decimal number example:
65310 = 6×102+5×101+3×100

Hexadecimal

Hexadecimal number is a number expressed in the base 16 numeral system. Hexadecimal number's digits have 16 symbols: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Each digit of a hexadecimal number counts a power of 16.

Hexadecimal number example:
62C16 = 6×162+2×161+12×160 = 158010

How to convert from decimal to hex

Conversion steps:

  1. Divide the number by 16.
  2. Get the integer quotient for the next iteration.
  3. Get the remainder for the hex digit.
  4. Repeat the steps until the quotient is equal to 0.

Example #1

Convert 756210 to hex:

Division
by 16
Quotient
(integer)
Remainder
(decimal)
Remainder
(hex)
Digit #
7562/16 472 10 A 0
472/16 29 8 8 1
29/16 1 13 D 2
1/16 0 1 1 3

So 756210 = 1D8A16

Example #2

Convert 3563110 to hex:

Division
by 16
Quotient Remainder
(decimal)
Remainder
(hex)
Digit #
35631/16 2226 15 F 0
2226/16 139 2 2 1
139/16 8 11 B 2
8/16 0 8 8 3

So 3563110 = 8B2F16

Decimal to hex conversion table

Decimal

base 10

Hex

base 16

0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11 B
12 C
13 D
14 E
15 F
16 10
17 11
18 12
19 13
20 14
21 15
22 16
23 17
24 18
25 19
26 1A
27 1B
28 1C
29 1D
30 1E
40 28
50 32
60 3C
70 46
80 50
90 5A
100 64
200 C8
1000 3E8
2000 7D0


Additional explanations and examples

How to convert decimal to hex

Conversion steps:

  1. Divide the number by 16.
  2. Get the integer quotient for the next iteration.
  3. Get the remainder for the hex digit.
  4. Repeat the steps until the quotient is equal to 0.

Example #1

Convert 756210 to hex:

Division
by 16
Quotient Remainder
(decimal)
Remainder
(hex)
Digit #
7562/16 472 10 A 0
472/16 29 8 8 1
29/16 1 13 D 2
1/16 0 1 1 3

So 756210 = 1D8A16

Example #2

Convert 3563110 to hex:

Division
by 16
Quotient Remainder
(decimal)
Remainder
(hex)
Digit #
35631/16 2226 15 F 0
2226/16 139 2 2 1
139/16 8 12 B 2
8/16 0 8 8 3

So 3563110 = 8B2F16



About this tool

Divide by the base 16 to get the digits from the remainders: * You can enter decimals with e notation. e.g: 572 = 5.72e2. Decimal number is a number expressed in the base 10 numeral system. Decimal number's digits have 10 symbols: 0,1,2,3,4,5,6,7,8,9. Each digit of a decimal number counts a power of 10.

Chat with AI about this tool

Paste the prompt into Gemini. Only the tool name and public page URL are included.

View the prompt