In certain embodiments determining physical lengths of an eye includes determining an optical length of each segment of a plurality of segments of an axis of the eye where each segment corresponds to a portion of the eye. A refractive index is determined for each segment. A physical length of each segment is determined according to the optical length and the refractive index of the segment.