← Back to blog

Calculate Depth of Field and FOV on Your Microscope with Worked Examples

October 5, 2026
Calculate Depth of Field and FOV on Your Microscope with Worked Examples

In microscopy, depth of field is the axial thickness of the specimen that appears simultaneously sharp. At high magnifications this range is typically measured in micrometers, and it is governed mainly by numerical aperture and wavelength. You can expand it through optical choices, better illumination, or computational focus stacking, each with its own trade-offs.


TL;DR:

  • Depth of field rapidly decreases with increasing numerical aperture and magnification, shrinking by a factor of the inverse square of NA and linearly with magnification.
  • Using longer wavelengths, immersion media, or lower NA objectives can extend the in-focus axial range for specific samples and imaging needs.
  • Focus stacking and focus scanning techniques can produce fully sharp images of thick or moving samples by combining multiple images or capturing extended focus in one shot.
  • Confocal microscopy offers precise optical sectioning with adjustable depth, while electron microscopes achieve larger depth of field due to shorter electron wavelengths.
  • Sample properties, mounting quality, and motion significantly influence the effective depth of field, requiring tailored optical or computational strategies for optimal imaging.

Wevision
wevision.online
Choose Microscopy With Clarity
Explore premium microscopes with precise optics, advanced illumination, demonstrations, and support for informed instrument selection.
Explore Wevision microscopes

Table of Contents

The physics behind depth of field: formulas for DOF and FOV

Total depth of field combines two physical effects: a wave-optics term caused by diffraction and a geometrical term tied to how the optical system resolves points off the plane of focus. Nikon MicroscopyU expresses this as d_tot = λ·n/NA² + n/(M·NA)·e, where:

  • λ is the wavelength of light used for imaging, usually around 0.55 µm for white light.
  • n is the refractive index of the medium between the specimen and the objective (air, water, or oil).
  • NA is the numerical aperture of the objective.
  • M is the total magnification, and e is the detector's spatial resolution.

At high numerical apertures, the wave term dominates because it scales with the inverse square of NA, so small increases in NA sharply reduce DOF. At low NA, the geometrical term carries more weight, since it depends on magnification and detector resolution rather than diffraction alone.

Field of view follows a simpler relationship. According to Nikon's field of view formulas, FOV (mm) equals the eyepiece field number divided by the objective magnification. Both DOF and FOV shrink as magnification climbs, which is why high-power work demands more deliberate focusing habits.

What controls depth of field: NA, magnification, wavelength, and distance

Four variables interact to set your effective depth of field, and understanding each one lets you make informed trade-offs rather than guessing.

  1. Numerical aperture has the strongest influence. MicroscopyU notes that NA governs both lateral resolution and axial behavior, so raising NA sharpens detail side to side while shrinking the in-focus depth, an inverse-square relationship that becomes punishing at high power.
  2. Magnification adds a geometrical contribution to DOF independent of diffraction. Your eyepiece and objective combination sets the total magnification, and higher totals always narrow the sharp zone.
  3. Wavelength and immersion media shift the wave term directly. Shorter wavelengths and immersion oil (which raises refractive index) each change the calculated DOF, which is one reason oil-immersion objectives behave differently from dry ones at the same NA.
  4. Working distance, the physical clearance between the specimen and the objective's front lens, shortens as magnification and NA increase. This is a separate concept from DOF: working distance is physical space, DOF is optical sharpness range, and beginners often conflate the two, according to MicroscopyU.

Pro Tip: Focus slowly when switching to a high-power objective with a short working distance, and use the coarse adjustment stopper if your microscope has one to avoid driving the lens into the slide.

How to measure and calculate DOF and FOV in your own lab

Numbers become useful once you can reproduce them on your own scope. Start with field of view, since it is the easier calculation and gives you a reference for specimen sizing.

  • At 40x with a field number of 20 mm, FOV = 20 ÷ 40 = 0.5 mm, or 500 µm across the visible field, per Nikon's formula.
  • At 100x with the same field number, FOV = 20 ÷ 100 = 0.2 mm, or 200 µm, roughly a quarter of the 40x field.
  • For a DOF estimate, plug typical values into the wave-plus-geometrical formula: with λ = 0.55 µm, n = 1.0 (air), and NA = 0.65, the wave term alone (λ·n/NA²) comes out near 1.3 µm, illustrating how quickly DOF collapses at moderate NA values.

To calibrate your own measurements, focus on a stage micrometer and count how many of its divisions span the visible field at a given magnification, then use that count to calibrate an ocular micrometer for routine specimen measurement. This two-step calibration keeps your FOV and size estimates accurate across every objective you own.

Practical ways to extend effective depth of field

