A method and system for determining range to a target are provided. A beam of electromagnetic energy is transmitted through an aperture in an opaque screen such that a portion of the beam passes through the aperture to generate a region of diffraction that varies as a function of distance from the aperture. An imaging system is focused on a target plane in the region of diffraction with the generated image being compared to known diffraction patterns. Each known diffraction pattern has a unique value associated therewith that is indicative of a distance from the aperture. A match between the generated image and at least one of the known diffraction patterns is indicative of a distance between the aperture and target plane