This tetration calculator evaluates repeated exponentiation, the tower a^a^a^…^a, for a base and a height. It handles huge results by giving the number of digits instead of the full value, and for bases between about 0.066 and 1.4447 it shows what the infinite tower converges to.
Tetration Calculator
Compute the power tower a↑↑n = a^a^…^a: exact value, digit count, size when it explodes, convergence of small bases, and the last digits of enormous towers.
Starting values: a well-known case is 2 tetrated to height 4, which is 2^(2^(2^2)) = 65,536. The calculator takes any base and a whole-number height from 0 to 100,000.
What tetration is
Multiplication is repeated addition, and exponentiation is repeated multiplication. Tetration is repeated exponentiation. The notation for a tower of n copies of a is written as a double up-arrow, a ↑↑ n. The tower is evaluated from the top down, so 2 ↑↑ 4 means 2^(2^(2^2)), not ((2^2)^2)^2. By convention, a ↑↑ 1 = a and a ↑↑ 0 = 1.
How fast the numbers grow
- 2 ↑↑ 3 = 2^(2^2) = 16
- 2 ↑↑ 4 = 2^16 = 65,536
- 2 ↑↑ 5 = 2^65,536, a number with 19,729 digits
- 3 ↑↑ 3 = 3^27 = 7,625,597,484,987, which has 13 digits
- 3 ↑↑ 4 = 3 to the power of 7,625,597,484,987, a number with about 3.6 trillion digits
This explosive growth is why the calculator reports a digit count when the answer is too large to print. For these cases, it uses a digits mode, and the final digits are found with Euler’s totient reduction, a method of working modulo a number so the power does not need to be computed in full.
Worked examples
Example 1: a small tower
For 2 ↑↑ 4, work from the top. 2^2 = 4, then 2^4 = 16, then 2^16 = 65,536. The calculator returns the exact value.
Example 2: counting digits
The number of digits of N is the integer part of log10(N), plus 1. For 2 ↑↑ 5 = 2^65,536, that is 65,536 x log10(2) = 65,536 x 0.30103, which is about 19,728.3, so the number has 19,729 digits. The same trick gives about 3.6 trillion digits for 3 ↑↑ 4.
Example 3: an infinite tower
For a base of 1.3, each added level changes the value by less each time, and the infinite tower settles at about 1.47099, the point where x = 1.3^x. The tower converges only for bases from e^(-e), about 0.0660, up to e^(1/e), about 1.4447. A base of 1.5 is outside this range: the tower grows without bound, with values of 1.5, 1.837, 2.106, 2.349, 2.592 and 2.86 for the first six heights, and it keeps climbing.
Limits to keep in mind
- The height must be a whole number. Tetration to a fractional height is not uniquely defined, so the calculator does not offer it.
- Exact values are only practical for small towers. Beyond that, expect digit counts or leading and trailing digits.
- Floating-point results for bases below 1 are approximate.
Tetration in the hyperoperation ladder
Each operation is built from the one before it. Addition repeated gives multiplication, multiplication repeated gives exponentiation, and exponentiation repeated gives tetration. The next rung, pentation, repeats tetration. Each step makes the growth far faster than the one before, so even small inputs reach numbers that cannot be written out.
Why exponentiation is not associative
The order of evaluation matters because exponentiation is not associative. Compare 2^(2^3) = 2^8 = 256 with (2^2)^3 = 4^3 = 64. A tower is always read from the top, which is why 2 ↑↑ 4 is 65,536, while the left-to-right reading of the same symbols would give a much smaller number, (2^2)^(2^2) = 256. Always check which convention a source uses before comparing results.
Reading the output
For small towers, the calculator prints the whole number. For larger ones, it reports the number of digits and, where it is practical, the leading and trailing digits, because those can be computed without building the entire value. If your tower falls inside the convergence range, you can compare the height-by-height values with the limit to see how quickly it settles. For a base such as 1.3, the values approach 1.47099 within a few levels.
Two famous infinite towers
The tower of the square root of 2 is the classic example. Its values climb through 1.414, 1.633, 1.760 and so on, and settle at exactly 2, because the square root of 2 raised to the power 2 is 2 again. At the upper edge of the convergence range, a base of e^(1/e), about 1.4447, produces a tower that converges to e, about 2.718. Any base just above that edge makes the tower grow without bound, which is the behavior you saw with 1.5.
How to test convergence yourself
Compute the tower at a few heights in a row and watch the differences. If each new height changes the value by less than the one before, the tower is converging, and the limit is the solution of x = base^x. If the values keep growing by larger steps, the tower is diverging, and a bigger height only gives a bigger number.
Frequently asked questions
What is tetration?
Tetration is repeated exponentiation: a tower of the same base, such as 2^(2^(2^2)). It comes after addition, multiplication and exponentiation in the hyperoperation sequence.
How is a tower evaluated?
From the top down. 2 tetrated to height 4 is 2^(2^(2^2)) = 65,536.
Why does the calculator show digit counts?
Towers grow so quickly that the full value cannot be written out. The digit count comes from the logarithm.
When does an infinite tower converge?
For bases from about 0.0660 to about 1.4447. Outside this range the tower either grows without bound or oscillates.
What is tetration to height 0?
By convention it is 1.
