Taught herein is a portable digital horizontal inclinometer which utilizes magnetic field to dampen the free swing of the pendulum. The inclinometer features simple structure, small size, high sensitivity, good linearity, high precision, and strong anti-jamming capability. It is also easy to manufacture and provide fast and accurate reading over a wide range of inclination angles of up to 360° .