Markov Chain Transition Matrix Calculator
Evolve a Markov chain: the distribution after n steps, the n-step transition matrix Pⁿ and the long-run steady-state distribution.
Evolve a Markov chain: the distribution after n steps, the n-step transition matrix Pⁿ and the long-run steady-state distribution.
Results
About This Calculator
Row i of P lists the probabilities of moving from state i to each state. xₙ = x₀Pⁿ; the steady state π satisfies πP = π.
Example
Example: with P = [[0.9, 0.1], [0.5, 0.5]] the long-run distribution is (0.83333333, 0.16666667).
Assumptions
Row-stochastic P; steady state by power iteration.
Frequently Asked Questions
Does every Markov chain have a steady state?
Every finite chain has one; it's unique when the chain is irreducible and aperiodic.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile