45 Decimal to Hexadecimal Converter
45 Decimal to Hexadecimal Converter
The 45 Decimal to Hexadecimal Converter is used to convert the decimal number 45 (base-10) into its hexadecimal equivalent (base-16). This conversion is commonly used in computer science, programming, and digital systems.
In this article, you will learn how to convert 45 from decimal to hexadecimal step-by-step, along with the logic behind the conversion.
What Is the Decimal Number System?
The decimal number system is a base-10 system that uses digits from 0 to 9. It is the most widely used number system in everyday calculations.
Example:
45 (decimal)
= (4 × 10¹) + (5 × 10⁰)
What Is the Hexadecimal Number System?
The hexadecimal number system is a base-16 system that uses:
- Digits: 0–9
- Letters: A–F
Where:
- A = 10
- B = 11
- C = 12
- D = 13
- E = 14
- F = 15
Hexadecimal is widely used in programming, memory representation, and binary-to-text conversion.
Formula to Convert Decimal to Hexadecimal
To convert a decimal number into hexadecimal, we use the repeated division by 16 method:
- Divide the decimal number by 16
- Write down the remainder
- Divide the quotient again by 16
- Repeat until the quotient becomes 0
- Read the remainders from bottom to top
Step-by-Step Conversion of 45 Decimal to Hexadecimal

