In this article, a formulation was developed for designing a stable disk laser resonator and achieving a high power and a beam quality close to the fundamental mode with a short effective length. In this regard, by taking a matrix approach and using Gaussian beam propagation based on the ABCD law for Gaussian beams, the fundamental-mode spot size inside a resonator and its sensitivity to misalignment, as well as dynamic stability in multiple folded resonators, were analyzed in order to achieve a short effective length. In the presented method, the optimal geometrical parameters of the resonator were obtained by applying the length limits, permissible level of sensitivity to misalignment, and range of dynamic stability with the help of MATLAB software coding. Using this design algorithm, a Z-shaped resonator with the arm length of 50 cm and fundamental-mode spot size of 2.4 mm on the active media was designed, while the resonator had a good dynamic stability and low sensitivity to misalignment. Considering these specifications, it was possible to design a compact disk laser with a power of 1 kW, which had a beam quality close to the fundamental mode.To the best of our knowledge, the laser disk resonator described in this paper, which is resistant to misalignment and has a short effective length, has not been previously documented in the literature. The model developed in this research is a general model that can be used in much more complex structures with any numbers of optical elements in other lasers.