A strong design phase is necessary for good software. However, design errors in software can cause serious issues with its creation and use. Therefore, the goal of this study is to find risk variables that could have an early impact on software development. In this study, a machine learning technique called technique C4.5 is employed to create decision tree models. 100 respondents with software design experience participated in the online surveys and questionnaires that collected the data for this study in 2022. The C4.5 Algorithm was used in this study to analyze the data and determine the risk variables that affect the success of software design. The study's findings show that the C4.5 Algorithm-based model has a high level of accuracy (93.33%), which means that the data can offer crucial insights into understanding potential risks that may arise during the software design stage, enabling software developers to take the necessary precautions to lessen or eliminate these risks. In order to enhance the caliber and effectiveness of software design, this research is anticipated to provide a significant contribution to practitioners and academics in the field of software development.