In this paper, a method to calculate the winding factor by only considering stator parameters without the rotor ones is developed. This is interesting because it allows the separation of the stator and rotor design, unlike the existing methods in the literature. A general method based on the matrix representation of a winding is presented. This approach requires the knowledge of four parameters : i) slots number, ii) phases number, iii) layers number, and iv) single-phase spatial distribution. A new feature of the multi-layer windings is introduced, it is called false-zero windings, which is divided into two categories: i) α-windings (i.e., odd false-zero windings), and ii) β-windings (i.e., even false-zero windings). The windings having no false-zero are categorized as γ-windings. The calculations are applied for single and multi-phase/-layer windings. The results of the comparison are satisfactory. The code used for the calculation is given in Appendix.