2 in Hexadecimal — 2₁₀ = 0x2

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

2 → HEX

2 IN HEXADECIMAL (BASE 16)

2

2₁₀ = 0x2 = 2₁₆

Hex (base 16)

2

With prefix

0x2

Binary (base 2)

10

Octal (base 8)

2

Single digit hex?

Yes

Hex digit type

Numeral

Even or odd?

Even

Divisible by 16?

No

STEP-BY-STEP — REPEATED DIVISION BY 16

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

FUN FACT

2 in hex is 2. Hexadecimal digits 0-9 match decimal exactly.

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

2

Hex (base 16)

Colours, memory addresses, encoding

0x2

Binary (base 2)

Digital computing

10

Octal (base 8)

Unix file permissions

2

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

    2 is less than 16, so it fits in one hex digit: 2 = 2.

  3. 3

    The result is 2, written as 0x2 in programming notation or 2₁₆ in mathematical notation.

  4. 4

    Verify: 2 x 16^0 = 2. ✓

WORKED EXAMPLE

2 to hex: 2 is less than 16, so it fits in one hex digit: 2 = 2. 2₁₀ = 0x2 = 2₁₆ Binary: 10 Octal: 2

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.