How to Use Graham’s Number Calculator
The Graham’s Number Calculator turns Knuth’s up-arrow notation into something you can actually try. Pick a small base, a small exponent and the number of arrows (1-4). The Graham’s Number Calculator evaluates a ↑ⁿ b — anything bigger overflows quickly.
- Pick a base like 2 or 3.
- Pick an exponent — keep it tiny.
- Choose 1-4 arrows to see how the operator nests.
Formula & Theory — Graham’s Number Calculator
Knuth’s up-arrow definition used by the Graham’s Number Calculator:
a ↑ b = a^b
a ↑↑ b = a ↑ (a ↑ (a ↑ ... a)) with b copies
a ↑↑↑ b = a ↑↑ (a ↑↑ (a ↑↑ ... a)) with b copies
Graham’s number is defined as:
g₁ = 3 ↑↑↑↑ 3
gₙ₊₁ = 3 ↑^(gₙ) 3
G = g₆₄
Assumptions and Limits
The Graham’s Number Calculator uses standard JavaScript numbers; it caps inputs aggressively to avoid Infinity. This tool is for education, not exact arithmetic.
Use Cases for Graham’s Number Calculator
- Education — visualise fast-growing functions in discrete math.
- Numberphile-style demos — illustrate the up-arrow ladder.
- Programming exercises — implement recursive arrow operators.
- Curiosity — explore numbers far beyond ordinary intuition.