
AI-generated example
Focus stacking macro
At 1:1 the sharp zone is millimeters deep and stopping down costs light and detail. Know the light you lose, measure the depth, step the focus.
Who this is for: Shooters with a macro lens who want a small object, such as a ring or a watch, sharp from front to back.
The ring that is only half sharp
You fill the frame with a ring at life size. Focus on the front edge and the stone goes soft. Focus on the stone and the front blurs. Close the aperture to f/22 and the whole picture turns slightly mushy. No single frame holds it all.
That is how close-up work behaves. Depth of field shrinks sharply at close range [1]. Stopping down helps only up to a point, because diffraction softens the image at small apertures, and that matters most in close-up work [1]. Focus stacking gets around both limits.
Step 1: Know the light you lose at 1:1
Close focusing darkens the exposure. As a lens focuses closer, its effective aperture gets smaller [2]. The working f-number is about (1 + magnification) x the set f-number, when the lens's pupil magnification is taken as 1 [2].
| Magnification | Set f/8 works like | Light lost |
|---|---|---|
| 1:4 (0.25x) | about f/10 | about 2/3 stop |
| 1:2 (0.5x) | about f/12 | about 1 stop |
| 1:1 (1x) | about f/16 | 2 stops |
Wikipedia notes that pupil magnification is often assumed to be 1 because it is seldom known [2]. Many long macro lenses do not match that, so the loss can be larger. Trust the camera's meter and the histogram over the table.
The light loss also moves diffraction closer. A set f/11 at 1:1 behaves like about f/22. So the aperture that looks safe on the dial can already be soft.
Step 2: Measure the depth in millimeters
Before you start, know how deep the subject is and how deep each slice is. Depth of field grows with the f-number and shrinks with closer distance [1]. At life size it is only millimeters deep, even at a middle aperture.
- Measure the subject's depth from the nearest to the farthest part you want sharp. A ring might be 20 mm, a watch face 10 mm.
- Take one test frame at your chosen aperture and look at a ruler laid at an angle. The sharp band on the ruler is your slice depth.
- Divide the subject depth by the slice depth and add a few. That is roughly how many frames the stack needs.
Pick the sharpest aperture of the lens, often around f/5.6 to f/8 on the dial, and let the stack provide the depth.
Light matters too. A stack takes many frames, so the light must stay the same for all of them. Window light changes as clouds pass. A lamp or a constant LED panel with a diffuser holds steady, and a white card on the far side fills the shadows. Flash works as well, as long as it recycles fully between frames.
Clean the subject before you start. At life size, every speck of dust and every fingerprint on a ring or a watch glass is sharp in at least one slice of the stack, and removing them later from many frames is slow.
Step 3: Step the focus
Focus stacking combines several frames taken at different focus distances into one image with more depth than any single frame [3]. Each frame has a different part of the subject sharp, and software keeps the sharp parts [3].
Shooting the stack
- Camera on a solid tripod. Lights fixed. Nothing in the scene moves.
- Manual focus, manual exposure, fixed white balance, so every frame matches.
- Focus just in front of the nearest point you want sharp. Take a frame.
- Turn the focus ring a small step deeper, so the new sharp slice overlaps the last one. Take a frame.
- Repeat until the sharp slice passes the back of the subject.
- Use the 2-second timer or a remote for every frame.
Some cameras can shoot the steps for you with a focus-bracketing menu. A focusing rail that moves the camera does the same job by distance instead of by focus ring.
Merging
Wikipedia lists programs that merge stacks, among them Adobe Photoshop, Helicon Focus, Zerene Stacker and Affinity Photo's Focus Merge [3]. Check the result at full size for soft patches where the slices did not overlap, and for halos around edges.
Common mistakes
- Stopping down to f/22 for depth. Diffraction softens everything [1]. Stack instead.
- Gaps between slices. The merged image shows soft bands. Use smaller steps.
- Auto exposure or auto white balance. Frames do not match and the merge shows patches.
- Wind, a bumped table or a breathing subject. Anything that moves between frames will not line up.
- Ignoring the light loss. At 1:1 a set f/8 works like f/16 [2]. Plan the light and shutter for it.
Start small. A stack of five to ten frames on a flat object teaches the steps. Move to deeper subjects once the merged result shows no soft bands.
Practice before the shoot
The macro table scene in the Camera Simulator is being built, so the hands-on part of this lesson is coming. When it is ready, it will show the stack as you build it. Until then, a ring or a coin on a table by a window works for the steps below.
Gear for this lesson
Plain store links. Full Time Shooter earns nothing from these today. If that changes, every paid link will say “(paid link)” right next to it. How links work here.
- TripodNew at B&H
- Remote shutter releaseNew at B&H
- Macro lensNew at B&HUsed at KEH
- Focusing railNew at B&H
Sources
- Depth of field. Wikipedia. Current page. Checked Nov 20, 2026. Depth of field is much smaller at close range; it grows with f-number; diffraction limits stopping down in close-up work.
- F-number. Wikipedia. Current page. Checked Nov 20, 2026. Focusing closer makes the effective aperture smaller; working f-number about (1 + magnification) x f-number with pupil magnification taken as 1, so about 2 stops at 1:1.
- Focus stacking. Wikipedia. Current page. Checked Nov 20, 2026. Combines frames at different focus distances into one with more depth; used in macro; lists merge software.