Let’s convert 45 (base-10) into hexadecimal.
Step 1: Divide by 16
45 ÷ 16 = 2
Remainder = 13 (D)
Step 2: Divide again
2 ÷ 16 = 0
Remainder = 2
Step 3: Write remainders from bottom to top
Remainders: 2 D
Final Answer
(45)10=(2D)16
✅ 45 decimal equals 2D in hexadecimal
Why Does 45 Become 2D in Hexadecimal?
- 16 × 2 = 32
- 45 − 32 = 13
- 13 is represented by D in hexadecimal
So, the hexadecimal value of 45 is 2D.
Decimal to Hexadecimal Conversion Table (Nearby Values)
| Decimal | Hexadecimal |
|---|---|
| 32 | 20 |
| 40 | 28 |
| 45 | 2D |
| 48 | 30 |
| 64 | 40 |
Decimal to Hexadecimal Conversion Table (0–256)
| Decimal | Hex | Decimal | Hex | Decimal | Hex | Decimal | Hex |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 16 | 10 | 32 | 20 | 48 | 30 |
| 1 | 1 | 17 | 11 | 33 | 21 | 49 | 31 |
| 2 | 2 | 18 | 12 | 34 | 22 | 50 | 32 |
| 3 | 3 | 19 | 13 | 35 | 23 | 51 | 33 |
| 4 | 4 | 20 | 14 | 36 | 24 | 52 | 34 |
| 5 | 5 | 21 | 15 | 37 | 25 | 53 | 35 |
| 6 | 6 | 22 | 16 | 38 | 26 | 54 | 36 |
| 7 | 7 | 23 | 17 | 39 | 27 | 55 | 37 |
| 8 | 8 | 24 | 18 | 40 | 28 | 56 | 38 |
| 9 | 9 | 25 | 19 | 41 | 29 | 57 | 39 |
| 10 | A | 26 | 1A | 42 | 2A | 58 | 3A |
| 11 | B | 27 | 1B | 43 | 2B | 59 | 3B |
| 12 | C | 28 | 1C | 44 | 2C | 60 | 3C |
| 13 | D | 29 | 1D | 45 | 2D | 61 | 3D |
| 14 | E | 30 | 1E | 46 | 2E | 62 | 3E |
| 15 | F | 31 | 1F | 47 | 2F | 63 | 3F |
| 64 | 40 | 80 | 50 | 96 | 60 | 112 | 70 |
| 65 | 41 | 81 | 51 | 97 | 61 | 113 | 71 |
| 66 | 42 | 82 | 52 | 98 | 62 | 114 | 72 |
| 67 | 43 | 83 | 53 | 99 | 63 | 115 | 73 |
| 68 | 44 | 84 | 54 | 100 | 64 | 116 | 74 |
| 69 | 45 | 85 | 55 | 101 | 65 | 117 | 75 |
| 70 | 46 | 86 | 56 | 102 | 66 | 118 | 76 |
| 71 | 47 | 87 | 57 | 103 | 67 | 119 | 77 |
| 72 | 48 | 88 | 58 | 104 | 68 | 120 | 78 |
| 73 | 49 | 89 | 59 | 105 | 69 | 121 | 79 |
| 74 | 4A | 90 | 5A | 106 | 6A | 122 | 7A |
| 75 | 4B | 91 | 5B | 107 | 6B | 123 | 7B |
| 76 | 4C | 92 | 5C | 108 | 6C | 124 | 7C |
| 77 | 4D | 93 | 5D | 109 | 6D | 125 | 7D |
| 78 | 4E | 94 | 5E | 110 | 6E | 126 | 7E |
| 79 | 4F | 95 | 5F | 111 | 6F | 127 | 7F |
| 128 | 80 | 144 | 90 | 160 | A0 | 176 | B0 |
| 129 | 81 | 145 | 91 | 161 | A1 | 177 | B1 |
| 130 | 82 | 146 | 92 | 162 | A2 | 178 | B2 |
| 131 | 83 | 147 | 93 | 163 | A3 | 179 | B3 |
| 132 | 84 | 148 | 94 | 164 | A4 | 180 | B4 |
| 133 | 85 | 149 | 95 | 165 | A5 | 181 | B5 |
| 134 | 86 | 150 | 96 | 166 | A6 | 182 | B6 |
| 135 | 87 | 151 | 97 | 167 | A7 | 183 | B7 |
| 136 | 88 | 152 | 98 | 168 | A8 | 184 | B8 |
| 137 | 89 | 153 | 99 | 169 | A9 | 185 | B9 |
| 138 | 8A | 154 | 9A | 170 | AA | 186 | BA |
| 139 | 8B | 155 | 9B | 171 | AB | 187 | BB |
| 140 | 8C | 156 | 9C | 172 | AC | 188 | BC |
| 141 | 8D | 157 | 9D | 173 | AD | 189 | BD |
| 142 | 8E | 158 | 9E | 174 | AE | 190 | BE |
| 143 | 8F | 159 | 9F | 175 | AF | 191 | BF |
| 192 | C0 | 208 | D0 | 224 | E0 | 240 | F0 |
| 193 | C1 | 209 | D1 | 225 | E1 | 241 | F1 |
| 194 | C2 | 210 | D2 | 226 | E2 | 242 | F2 |
| 195 | C3 | 211 | D3 | 227 | E3 | 243 | F3 |
| 196 | C4 | 212 | D4 | 228 | E4 | 244 | F4 |
| 197 | C5 | 213 | D5 | 229 | E5 | 245 | F5 |
| 198 | C6 | 214 | D6 | 230 | E6 | 246 | F6 |
| 199 | C7 | 215 | D7 | 231 | E7 | 247 | F7 |
| 200 | C8 | 216 | D8 | 232 | E8 | 248 | F8 |
| 201 | C9 | 217 | D9 | 233 | E9 | 249 | F9 |
| 202 | CA | 218 | DA | 234 | EA | 250 | FA |
| 203 | CB | 219 | DB | 235 | EB | 251 | FB |
| 204 | CC | 220 | DC | 236 | EC | 252 | FC |
| 205 | CD | 221 | DD | 237 | ED | 253 | FD |
| 206 | CE | 222 | DE | 238 | EE | 254 | FE |
| 207 | CF | 223 | DF | 239 | EF | 255 | FF |
| 256 | 100 |
Why Use a 45 Decimal to Hexadecimal Converter?
Using a converter helps you:
- Get instant and accurate results
- Avoid manual calculation errors
- Save time
- Understand number system conversions easily
This tool is useful for students, programmers, and computer science learners.
Summary
- Decimal system uses base-10
- Hexadecimal system uses base-16
- Conversion is done using division by 16
- 45 decimal = 2D hexadecimal
- Hexadecimal is widely used in computing
FaQs
How do you convert 45 decimal to hexadecimal?
To convert 45 from decimal to hexadecimal, divide the number by 16 and note the remainder. Repeat the process until the quotient becomes zero, then read the remainders from bottom to top.
Is 2D the correct hexadecimal value for 45?
Yes, 2D is the correct and exact hexadecimal representation of 45 decimal.
Can I convert 45 to hexadecimal without a calculator?
Yes, you can convert it manually using the division by 16 method, but an online decimal to hexadecimal converter is faster and more accurate.