13 in Hexadecimal — 13₁₀ = 0xD

13 in hexadecimal is 0xD. The number 13 is less than 16, so it maps directly to a single hex digit D. The page shows the step-by-step division method, a hex digit table, and conversions to binary (1101), octal (15), and a greyscale colour swatch....

13 → HEX

13 IN HEXADECIMAL (BASE 16)

D

13₁₀ = 0xD = D₁₆

Letters A–F represent values 10–15 in hex

Hex (base 16)

D

With prefix

0xD

Binary (base 2)

1101

Octal (base 8)

15

Single digit hex?

Yes

Hex digit type

Letter (D = 13)

Even or odd?

Odd

Divisible by 16?

No

STEP-BY-STEP — REPEATED DIVISION BY 16

13 < 16, so it fits in a single hex digit: 13 = D₁₆

Values 10–15 use letters: 10=A, 11=B, 12=C, 13=D, 14=E, 15=F

FUN FACT

13 in hex is D. D = 13. The hex digits A-F were chosen as letters to avoid confusion with multi-digit decimal numbers.

HEX DIGIT TABLE (0–15)

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

BASE CONVERSIONS

Decimal (base 10)

Standard counting system

13

Hex (base 16)

Colours, memory addresses, encoding

0xD

Binary (base 2)

Digital computing

1101

Octal (base 8)

Unix file permissions

15

NEARBY VALUES

Created with❤️byeaglecalculator.com

HOW TO CONVERT

  1. 1

    Hexadecimal (base 16) uses digits 0-9 and letters A-F, where A=10, B=11, C=12, D=13, E=14, F=15.

  2. 2

    13 is less than 16, so it fits in one hex digit: 13 = D. Values 10-15 use letters: 10=A, 11=B, 12=C, 13=D, 14=E, 15=F.

  3. 3

    The result is D, written as 0xD in programming notation or D₁₆ in mathematical notation.

  4. 4

    Verify: 13 x 16^0 = 13. ✓

WORKED EXAMPLE

13 to hex: 13 is less than 16, so it fits in one hex digit: 13 = D. Values 10-15 use letters: 10=A, 11=B, 12=C, 13=D, 14=E, 15=F. 13₁₀ = 0xD = D₁₆ Binary: 1101 Octal: 15

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE NUMBER THEORY CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.