An ophthalmic surgical system includes an imaging unit configured to generate a fundus image of an eye and a depth imaging system configured to generate a depth-resolved image of the eye. The system further includes a tracking system communicatively coupled to the imaging unit and depth imaging system, the tracking system comprising a processor and memory configured to analyze the fundus image generated by the imaging unit to determine a location of a distal tip of a surgical instrument in the fundus image, analyze the depth-resolved image generated by the depth imaging system to determine a distance between the distal tip of the surgical instrument and a retina of the eye, generate a visual indicator to overlay a portion of the fundus image, the visual indicator indicating the determined distance between the distal tip and the retina, modify the visual indicator to track a change in the location of the distal tip within the fundus image in real-time, and modify the visual indicator to indicate a change in the distance between the distal tip of the surgical instrument and the retina in real-time.