A theoretical method for studying the local lattice structure of Ni2+ ions in (NiF6)(4-) coordination complex is presented. Using the ligand-field model, the formulas relating the microscopic spin Hamiltonian parameters with the crystal structure parameters are derived. Based on the theoretical formulas, the 45 x 45 complete energy matrices for d8 (d2) configuration ions in a tetragonal ligand-field are constructed. By diagonalizing the complete energy matrices, the local distortion structure parameters (R perpendicular and R || ) of Ni2+ ions in K2ZnF4:Ni2+ system have been investigated. The theoretical results are accorded well with the experimental values. Moreover, to understand the detailed physical and chemical properties of the fluoroperovskite crystals, the theoretical values of the g factor of K2ZnF4:Ni2+ system at 78 and 290 K are reported first.