A method of measuring eyeglass lens power is proposed. A position detector and 3 beams of ray are used to measure the prismatic, spherical and astigmatic powers. Based on the method, an automatic focimeter with simple structure can be developed. The measure errors of prismatic and spherical powers are analyzed, from which it is concluded that the precision of the position detector is the key to the method.