A phase‑type (PH) distribution is a flexible way to model random times. Its definition is stored inside a matrix. To work with it—to compute probabilities, moments, or fit it to data—we need to pull numbers out of that matrix. This chapter shows you how, using matrix algebra, clever recursions, and probabilistic stories that make the formulas feel natural.