Discrete distribution of magnetization in one-dimensional Neel wall permitting exact calculation of magnetostatic energy is used. The total equilibrium energy is found by variation method. The equations determined here in terms of effective field are used for calculating domain wall structure, total energy and its components by computer.