This research paper analyzes the Titanic disaster using various machine learning algorithms to determine factors affecting passenger survival rates, such as age, sex, and passenger class. The study employs training and test datasets with 891 and 418 rows respectively, utilizing logistic regression, naïve bayes, decision tree, and random forest methods, with logistic regression yielding the highest accuracy at 93.54%. The findings conclude that factors like sex and passenger class significantly influence survival chances, suggesting areas for future research on enhancing prediction accuracy.