There is disclosed a distance measuring equipment capable of enhancing an
accuracy of focusing, and a camera capable of enhancing an accuracy of
focusing and/or reducing a cost with a small scale of circuit. In the
event that a photography is performed at the relatively short distance,
first and second switches of an SPD are switched by an MPU to turn off and
turn on, respectively. An AF-dedicated photo detector circuit determines a
distance up to a subject in accordance with both the photo-currents
I.sub.1 and I.sub.2 obtained through two signal electrodes. On the other
hand, in case of the relatively long distance, the MPU switches the first
and second switches of the SPD are switched to turn off and turn on,
respectively, so that another AF-dedicated photo detector circuit
determines a distance up to the subject in accordance with photo-current
I.sub.3 obtained from one of the signal electrodes. In this manner, in the
event that a photography is performed at the relatively long distance,
there is performed a processing of determining a distance up to the
subject in accordance with a total quantity of light.