Powers of Two
Complete table of powers of 2 from 2⁰ to 2⁶⁴ in decimal and hexadecimal. Essential reference for computer science.
| Exponent (n) | 2ⁿ (Decimal) | 2ⁿ (Hex) | Bits |
|---|---|---|---|
| 20 | 1 | 0x1 | 1 |
| 21 | 2 | 0x2 | 2 |
| 22 | 4 | 0x4 | 3 |
| 23 | 8 | 0x8 | 4 |
| 24 | 16 | 0x10 | 5 |
| 25 | 32 | 0x20 | 6 |
| 26 | 64 | 0x40 | 7 |
| 27 | 128 | 0x80 | 8 |
| 28 | 256 | 0x100 | 9 |
| 29 | 512 | 0x200 | 10 |
| 210 | 1024 | 0x400 | 11 |
| 211 | 2048 | 0x800 | 12 |
| 212 | 4096 | 0x1000 | 13 |
| 213 | 8192 | 0x2000 | 14 |
| 214 | 16384 | 0x4000 | 15 |
| 215 | 32768 | 0x8000 | 16 |
| 216 | 65536 | 0x10000 | 17 |
| 217 | 131072 | 0x20000 | 18 |
| 218 | 262144 | 0x40000 | 19 |
| 219 | 524288 | 0x80000 | 20 |
| 220 | 1048576 | 0x100000 | 21 |
| 221 | 2097152 | 0x200000 | 22 |
| 222 | 4194304 | 0x400000 | 23 |
| 223 | 8388608 | 0x800000 | 24 |
| 224 | 16777216 | 0x1000000 | 25 |
| 225 | 33554432 | 0x2000000 | 26 |
| 226 | 67108864 | 0x4000000 | 27 |
| 227 | 134217728 | 0x8000000 | 28 |
| 228 | 268435456 | 0x10000000 | 29 |
| 229 | 536870912 | 0x20000000 | 30 |
| 230 | 1073741824 | 0x40000000 | 31 |
| 231 | 2147483648 | 0x80000000 | 32 |
| 232 | 4294967296 | 0x100000000 | 33 |
| 233 | 8589934592 | 0x200000000 | 34 |
| 234 | 17179869184 | 0x400000000 | 35 |
| 235 | 34359738368 | 0x800000000 | 36 |
| 236 | 68719476736 | 0x1000000000 | 37 |
| 237 | 137438953472 | 0x2000000000 | 38 |
| 238 | 274877906944 | 0x4000000000 | 39 |
| 239 | 549755813888 | 0x8000000000 | 40 |
| 240 | 1099511627776 | 0x10000000000 | 41 |
| 241 | 2199023255552 | 0x20000000000 | 42 |
| 242 | 4398046511104 | 0x40000000000 | 43 |
| 243 | 8796093022208 | 0x80000000000 | 44 |
| 244 | 17592186044416 | 0x100000000000 | 45 |
| 245 | 35184372088832 | 0x200000000000 | 46 |
| 246 | 70368744177664 | 0x400000000000 | 47 |
| 247 | 140737488355328 | 0x800000000000 | 48 |
| 248 | 281474976710656 | 0x1000000000000 | 49 |
| 249 | 562949953421312 | 0x2000000000000 | 50 |
| 250 | 1125899906842624 | 0x4000000000000 | 51 |
| 251 | 2251799813685248 | 0x8000000000000 | 52 |
| 252 | 4503599627370496 | 0x10000000000000 | 53 |
| 253 | 9007199254740992 | 0x20000000000000 | 54 |
| 254 | 18014398509481984 | 0x40000000000000 | 55 |
| 255 | 36028797018963968 | 0x80000000000000 | 56 |
| 256 | 72057594037927936 | 0x100000000000000 | 57 |
| 257 | 144115188075855872 | 0x200000000000000 | 58 |
| 258 | 288230376151711744 | 0x400000000000000 | 59 |
| 259 | 576460752303423488 | 0x800000000000000 | 60 |
| 260 | 1152921504606846976 | 0x1000000000000000 | 61 |
| 261 | 2305843009213693952 | 0x2000000000000000 | 62 |
| 262 | 4611686018427387904 | 0x4000000000000000 | 63 |
| 263 | 9223372036854775808 | 0x8000000000000000 | 64 |
| 264 | 18446744073709551616 | 0x10000000000000000 | 65 |
How to Use the Powers of Two
- Browse the reference table to find the values you need.
- Use search or scroll to locate specific entries.
- Click on a value to copy it or see more details.
- Use the table as a quick reference during calculations or study.
快速参考
| 从 | 到 |
|---|---|
| 1 × 1 | 1 |
| 5 × 5 | 25 |
| 7 × 8 | 56 |
| 9 × 9 | 81 |
| 12 × 12 | 144 |
| 15 × 15 | 225 |
使用场景
- •Quick lookup of values during math class or professional work.
- •Verifying calculations without needing a full scientific calculator.
- •Studying mathematical relationships, patterns, and properties.
- •Using as a handy reference during engineering or science tasks.
公式
Powers of 2 are fundamental in computing. Each power represents a binary digit position: 2ⁿ is a 1 followed by n zeros in binary.
常见问题
Why are powers of two important in computer science?
Computers use binary (base-2) representation. Memory sizes, address spaces, and data types are all based on powers of 2. For example, a 32-bit integer can hold values up to 2³² − 1 = 4,294,967,295.
What is 2⁶⁴ in decimal?
2⁶⁴ = 18,446,744,073,709,551,616. This is the size of the 64-bit address space and the maximum value of an unsigned 64-bit integer plus one.
How are powers of two related to bytes?
1 KB = 2¹⁰ = 1,024 bytes, 1 MB = 2²⁰ = 1,048,576 bytes, 1 GB = 2³⁰ = 1,073,741,824 bytes, 1 TB = 2⁴⁰ bytes.
Why does the table show hexadecimal values?
Hexadecimal is widely used in programming. Powers of 2 have clean hex representations: 2⁴ = 0x10, 2⁸ = 0x100, 2¹⁶ = 0x10000. Each hex digit represents exactly 4 binary digits.