12 in Hexadecimal — 12₁₀ = 0xC

12 in hexadecimal is 0xC. The number 12 is less than 16, so it maps directly to a single hex digit C. The page shows the step-by-step division method, a hex digit table, and conversions to binary (1100), octal (14), and a greyscale colour swatch....

12 → HEX

12 IN HEXADECIMAL (BASE 16)

C

12₁₀ = 0xC = C₁₆

Letters A–F represent values 10–15 in hex

Hex (base 16)

C

With prefix

0xC

Binary (base 2)

1100

Octal (base 8)

14

Single digit hex?

Yes

Hex digit type

Letter (C = 12)

Even or odd?

Even

Divisible by 16?

No

STEP-BY-STEP — REPEATED DIVISION BY 16

12 < 16, so it fits in a single hex digit: 12 = C₁₆

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

FUN FACT

12 in hex is C. C = 12 in hex. In the CSS colour #CC0000, both Cs represent the decimal value 12 × 16 + 12 = 204 in the red channel.

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

12

Hex (base 16)

Colours, memory addresses, encoding

0xC

Binary (base 2)

Digital computing

1100

Octal (base 8)

Unix file permissions

14

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

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

  3. 3

    The result is C, written as 0xC in programming notation or C₁₆ in mathematical notation.

  4. 4

    Verify: 12 x 16^0 = 12. ✓

WORKED EXAMPLE

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

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.