The new approach to gravitation effect determination in calculating the flux of sporadic micrometeoroids in the near-Earth space is proposed. The technique is based on integrating the equations of motion of sporadic micrometeoroids with allowance for bending their trajectories when particles approach the Earth. The technique and results of calculation of the gravitational focusing factor kg for various conditions are presented. The feature of the proposed technique for calculating coefficient kg consists in the fact that this coefficient does not explicitly depend on the values of particles' velocity at the last point. The results of investigation of coefficient kg have shown that for the given initial velocity of micrometeoroids the values of this coefficient depend on deflection of its trajectories from the direction to the Earth center. It is shown that for low-altitude orbits the flux density growth can reach 60 %. The distribution of probabilities of various directions of particles flying to spacecraft structural elements is found to be non-uniform.