Markov model is one of the decision analysis models, which is widely used in pharmacoeconomic evaluation studies. In terms of dealing with changes of disease risks during different times, the transition probabilities among different Markov health states becomes hard to calculate. Nevertheless, survival analysis is an available resolution. In this paper, we introduced how to apply survival analysis in calculation of transition probability in time-dependent model based on cumulative probability with a case analysis on advanced gastric cancer Markov model, and provide more information for researchers to build models.