A wire electric discharge machine has a tank containing a working fluid, a table in the tank for mounting a workpiece, upper and lower guides supporting a wire electrode, a measurement device detachable from or movable relative to an upper guide part having the upper guide, and including a sensor for measuring the workpiece after machining, a plate thickness acquisition unit for acquiring a plate thickness of the workpiece, a level detection unit for detecting a level of the working fluid in the tank, and a level adjustment unit for adjusting the level of the working fluid when measuring the workpiece on the basis of the relative position of the upper guide and the measurement device body, a position of the upper guide, and the plate thickness, to a level not lower than a height of an upper surface of the workpiece and not higher than the measurement device body.