For a long time, fish school swimming has attracted a great deal of attention in biological systems, as fish schools can have complex hydrodynamic effects on individuals. This work adopted a non-iterative, immersed boundary-lattice Boltzmann method (IB-LBM). A numerical simulation of two-dimensional three-degree-of-freedom self-propelled fish, in side-by-side, staggered, and triangle formations, was conducted by adjusting spacing and motion parameters. A comprehensive analysis of individual speed gains and energy efficiencies in these formations was carried out. Furthermore, an analysis of the hydrodynamic characteristics of fish schools was performed, using instantaneous vorticity profiles and pressure fields. Certain studies have shown that passive interactions between individuals cannot always bring hydrodynamic benefits. The swimming efficiency of side-by-side formations in the same phase gradually increases as the distance decreases, but it also brings certain burdens to individuals when the phases are different. This paper also shows that the roles of passive interactions, spacing, and deflections affect fish school subsystems differently. When the low-pressure areas created by a wake vortex act on one side of an individual's body, the tail-end fish are good at gaining hydrodynamic benefits from it. This effect is not universal, and the degree to which individuals benefit from changes in exercise parameters varies. This study provides a theoretical basis for bioinspired robots, as well as providing certain insights into the mechanism of collective biological movement.