In optics, the exit pupil is a virtual aperture in an optical system. Only rays which pass through this virtual aperture can exit the system. The exit pupil is the image of the aperture stop in the optics that follow it. In a telescope or compound microscope, this image is the image of the objective element(s) as produced by the eyepiece. The size and shape of this disc is crucial to the instrument's performance, because the observer's eye can see light only if it passes through this tiny aperture. The term exit pupil is also sometimes used to refer to the diameter of the virtual aperture. Older literature on optics sometimes refers to the exit pupil as the Ramsden disc, named after English instrument-maker Jesse Ramsden.
To use an optical instrument, the entrance pupil of the viewer's eye must be aligned with and be of similar size to the instrument's exit pupil. This properly couples the optical system to the eye and avoids vignetting. (The entrance pupil of the eye is the image of the anatomical pupil as seen through the cornea.) The location of the exit pupil thus determines the eye relief of an eyepiece. Good eyepiece designs produce an exit pupil of diameter approximating the eye's apparent pupil diameter, and located about 20 mm away from the last surface of the eyepiece for the viewer's comfort. If the disc is larger than the eye's pupil, light will be lost instead of entering the eye; if smaller, the view will be vignetted. If the disc is too close to the last surface of the eyepiece, the eye will have to be uncomfortably close for viewing; if too far away, the observer will have difficulty maintaining the eye's alignment with the disc.
Since the eye's pupil varies in diameter with viewing conditions, the ideal exit pupil diameter depends on the application. An astronomical telescope requires a large pupil because it is designed to be used for looking at dim objects at night, while a microscope will require a much smaller pupil since the object will be brightly illuminated. A set of 7×50 binoculars has an exit pupil just over 7.1 mm, which corresponds to the average pupil size of a youthful dark-adapted human eye in circumstances with no extraneous light. The emergent light at the eyepiece then fills the eye's pupil, meaning no loss of brightness at night due to using such binoculars (assuming perfect transmission). In daylight, when the eye's pupil is only 4 mm in diameter, over half the light will be blocked by the iris and will not reach the retina. However, the loss of light in the daytime is generally not significant since there is so much light to start with. By contrast, 8×32 binoculars, often sold with emphasis on their compactness, have an exit pupil of only 4 mm. That is sufficient to fill a typical daytime eye pupil, making these binoculars better suited to daytime than night-time use. The maximum pupil size of a human eye is typically 5–9 mm for individuals below 25 years old, and decreases slowly with age as shown as an approximate guide in the table below..