Graham's Number Calculator

Free Graham's Number Calculator — explore Knuth's up-arrow notation on small inputs and learn how G₆₄ is recursively defined.

890.3K uses Updated · 2026-05-14 Runs locally · zero upload
AD

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.

  1. Pick a base like 2 or 3.
  2. Pick an exponent — keep it tiny.
  3. 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.

Frequently asked questions about Graham's Number Calculator

How does the Graham's Number Calculator work?

The Graham's Number Calculator implements Knuth's up-arrow operator a ↑ⁿ b on small inputs to illustrate how quickly the values grow.

Can it compute G₆₄?

No tool can — G₆₄ has far more digits than atoms in the observable universe. The Graham's Number Calculator helps with intuition only.

What is the up-arrow operator?

a ↑ b = aᵇ; a ↑↑ b is iterated exponentiation; each additional arrow nests one more level of the previous operation.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.