There are presented the results of calculating the energies of the helium atom energy in a homogeneous magnetic field on the basis of the new numerical quantum-mechanical approach. The approach is based on the numerical difference solution of the Schrödinger equation, the model potential method and the operator perturbation theory formalism. The obtained results on energy of the helium atom in dependence upon the magnetic field strength are compared with available theoretical results, obtained on the basis of alternative numerical Hartree-Fock and diagonalization methods.