Tetration Calculator
Introduction to tetration and power towers
Multiplication repeats addition, exponentiation repeats multiplication, and tetration repeats exponentiation. Written with Knuth's double arrow, 2 ↑↑ 4 stacks four twos into a tower of exponents, 2222. The first number is the base, the second is the height of the tower.
The rule that makes tetration violent is that a tower collapses from the top down: 2 ↑↑ 4 = 2(2(22)) = 216 = 65,536, not the boring 256 you would get evaluating bottom-up. Because one extra level replaces the whole exponent, 2 ↑↑ 5 = 265,536 already runs to 19,729 digits — the jump from a five-digit number to a nineteen-thousand-digit one is the operation's entire personality. Shrink the base below e1/e ≈ 1.4447, though, and the same construction turns tame, creeping toward a finite ceiling however tall you build. This page is built to explore both regimes.
How to use this tetration calculator
The mode switch at the top of the form chooses which question you are asking:
- Tetrate evaluates a ↑↑ b for any positive base and any height from −1 up to 1015, including fractional heights such as 3.5, which almost no other calculator handles.
- Super-root fixes the height and finds the base: which number tetrated to height 4 gives 65,536? It answers 2.
- Super-log fixes the base and finds the height: how tall must a tower of 2s be to reach 65,536? It answers 4.
Presets load the classic landmarks. Results print a plain value while that stays readable, then fall back to scientific notation, log₁₀(value), and digit counts once printing becomes absurd — usually within a row or two. The optional step table lists each level of the tower, the infinite-tower checkbox adds a convergence verdict, approximate results carry a warning rather than rounding silently, and Copy LaTeX exports the calculation for a paper or homework write-up. Below the form, a cobweb plot animates the tower iteration and a limit curve collects every infinite-tower value; the fastest way to build intuition is to evaluate a tower and then drag the cobweb slider through the same base.
Notation and formulas for repeated exponentiation
Several notations circulate for the same idea. This page uses Knuth's up-arrows, where each extra arrow repeats the operation below it: a ↑ b is exponentiation, a ↑↑ b is tetration, a ↑↑↑ b is pentation. You will also meet Rudy Rucker's left-superscript ba (so 42 = 2 ↑↑ 4) and the iterated-exponential form expab(1), which reads the tower as x → ax applied b times to 1. The defining recursion, anchored at a ↑↑ 0 = 1, is:
Running it backwards gives a ↑↑ (−1) = 0 and then stops, since height −2 would need loga(0) = −∞. Tetration is the fourth rung of the hyperoperation ladder:
| Rank | Operation | Notation | Meaning for 2 and 3 |
|---|---|---|---|
| 1 | Addition | 2 + 3 | 5 |
| 2 | Multiplication | 2 × 3 | 2 + 2 + 2 = 6 |
| 3 | Exponentiation | 2 ↑ 3 | 2 × 2 × 2 = 8 |
| 4 | Tetration | 2 ↑↑ 3 | 222 = 16 |
| 5 | Pentation | 2 ↑↑↑ 3 | 2 ↑↑ (2 ↑↑ 2) = 2 ↑↑ 4 = 65,536 |
Each rung makes the one below it look stationary. To keep climbing, the pentation calculator and hexation calculator continue the sequence, and the exotic math guidebook tours the wider landscape of large-number notation.
Worked examples, from 2 ↑↑ 4 to fractional heights
2 ↑↑ 4 by hand. Work top-down: 22 = 4, then 24 = 16, then 216 = 65,536. The intermediate values 4, 16, and 65,536 are themselves the towers 2 ↑↑ 2, 2 ↑↑ 3, and 2 ↑↑ 4 — which is exactly what the step table writes out for you.
1.35 ↑↑ 4, the quiet regime. With a base below e1/e the tower barely moves: 1.35, 1.499, 1.568, 1.600, and a hundred levels only inch toward 1.6319…, the solution of x = 1.35x. Same recursion, completely different story — the base, not the height, decides whether tetration explodes.
0.5 ↑↑ 8, a convergent small base. Bases below 1 approach their limit from alternating sides — 0.5, 0.707, 0.613, 0.654, … — with odd levels pushing down and even levels up until the sequence squeezes onto 0.641186. The cobweb plot below shows this as a spiral tightening around the fixed point.
2 ↑↑ 3.5, a fractional height. Under the linear approximation this page uses, the tower seeds at 2 ↑↑ 0.5 = 20.5 ≈ 1.414 and climbs three exponentiation steps to 2 ↑↑ 3.5 ≈ 81.17 — landing, as it must, between 2 ↑↑ 3 = 16 and 2 ↑↑ 4 = 65,536, though far nearer the bottom because nothing on a tower is linear.
When does an infinite power tower converge?
Building the tower forever means iterating the sequence x1 = a, xn+1 = axn. Euler settled its fate in the 18th century, and the answer is one of the prettiest results in classical analysis: the infinite tower converges exactly on the closed interval below, numerically 0.06599 ≤ a ≤ 1.44467, where the limit L solves the fixed-point equation on the right.
Plain-text formulas: lowerConvergenceBase = exp(-e); upperConvergenceBase = exp(1/e); limit = base^limit. A finite real infinite-tower limit requires the base to stay within those convergence bounds.
Why e1/e? A limit is a crossing of the curve y = ax with the diagonal y = x. Raising a lifts the curve; at the critical base it stops crossing and only kisses the line — tangency, which forces both ax = x and ax · ln a = 1 at once. Solving them together pins x = e and a = e1/e. Above that base the curve clears the diagonal and the tower diverges; exactly at e1/e it converges, with agonizing slowness, to e itself.
The √2 paradox. The equation x = (√2)x is solved by both 2 and 4, yet the tower equals 2. Starting from 1, the iteration climbs to 2 and stops because 2 is attracting — the slope ln 2 ≈ 0.693 there is below 1, so nearby points get pulled in — while 4 is repelling, its slope 2 ln 2 ≈ 1.386 pushing every neighbor away. Press the √2 button on the cobweb plot to watch it. Below e−e ≈ 0.066 the curve crosses too steeply and the sequence splits by parity into a stable two-cycle, so no single limit survives; the tetration base convergence analyzer explores that boundary in detail.
Super-logarithms and super-roots: tetration's two inverses
Roots recover the base of an exponentiation and logarithms recover the exponent, and tetration inherits the same pair of inverses. The super-root fixes the height and solves for the base. The order-2 super-root asks which a satisfies aa = x; it has the closed form ssrt(x) = ln x / W(ln x) via the Lambert W function, so ssrt(4) = 2 and ssrt(27) = 3. Higher-order super-roots (which base gives a ↑↑ 4 = 65,536?) have no closed form and are found by numerical search. Because aa bottoms out at e−1/e ≈ 0.6922, targets below that have no real order-2 super-root, and the calculator says so.
The super-logarithm sloga(x) fixes the base and asks how tall the tower must be: slog2(65,536) = 4. Whole-number answers are exact; fractional ones reuse the linear approximation, since the two questions are mirror images. It is the smooth cousin of the iterated logarithm log* beloved by computer scientists — the count of how many logarithms it takes to drop a number to 1 — which is why the calculator reports huge towers in slog-like terms once ordinary notation gives out. Tetration is not an engineering tool: it lives in computability theory (the Ackermann function grows tetrationally), tower-type bounds from logic and Ramsey theory, and the number engines behind incremental games. Graham's number itself begins two rungs higher, at 3 ↑↑↑↑ 3.
Accuracy, approximations, and limitations
Integer-height towers use layered big-number arithmetic (the OmegaNum library) and are exact in structure; the printed digits of astronomical results carry magnitude, not certified decimals. Fractional heights and fractional super-logs use the piecewise-linear approximation — define a ↑↑ h = 1 + h for −1 ≤ h ≤ 0, then extend by the recursion. It is continuous and exact at integer heights but only once-differentiable, so it is a tetration, not the unique real-analytic one Kneser constructed for base e in 1950; those results carry a warning. Higher-order super-roots come from a numerical search at floating-point tolerance.
The infinite-tower analysis iterates x → ax to a 10−14 tolerance over 80 steps; bases within about 10−3 of e1/e converge so slowly the last digits may still be drifting, so the exact endpoints (e at the top, 1/e at the bottom) are handled specially. The step table stops at 100 levels and heights are capped at 1015 to keep the page responsive. Negative bases are rejected on purpose: with fractional exponents they leave the real numbers, and their complex continuation (the Shell–Thron region) is beyond what this page will compute.
Tetration: frequently asked questions
What is tetration in simple terms?
Tetration is repeated exponentiation, the same way multiplication is repeated addition and exponentiation is repeated multiplication. The expression 2 ↑↑ 4 means a tower of four twos, 2^(2^(2^2)), which works out to 65,536. The first number is the base and the second counts how many copies of the base appear in the tower.
How do I calculate 2 ↑↑ 4 by hand?
Work from the top of the tower down. Start with the highest exponent: 2^2 = 4. Use it as the next exponent: 2^4 = 16. Use that again: 2^16 = 65,536. Power towers always collapse from the top, so 2 ↑↑ 4 = 2^(2^(2^2)) = 2^(2^4) = 2^16 = 65,536.
Why does the infinite power tower of √2 equal 2 and not 4?
Both 2 and 4 solve the fixed-point equation x = (√2)^x, but the tower iteration starts at 1 and climbs. It converges to the attracting fixed point, which is 2: the slope of the curve there is less than 1, so nearby values get pulled in. The other solution, 4, is repelling — start even slightly away from it and the iteration moves further away, so the tower can never land there.
What is the largest base whose infinite tower converges?
The infinite power tower converges exactly when the base lies between e^(-e) ≈ 0.0660 and e^(1/e) ≈ 1.4447, a fact Euler already knew in the 18th century. At the top base e^(1/e) the tower converges to e itself. Even a base of 1.45, barely above the threshold, produces a tower that diverges to infinity.
Can tetration have fractional or negative heights?
Partially. The values a ↑↑ 0 = 1 and a ↑↑ (-1) = 0 follow directly from the recursion, and heights below -1 are undefined because they would require taking the logarithm of zero. For fractional heights such as 2 ↑↑ 3.5 there is no single agreed definition; this calculator uses the standard piecewise-linear approximation, which is continuous and matches ordinary tetration exactly at whole-number heights.
What are the super-root and the super-logarithm?
They are the two inverse questions of tetration. The super-root fixes the height and asks for the base: the fourth super-root of 65,536 is 2, because 2 ↑↑ 4 = 65,536. The super-logarithm fixes the base and asks for the height: slog base 2 of 65,536 is 4. Both are available as modes in this calculator.
How does tetration relate to Knuth's arrows and Graham's number?
In Knuth's up-arrow notation a single arrow is exponentiation and a double arrow is tetration, and each extra arrow repeats the previous operation. Graham's number starts at 3 ↑↑↑↑ 3 and then iterates the arrow count itself 64 times, so tetration is only the second rung of the ladder that number climbs.
Is tetration used in real life?
Not in engineering or physics. Tetration matters in computability theory, where the Ackermann function grows tetrationally, in tower-type bounds from logic and Ramsey theory, in the iterated logarithm that appears in algorithm analysis, and in notation systems for very large numbers, including the number engines behind incremental games.
What comes after tetration?
Pentation, which is repeated tetration, then hexation, which is repeated pentation, and so on through the hyperoperations. Even tiny inputs explode: 2 ↑↑↑ 3 is already 65,536, and 2 ↑↑↑ 4 is a tower of 65,536 twos. This site has separate pentation and hexation calculators if you want to climb the next rungs.
Tower growth on the slog scale. Ordinary charts, and even log-scale charts, go vertical within two or three levels. The super-logarithm is the only scale on which tetration grows in a straight line — each level adds one — which is why it is the natural ruler for towers.
Watch convergence happen
The staircase below traces the tower iteration x → ax, exactly the process that builds a, aa, aaa, … one level at a time. Drag the slider (or press the arrow keys while it is focused) and watch the behavior flip between three regimes: a spiral into a fixed point, a rectangle that cycles forever, and a staircase that escapes to infinity.
Drag the slider or pick a landmark base to see how its infinite tower behaves.
Every infinite tower limit at a glance
This curve collects the endings of all of those stories: for each base a, it plots the value the infinite tower aaa… settles on. The curve lives entirely between e−e ≈ 0.066 and e1/e ≈ 1.4447 — Euler's convergence window. Below the window the tower splits into two oscillating branches (dashed); above it, no limit exists at all. The marked points (√2, 2) and (e1/e, e) are the two most famous landmarks in the subject.
The infinite-tower limit curve renders here once the page's script runs.
