Calculations of the energy of nucleic acid base interactions as a function of parameters determining mutual position of two bases in a plane have been performed. Atom-atom potential functions used include terms proportional to the first (electrostatic), sixth (or tenth for the atoms of hydrogen bond) and 12th power of interatomic distance. The calculations have shown the existence of 27 energy minima which correspond to the formation of co-planar pairs with two (or three for G : C pair) almost linear N--H...O and N--H...N hydrogen bonds. The positions of nitrogen bases bound by two hydrogen bonds in every crystal of nucleic acid components, in the complexes of polynucleotides and in tRNA are near to the positions in one of these minima. In addition for every pair there exist energy minima which correspond to the formation of one N--H...O or N--H...N and one C--H...O or C--H...N hydrogen bond. Energy behavior near minima have been investigated. The results of our calculations are in agreement with experimental data and with the calculations which employ quantum mechanical results.