This paper proposes the design method of the variable compliance gain for the force-based compliance controller considering both position information and force information. The force-based variable compliance controller is effective since it is possible for this controller to realize both the compliant contact motion and the precise position control. However, the chattering occurs at the moment of the controller modification between the position control and the force control. In order to solve this chattering problem, the modification method considering both position information and force information is proposed. As a result, the smooth controller modification between the position control and the force control is actualized. In addition, the position control during the non-contact motion is analyzed by modeling the controller as a second order system. From this analysis, the precise position control is obtained by setting the parameters to achieve a critical damping. The validity of the proposed method is confirmed by the experimental results.