This paper presents a method for assessing the transient stability of electrical power systems using phase plane trajectories to compute critical conditions such as critical clearing time (CCT) and critical clearing angle (CCA). The proposed algorithm employs numerical approaches to analyze system behavior during and post-fault conditions, demonstrating accuracy and efficiency. Simulation results validate the effectiveness of this methodology for various test cases of single-machine infinite bus systems.