Home · Everyday · Algebra · Power of 2 Calculator
Power of 2 Calculator
Compute 2 raised to any whole exponent — the doubling sequence behind bits, bytes and binary addressing.
What this calculator does
Compute 2 raised to any whole exponent — the doubling sequence behind bits, bytes and binary addressing. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Each step in the exponent doubles the result: 2⁰ = 1, 2¹ = 2, 2² = 4, and so on. The default 2¹⁰ = 1024 is the number of bytes in one kibibyte (KiB), which is why storage and memory sizes cluster on powers of two.
Note the naming trap: 2¹⁰ = 1024 bytes is a kibibyte, while a kilobyte in strict SI terms is 1000 bytes. Exponents are whole numbers here; use a general power calculator for fractional powers of two.
Worked example
With the example inputs this page opens with (exponent n 10), the result is 1,024 — 2^n. Computed from the inputs on this page with the formula below — change any figure and every result updates.
Quick reference
| Exponent n | 2^n | 2^(n−1) |
|---|---|---|
| 1 | 2 | 1 |
| 2 | 4 | 2 |
| 4 | 16 | 8 |
| 8 | 256 | 128 |
| 10 | 1024 | 512 |
| 16 | 65536 | 32768 |
| 20 | 1048576 | 524288 |
| 32 | 4294967296 | 2147483648 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Why is 2^10 = 1024 so common in computing?
Ten address bits can select among 1024 locations, so memory chips and file systems naturally come in multiples of 1024.
How does the Power of 2 Calculator work?
Compute 2 raised to any whole exponent — the doubling sequence behind bits, bytes and binary addressing. Exponent n → 2^n. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Power of 2 Calculator need?
Exponent n → 2^n. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Power of 2 Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.