An information processing apparatus includes: a light emitting unit configured to emit light; an optical unit configured to induce an optical influence to the light from the light emitting unit, the optical unit having an astigmatic lens configured to generate astigmatism with a plurality of focal lengths; a detecting unit configured to detect the light emitted in the light emitting unit, radiated outside through the optical unit, and reflected by an object; and a measuring unit configured to measure a distance to the object based on astigmatism generated in the reflection light detected in the detecting unit.