Powers of 2

The numbers that drive digital technology: from bits and bytes to gigabytes and beyond

Powers of 2 are numbers of the form 2n, where n is a non-negative integer: 1, 2, 4, 8, 16, 32, 64, 128, 256... These numbers are the foundation of computing and digital technology because computers use binary (base 2) arithmetic. Every file, image, and program on your device is ultimately represented as combinations of powers of 2.

Why Are Powers of 2 Important?

Powers of 2 are everywhere in modern technology. Because computers process information in binary -- a system with only two states (0 and 1) -- every data measurement is based on powers of 2.

Here are some familiar examples of powers of 2 in everyday computing:

1 Kilobyte (KB) 210 = 1,024 bytes
1 Megabyte (MB) 220 = 1,048,576 bytes
1 Gigabyte (GB) 230 = 1,073,741,824 bytes
Colores en pantalla (RGB) 224 = 16,777,216 colores
Direcciones IPv4 máximas 232 = 4,294,967,296
Resoluciones de pantalla 1024×768, 2048×1536...

Table of Powers of 2 (2^0 to 2^30)

The following table shows every power of 2 from 20 = 1 to 230 = 1,073,741,824, along with their significance in computing:

Exponent Value Notable Use
20 1 1 — base
21 2 bit
22 4
23 8 valores de un nibble bajo
24 16 valores de un nibble
25 32
26 64
27 128 valores ASCII
28 256 valores de un byte
29 512
210 1,024 1 KB (kibibyte)
211 2,048
212 4,096
213 8,192
214 16,384
215 32,768
216 65,536 65.536 — rango entero 16 bits
217 131,072
218 262,144
219 524,288
220 1,048,576 1 MB (mebibyte)
221 2,097,152
222 4,194,304
223 8,388,608
224 16,777,216 16,7 M colores RGB
225 33,554,432
226 67,108,864
227 134,217,728
228 268,435,456
229 536,870,912
230 1,073,741,824 1 GB (gibibyte)

Mathematical Properties

Powers of 2 have elegant mathematical properties that make them unique among number sequences:

Sum property 1 + 2 + 4 + ... + 2n = 2n+1 - 1
Binary representation 2n in binary is 1 followed by n zeros
Divisors 2n has exactly (n+1) divisors: 1, 2, 4, ..., 2n
Mersenne connection 2p - 1 may be prime (Mersenne prime) when p is prime

An important identity: every positive integer can be uniquely represented as a sum of distinct powers of 2. This is the basis of the binary number system.

Another remarkable property: the product of two powers of 2 is always a power of 2 (2a x 2b = 2a+b), making them closed under multiplication.

Powers of 2 in Nature and Science

Exponential doubling appears throughout the natural world, making powers of 2 relevant far beyond mathematics and computing:

Cell division One cell becomes 2, then 4, 8, 16... following perfect powers of 2
Bacterial growth Under ideal conditions, bacteria double every 20 minutes
Wheat and chessboard The legendary problem: 1 + 2 + 4 + ... + 263 grains

The famous wheat and chessboard problem illustrates the explosive nature of exponential growth: placing 1 grain on the first square, 2 on the second, 4 on the third, and so on, the 64th square alone would need 263 = 9,223,372,036,854,775,808 grains -- more wheat than has ever been produced in human history.

The First 20 Powers of 2

Click on any power of 2 to see its full mathematical analysis with divisors, factorization, and more.

Did You Know?

Preguntas Frecuentes

What is a power of 2?

A power of 2 is a number of the form 2^n, where n is a non-negative integer. Examples: 2^0=1, 2^1=2, 2^2=4, 2^3=8, 2^4=16, 2^5=32, etc.

Is 1 a power of 2?

Yes, 1 is a power of 2 because 1 = 2^0.

Why are powers of 2 important in computing?

Powers of 2 are fundamental because computers use binary (base 2) systems, making powers of 2 natural units for memory and processing.

Explore More Number Concepts