T
ToolPrime

4 in Hexadecimal = 4

Hexadecimal Representation

4

Decimal 4 = 4 (hexadecimal)

4 in All Number Bases

Decimal
4
Binary
100
Octal
4
Hexadecimal
4

How to Convert 4 to Hexadecimal

  1. Divide 4 by 16, record the remainder
  2. Use A-F for remainders 10-15
  3. Read the remainders from bottom to top
  4. Result: 4

Try the Number Base Converter

Conversions

Binary (2)
0b100
Octal (8)
0o4
Decimal (10)
4
Hexadecimal (16)
0x4
Binary Bits
0
0
0
0
0
1
0
0
Common number base conversions
DecimalBinaryOctalHex
0000
1111
81000108
10101012A
16100002010
321000004020
64100000010040
12711111111777F
1281000000020080
25511111111377FF

Related Conversions