A method was presented about the calculation of optical trapping force from optical tweezers. Under given parameters, the simulation of the optical trapping force on particle was demonstrated, from which the relation was obtained between the optical trapping force and the systemic parameters including the radius of the beam waist, the relative refractive index and the laser power. From the changes of the optical trapping forces under different parameters, the important impacts of the parameters were validated. Furthermore, the calculation based on electromagnetic model was expounded.