Coke formation during steam cracking of gas and liquid feedstocks comprises a catalytic coke formation phase followed by a pyrolytic coke formation phase. At present, only a very limited number of models are available that account for both phenomena. Therefore, a new semi-empirical coking model considering both stages was developed based on chemical insights and validated with experimental data from an electro-balance unit equipped with a microreactor. The coke deposition reactions are assumed to involve active sites and coke precursors in both phases. The transition from the catalytic to pyrolytic coke formation phase has been coupled to the growth of the coke filaments. Experiments conducted using two different feedstocks under various temperatures were used for parameter regression, which was performed separately for catalytic and pyrolytic coke formation parts using the Levenberg− Marquardt method. The new coking model can accurately predict the experimental coking curve as a function of time with a mean absolute error of 3.5 × 10 −5 g m −2 s −1 . Furthermore, the impact of the continuous addition of dimethyl disulfide on the pyrolytic coke formation was also accounted for using experimental data from the literature for the first time. To prove its predictive capability, the coking model was used to calculate the coke buildup in a run length simulation for an industrial steam cracker. The predicted run length agrees well with the industrial observation of 85 days.