Skip to main content
Calcimator

Catalan Number Calculator

Calculate Catalan numbers and their combinatorial interpretations including binary trees and lattice paths.

Inputs

Results

Catalan Number C(n)

42

Full Binary Trees (n+1 leaves)42
Monotonic Lattice Paths42
How to Use This Calculator
  1. Enter n to compute the nth Catalan number.
  2. Review Catalan Number C(n) — the count of valid parenthesization sequences and monotonic paths.
  3. Check Full Binary Trees (n+1 leaves) to see the structural interpretation.
  4. Use Monotonic Lattice Paths for counting grid-path problems in combinatorics.
  5. For large n, note that Catalan numbers grow as 4^n divided by n^1.5 times sqrt(pi).

How the result changes with n

nCatalan Number C(n)
35
1158,786
206,564,120,420
2769,533,550,916,004

What each input means

n
Index of the Catalan number to compute (C_n). Maximum 30 to avoid overflow.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    n = 5 = 1 input(s) provided
  2. Calculate Catalan Number C
    Catalan Number C
    42 = 42
  3. Calculate Full Binary Trees
    Full Binary Trees
    42 = 42
  4. Calculate Monotonic Lattice Paths
    Monotonic Lattice Paths
    42 = 42

Engine last updated . Checked against 5 independently-derived tests how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Math & Statistics.