The invention relates to an automatic dip angle compensated contact electromagnetic induction waterproof distance measuring pen comprising a waterproof housing (1), a liquid crystal display panel (2), a collection key (3), a contact wheel shaft (4), a hall element (5), a signal amplifier (6), a analog-digital converter (7), a micro processor (8), a digital single-axis gyroscope (9), a display panel drive device (10), a battery (11) and a back clamp (12). The collection key (3) is pressed, the contact wheel shaft (4) rolls on the surface of an object to be measured, the distance between a stripped magnet and the hall element (5) changes regularly, and the strength of the magnetic field surrounding the hall element (5) changes regularly; according to the hall principle, the distance amount is calculated according to the change amount of hall potential difference through the micro processor (8), the change amount of the dip angle of the waterproof housing (1) detected by the digital single-axis gyroscope (9) is combined, the error caused by the change of the dip angle in the measuring process is compensated, and counting is performed through the liquid crystal display panel (2) to achieve the distance measuring purpose. The pen is reasonable in structure, accurate in measurement, convenient to use, high in adaptability, energy saving and environment-friendly.