Empowering a brighter world through superior education is our commitment.

Online Calculators & Tools

Decimal to Hexadecimal converter

10
16
16
2

Little endian

Address
Data

Big endian

Address
Data

Decimal to hex calculation steps

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

Division
by 16
Quotient

Remainder

(Digit)
Digit #

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.
Division
by 16
Quotient
(integer)
Remainder
(decimal)
Remainder
(hex)
Digit #
7562/1647210A0
472/1629881
29/16113D2
1/160113

So 756210 = 1D8A16

Division
by 16
QuotientRemainder
(decimal)
Remainder
(hex)
Digit #
35631/16222615F0
2226/16139221
139/16811B2
8/160883

So 3563110 = 8B2F16

Decimal to hex conversion table

Decimal

base 10

Hex

base 16

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
4028
5032
603C
7046
8050
905A
10064
200C8
10003E8
20007D0

Hex to decimal converter