A multiple-freedom-degree floating electric connector with a self-calibration function comprises a plug (1) and a socket (2), and is characterized in that the socket (2) comprises the components as follows: a secondary positioning pin (11), an after-pin insulator (13), a Phi12 contact pin (14), a Phi6 contact pin (15), a before-pin insulator (16), a Phi3 contact pin (18) and a lug casing (19). According to the multiple-freedom-degree floating electric connector with the self-calibration function, the problems of unreliable electrical connection or electrical connection failures caused by multiple-freedom-degree changes such as displacement, torsion and the like produced by a battery in any direction or at any angle of an installation carrier can be solved; at the same time, damage caused by vibration and impact can be effectively eliminated; the electric connector has the characteristics that the electric connector can be connected and separated rapidly, the operation is convenient, the mechanical property is good, the electric connection is reliable, and the like; and the electric connector has larger economic and social values.