Abstract
This paper presents the necessity of hydraulic calculation for the firefighting system by foam on marine vessels. Based on the theoretical basis and hydraulic calculations of fluid pipelines, the author selects the algorithm and develops a hydraulic calculation program for the foaming solution piping system of the firefighting system in marine vessels, which meets the requirements of the Vietnam Register.