When a single in-focus plane is not enough, you have both optical and computational routes available, and the right choice depends on your sample and your goals.

  • Choose a lower NA or long-working-distance objective when resolution requirements allow it, since dropping NA directly increases the wave-optics DOF term.
  • Stop down the condenser aperture and set up proper Köhler illumination; Nikon MicroscopyU notes that small adjustments to condenser NA and illumination coherence can meaningfully change perceived depth of field while preserving resolution better than simply closing the aperture diaphragm all the way.
  • Use immersion media where the objective calls for it, since refractive index changes the DOF calculation and affects image quality at high NA.
  • Apply focus stacking by capturing a series of images at incremental focus steps and merging the sharp regions into one composite.
  • Consider single-shot focus scanning (SSFS) or other extended depth-of-field (EDOF) methods for live or fast-moving samples where multiple exposures are impractical.

Single-shot focus scanning research shows that achievable EDOF relates directly to scan range and detector signal-to-noise ratio, and extending the scan range to roughly twice the standard DOF improves restored image quality at the cost of higher SNR demands. Optical fixes suit fragile or light-sensitive samples where you cannot take repeated exposures; computational EDOF suits fixed or stable samples where you need a fully focused image and can tolerate longer capture times.

Wevision practice notes for implementing these techniques

Our microscopes pair glass optics with advanced illumination designed to give you a stable base for the adjustments above. If you are dialing in Köhler illumination or comparing long-working-distance objectives, our setup videos and product guidance walk through the controls step by step. For readers choosing between binocular and monocular models or adding a smartphone adapter for focus-stacked photography, our microscope lineup and responsive email support are built to help you make that choice with confidence.

How depth of field compares across microscope types

Depth of field behaves differently depending on the imaging technology, not just the objective in use. In standard optical (brightfield) microscopy, DOF is governed by the NA and wavelength relationship described earlier, and it shrinks quickly as you move from 10x to 100x objectives.

Confocal microscopy takes a different approach entirely. Rather than accepting a fixed DOF, confocal systems use a pinhole to reject out-of-focus light, producing optical sections thin enough to reconstruct three-dimensional volumes from a stack of two-dimensional planes. This gives you control over axial sampling that a simple brightfield setup cannot offer, though it requires specialized instrumentation beyond a standard compound scope.

Electron microscopy operates on a different scale altogether. Because electron wavelengths are far shorter than visible light, electron microscopes can achieve both extremely high resolution and, at certain settings, a comparatively large depth of field relative to their magnification, which is part of why scanning electron micrographs of rough surfaces often look sharp across varied topography. The underlying physics still ties resolution and depth together, but the much smaller wavelength changes where that balance lands.

For most classroom and lab work with a compound optical microscope, the practical takeaway is that your DOF options are narrower than what confocal or electron systems offer, which makes the optical and computational techniques described above especially valuable for getting the most out of standard equipment.

Comparison of depth of field across microscope types

How specimen properties and preparation affect depth of field

The specimen itself, not just the optics, shapes how much of it appears sharp at once. A thick, unsectioned tissue sample will always present more out-of-focus material at high power than a thin smear, regardless of how well you tune the condenser.

Mounting technique matters directly. A flat wet mount with even coverslip pressure keeps the specimen in a single plane, while an uneven mount tilts part of the sample out of the narrow focal band available at high magnification. Air bubbles, uneven mounting medium thickness, and folded tissue sections all introduce variation that no amount of optical adjustment can fully correct.

Uneven coverslip and bubble on microscope slide

Refractive index mismatch between the specimen, mounting medium, and immersion fluid (when used) also affects image quality and, indirectly, how reliably you can judge what is truly in focus. Staining and clearing protocols used in histology are partly designed to improve optical uniformity within the tissue, which makes focusing more predictable across a sample.

For live specimens, movement compounds the challenge: a swimming protozoan or dividing cell can drift through the focal plane during the exposure needed for a sharp image, which is one reason researchers favor faster capture methods or computational approaches over long manual focus adjustments.

Why measuring and interpreting DOF is harder than it looks

Depth of field sounds like a fixed number you can look up for a given objective, but in practice it depends on how you define "sharp" and how you are viewing the image. The formulas described earlier assume a specific detector resolution or human visual acuity, and swapping between eyepiece viewing and camera-based image capture changes the comparison. MicroscopyU cautions that practitioners should treat simplified geometrical DOF approximations carefully at high NA, since wave-theory calculations are more accurate once diffraction dominates.

Camera sensors add another layer of complexity. Nikon MicroscopyU points out that sensors sit in a fixed plane and have stricter image-plane tolerance requirements than the human eye viewing through eyepieces, so a setup that looks acceptably sharp visually may show focus problems in a captured photomicrograph.

