Optical Microscopy Resolution & Depth of Field Calculator
Vary NA, wavelength, immersion medium and magnification to calculate Rayleigh resolution, Abbe limit and depth of field in real time. Visualize the Airy disk and compare with SEM/TEM resolution limits.
What exactly is the "diffraction limit" that this simulator keeps mentioning? Why can't we just make a perfect microscope?
🎓
Basically, light is a wave. When it passes through the circular aperture of a microscope lens, it spreads out—a phenomenon called diffraction. This means a perfect point of light gets smeared into a blurry spot called an Airy disk. Try moving the "Wavelength" slider in the simulator to see how blue light makes a smaller disk than red light.
🙋
Wait, really? So the color of the light itself sets a hard limit on what we can see? What does the Numerical Aperture (NA) slider do then?
🎓
Exactly! The NA is a measure of how much light the lens can collect. A higher NA means a wider "cone" of light enters, which reduces the size of that blurry Airy disk. In practice, you can increase NA by using immersion oil. Switch the "Immersion Medium" in the simulator from air to oil and watch the resolution number drop—that's you breaking the diffraction limit a bit!
🙋
So if I have a high NA and blue light, I get great resolution. But then the Depth of Field seems tiny. Why is that a trade-off?
🎓
Great observation! That's the fundamental compromise in microscopy. A high NA gives you a thin "slice" of focus. Think of it like a camera with a very wide aperture—the background gets beautifully blurred. For instance, when imaging a 3D cell, a high-NA objective gives crisp detail on one plane, but everything above and below is out of focus. Adjust the "Magnification" slider and see how it also affects the DOF calculation.
Physical Model & Key Equations
The Rayleigh Criterion is a practical definition for the minimum resolvable distance between two point sources. It states that two points are just resolvable when the center of one Airy disk falls on the first minimum of the other.
$$d_r = \frac{0.61 \lambda}{\text{NA}}$$
Where $d_r$ is the Rayleigh resolution (smallest distance you can distinguish), $\lambda$ is the wavelength of light, and $\text{NA}= n \sin(\theta)$ is the Numerical Aperture, with $n$ being the refractive index of the medium.
The Depth of Field (DOF) defines the axial (vertical) range in the sample that remains in acceptable focus. It combines the wave optics diffraction effect with the geometric blur perceived by the observer.
The first term is the diffraction-limited depth, and the second term is the geometric depth based on magnification $M$. A higher NA dramatically shrinks the first term, leading to a very shallow focus.
Frequently Asked Questions
Rayleigh resolution (d=0.61λ/NA) represents the minimum distance at which two points can be distinguished, while the Abbe limit (d=λ/(2NA)) indicates the limit for resolving periodic structures of a diffraction grating. The Abbe limit yields a slightly smaller value and is often used as the theoretical limit for optical microscopes.
The larger the refractive index n of the immersion medium, the greater the numerical aperture NA (= n·sinθ), improving resolution (d becomes smaller). For example, changing from air (n=1.0) to oil (n=1.5) improves Rayleigh resolution by approximately 33%. At the same time, the depth of focus becomes shallower, so caution is required.
In this tool, the radius of the Airy disk (= 1.22λ/NA) is automatically calculated from the input NA and wavelength, and displayed as a visual circle. It is also displayed alongside the SEM/TEM comparison table, allowing you to intuitively compare the resolution differences between optical and electron microscopes.
The second term of the depth of focus formula (0.5/(M·NA)) accounts for the focusing accuracy of the observer's eye or camera. The higher the magnification M, the shallower the depth of focus, because slight vertical movements of the sample appear as significant image blur. Fine adjustment is therefore important during high-magnification observation.
Real-World Applications
Cell Biology & Live Imaging: Researchers choose objectives with a balanced NA and DOF to track organelles moving in 3D within a living cell. A common case is using a 60x oil immersion objective (NA=1.4) with green fluorescent protein (GFP) to get detailed, time-lapse videos of cellular processes.
Semiconductor Inspection: In chip manufacturing, defects on silicon wafers are smaller than the wavelength of visible light. Engineers use deep ultraviolet (DUV) light with a very short λ and high-NA lenses to resolve nanometer-scale circuit features, pushing the optical limits.
Pathology & Medical Diagnosis: When a pathologist examines a tissue biopsy, they need to see a relatively thick slice in focus to identify structures. They often use a 40x objective with a moderate NA to get a sufficient depth of field to navigate through the tissue layers.
Super-Resolution Microscopy: Techniques like STED or PALM bypass the diffraction limit, but they start with the principles shown in this simulator. Understanding the Airy disk and the role of NA is crucial for designing these Nobel Prize-winning methods that visualize single molecules.
Common Misconceptions and Points to Note
First, it is a major misconception to think that "better resolution solves everything." While high-NA lenses do improve resolution, they simultaneously cause the depth of field to become dramatically shallower. For example, using an NA 1.4 oil immersion lens with green light (λ=550nm) results in a theoretical depth of field below 0.3μm. This is extremely shallow compared to the thickness of a cell (several to tens of μm). In other words, if you focus on the top surface of a cell, structures just below become completely blurred. To understand 3D structures, practical wisdom involves finding a compromise based on your observation goals, such as acquiring a Z-stack (images from multiple focal planes) or using a lower NA lens with a greater depth of field to grasp the overall picture.
Next, remember that "magnification (M) is not directly related to resolution." Magnification only changes the apparent size; it does not alter the fineness of information (resolution) inherently available from the optical system. Magnifying a blurry image from a 100x lens further with an eyepiece merely results in "empty magnification," where details do not become clearer. What's important is to combine it with your camera's pixel pitch to "sample the smallest unit determined by resolution with a sufficient number of pixels." For instance, if the resolution is 0.2μm and the camera's pixel size is 6.5μm, the objective lens magnification needs to be at least 6.5μm / 0.2μm ≈ 32.5x or higher. Think of magnification as a "bridge to appropriately display and record information."
Also, do not forget that formulas provide theoretical values under "ideal conditions." The Rayleigh resolution formula $$d_r = \frac{0.61 \lambda}{NA}$$ assumes a perfect optical system, sufficient contrast, and an ideal point source. Actual samples may have low contrast, and in fluorescence, factors like dye brightness and background noise come into play. Furthermore, the actual performance can vary significantly due to the lens's own aberrations and illumination adjustments (e.g., whether Köhler illumination is correctly set up). Calculated values represent the "theoretical limit," and realizing them requires skill in both optical system alignment and sample preparation.
Enter numerical aperture (NA) between 0.1 and 1.4 for your objective lens (e.g., 0.95 for oil immersion 100x).
Input wavelength in nanometers (typically 405–650 nm for visible light; use 561 nm for green laser excitation).
Select magnification from dropdown (40x, 63x, 100x, 150x). Calculator displays Rayleigh diffraction limit, Abbe resolution, depth of field in micrometers, and confocal pinhole resolution simultaneously.
Worked Example
Oil immersion objective: NA=1.40, wavelength=488 nm (Argon laser), magnification=100x. Rayleigh diffraction limit d_r = 0.61×488/(1.40) = 212 nm. Abbe limit d_a = 488/(2×1.40) = 174 nm. Depth of field = 488/(2×1.40²) = 124 µm. For confocal microscopy with 1 Airy unit pinhole: confocal d ≈ 145 nm. These values inform whether sub-cellular structures (mitochondria ~500 nm) are resolvable.
Practical Notes
Oil immersion (NA 1.40–1.45) achieves ~150–180 nm lateral resolution; water immersion (NA 1.0) achieves ~240 nm, suitable for nuclear morphology but insufficient for synaptic vesicles (~40 nm).
Confocal pinhole at 1.0 Airy unit improves axial depth-of-field by 7–10× versus widefield; open to 2.0 AU for faster scanning of thick samples (250–350 µm tissue).
Wavelength shift from 405 nm (UV-excited GFP) to 650 nm (far-red dye) increases diffraction limit by ~60%; account for this when multiplexing channels in live-cell cytometry.