There is also the question of useful magnification. Pushing magnification well beyond what the NA can resolve produces empty magnification, where the image gets larger without gaining detail, and DOF and FOV both shrink for no optical benefit. Nikon's guideline puts the useful range at roughly 500 to 1000 times the objective's NA, beyond which further magnification mostly wastes depth of field you could have kept.

Where controlling depth of field matters most

Some applications tolerate a shallow, unpredictable DOF; others depend on getting it right. Live cell imaging is one of the more demanding cases: cells move, divide, and change shape over the course of an experiment, and researchers need enough depth to track structures without waiting through the repeated exposures that focus stacking requires. This is a common setting for EDOF techniques that extend sharpness in a single capture.

Materials science applications, by contrast, often work with fixed, non-living samples where repeated or stacked exposures are entirely practical. Imaging a fracture surface or a composite cross-section benefits from maximum depth, so focus stacking or a lower-NA objective is often the more straightforward choice since the sample will not move between shots.

Rough fracture surface with varied focus

Diagnostic and educational settings sit somewhere in between. A classroom lab examining a prepared slide of onion root tip cells needs enough DOF to show the full thickness of the cell layer, while a clinical pathology lab examining a thin tissue section may prioritize resolution over depth, since the section itself is already thin enough that DOF is less of a constraint.

In each case, the choice of objective, illumination setup, and whether to add a computational step depends on whether the sample can be held still, how much axial information matters to the result, and how much time the workflow allows.

Advanced techniques that reshape depth of field beyond basic optics

Beyond adjusting NA and illumination, several computational and instrumental techniques change how depth of field behaves without altering the underlying lens physics. Deconvolution microscopy is one of the most widely used: by mathematically modeling how the optical system blurs light from out-of-focus planes, deconvolution software can computationally sharpen a 3D image stack, effectively recovering detail that the raw optics alone would present as blurred.

Focus stacking, discussed earlier as a practical DOF-extension method, is itself a form of computational imaging rather than a change to the microscope's physics. Single-shot focus scanning takes this further by sweeping focus during a single exposure, trading some signal-to-noise ratio for the ability to capture an extended-depth image without multiple separate frames, a trade-off quantified in SSFS research in terms of scan range and detector SNR.

Confocal and related optical sectioning techniques, mentioned earlier in the context of comparing microscope types, represent a third path: rather than extending DOF, they deliberately narrow it to isolate individual planes, then reconstruct depth computationally from the resulting stack. Each of these approaches treats depth of field as a parameter to be managed through processing or instrument design, not just a fixed consequence of the objective you have mounted.

When to accept shallow depth and when to solve for more

Before reaching for a fix, ask three questions: how much axial detail do you actually need, how thick is the specimen, and how much time does your workflow allow per image. If you need a single quick observation of a thin mount, a shallow DOF at high NA is often fine. Students benefit from practicing with lower-NA objectives and learning to calibrate measurements before chasing extended depth. Researchers facing thick or moving samples should weigh EDOF or an optical redesign against the time cost. Run a small test on your own sample and log what worked before committing to one method.

— https://www.wevision.online

Finding the right microscope for the techniques in this guide

The microscopes we discuss use optics and illumination control that the techniques above depend on: glass optics, advanced illumination systems, and a choice of binocular or monocular viewing depending on how you work. Mechanical stage controls help with the slow, deliberate focusing that short working distances demand, and smartphone adapters can make focus-stacked photography more accessible without separate camera equipment.

Wevision

  • Explore our premium microscopes built for classroom, lab, and home use.
  • Watch our setup videos for guidance on illumination and objective selection.
  • Reach our support team by email if you have questions before or after your purchase.

Browse our current microscope lineup to find the model that matches your working distance and illumination needs.

FAQ

What is the field of view of a 100x microscope?

With a common eyepiece field number of 20 mm, a 100x objective gives a field of view of 0.2 mm, or 200 µm, calculated as field number divided by magnification, per Nikon's formula. This value will differ slightly if your eyepiece has a different field number.

What is the field of view at 40x magnification?

This follows directly from the FOV formula: field number divided by objective magnification.

How do you calculate the field of view of a microscope?

Divide the eyepiece's field number, usually printed on the eyepiece itself, by the magnification of the objective lens currently in use. Nikon's reference confirms this formula and shows that the result in millimeters can be converted to micrometers by multiplying by 1,000.

What is the difference between depth of field and depth of focus?

Depth of field refers to the axial thickness of the specimen, in object space, that appears sharp at once, while depth of focus describes the equivalent tolerance on the image side of the lens, where the camera sensor or your eye sits. Depth of focus is typically much larger than depth of field and scales roughly with the square of total magnification, which matters most when you are setting up a camera for photomicrography rather than viewing directly through the eyepieces.

Sources

WWevision
Discuss Your Microscopy Needs
Email Wevision for helpful guidance on choosing, setting up, and using microscopes for learning, exploration, or laboratory work.