Focus Stacking Step Size for Macro: Calculator Method

Macro camera focused on a small subject for a focus stack

If a macro stack has sharp slices but the merged image still shows soft bands or missing detail, the focus steps are probably too large. The most common cause is choosing an interval by guesswork instead of basing it on the usable depth of field at the magnification and aperture you are actually shooting.

Why this happens

A stack succeeds when each frame’s sharp region overlaps the next one. The usable depth of field in close-up photography is very shallow, and it changes with magnification, aperture, sensor format, and the amount of detail you need to preserve. A calculator gives you a starting point; a short test stack confirms whether it works with your lens, subject, and final output.

  • As magnification increases, depth of field shrinks, so the same physical step can leave gaps.
  • Stopping down increases depth of field, but diffraction can soften fine detail across every frame.
  • Focus rails, lens motors, and camera focus-by-wire systems may move in increments that do not match the distance you expect.

1. Measure the magnification and choose an aperture

Set the camera to the magnification and aperture you will use for the stack. For a film scan, establish the reproduction ratio with the film holder and lens in their final positions. For a tiny subject, use the lens’s marked magnification or estimate the ratio from a ruler in a test frame: a 10 mm subject spanning 20 mm on the sensor is about 2×.

Do not calculate for one setup and then change magnification, aperture, or extension tubes. Those changes alter the usable depth of field. With vintage lenses, verify the aperture actually stops down and use the aperture value at the shooting magnification if your setup reports one.

2. Calculate a conservative step size

Use a macro depth-of-field calculator that accepts magnification, aperture, and circle of confusion, or use the lens or rail manufacturer’s calculator for your specific setup. Set the circle of confusion for your intended output when the calculator allows it. The estimated depth of field is a maximum starting point, not a guaranteed safe interval.

Set the step to about half to two-thirds of the calculated depth of field. For example, if the calculator returns 0.6 mm, begin around 0.3–0.4 mm. This overlap leaves room for imperfect movement and focus transitions. If you cannot measure the magnification accurately, choose the shorter end and validate with a test stack.

3. Set the interval in the way your rig actually moves

On a motorized rail, enter the calculated distance in the rail’s step or increment setting and confirm whether it specifies movement per frame or total travel. On a camera’s focus-bracketing menu, check your model’s menu: current versions may use a numbered step scale rather than millimeters. Make a short test sequence and inspect adjacent frames at 100% to determine whether the selected value gives adequate overlap.

If you are moving the camera on a manual rail, use the rail scale or a dial indicator if available. Take a test frame, advance one interval, and check that the subject’s sharp plane moves gradually through the scene without skipping a visible section.

4. Keep the camera and subject from shifting

Mount the camera securely, turn off stabilization on a locked tripod if your camera or lens guidance recommends it, and prevent the subject from moving in air currents. Use tethered capture in Capture One if it helps you monitor the sequence, but verify that each frame is saved and ordered correctly. Tethering does not control the focus interval unless your camera, lens, or rail workflow explicitly supports that function.

For film scanning, lock the holder and camera, and make sure the film lies flat. If the scan plane shifts between frames, a smaller step will not correct the alignment problem. A stable setup produces consistent frame-to-frame movement and makes merging easier.

5. Test the stack before shooting the full subject

Capture a small stack across the front, middle, and rear of the subject. Review the sequence at 100% in your capture software or image viewer. Each frame should move the sharp plane slightly, with no depth region jumping from sharp to blurry without an overlapping frame.

If a region is skipped, reduce the interval and repeat. If the sharp plane barely changes, increase the interval modestly or check whether the rail or focus control is responding. A test stack is the quickest way to learn how the calculated step behaves on your actual setup.

6. Merge with alignment and inspect problem areas

In your stacking application, enable alignment or image registration when available, then select the appropriate stacking method for your subject. In darktable, use the focus-stacking workflow or module provided by your installed version; module names and availability can vary, so check your current build’s interface. Inspect the result at 100% around edges, fine textures, and reflective details.

Halos or doubled edges can come from subject movement, alignment errors, or changes in perspective as focus shifts. These artifacts do not always mean the step is too large. Compare the source frames first: missing sharp coverage points to interval size, while misaligned detail points to movement or registration.

7. Diagnose the symptom before changing settings

CauseSymptomQuick test
Step too largeSoft band between sharp regionsCompare adjacent frames at 100%
Subject or camera movementGhosted or doubled edgesCheck whether stationary background detail shifts
Rail or focus control limitRepeated or skipped focus planesReview the sequence in capture order
Diffraction or poor focusFine detail looks soft in every frameInspect a single frame before merging

FAQ

What focus stacking step size should I use for macro?

Calculate the depth of field for your magnification and aperture, then start with roughly half to two-thirds of that value. Confirm the overlap with a short test stack because calculator assumptions and real movement can differ.

How do I calculate focus stacking step size for macro photography?

Enter magnification, aperture, and an appropriate circle of confusion into a macro depth-of-field calculator. Use the result as the maximum coverage depth, then choose a smaller interval to preserve overlap.

Why does my macro focus stack have blurry bands?

Blurry bands usually indicate that no source frame captured that depth sharply, often because the interval was too large. Check individual frames at 100% and repeat the test with a smaller step; if every frame is soft, inspect focus, aperture, and vibration instead.

Use the calculator to choose a conservative starting interval, then let a short test stack show whether the sharp regions overlap on your rig. If the result still fails, inspect the source frames and change one factor at a time; consult your camera, lens, or rail documentation if its step controls remain unclear.

Photo: Alexey V. Kurochkin / CC BY-SA 4.0 (Wikimedia Commons)

Leave a Comment

Needle Keeps Breaking on Your Brother: 7 Real Causes

Needle Keeps Breaking on Your Brother: 7 Real Causes

Fix a brother embroidery machine needle keeps breaking with seven practical checks for hooping, needle choice, threading, tension, fabric and machine clearance.

Underlay Stitches Explained: When Each Type Matters

Underlay Stitches Explained: When Each Type Matters

Learn how embroidery digitizing underlay stitches stabilize fabric, improve coverage, and prevent puckering, gaps, and rough edges with practical checks.

Cricut Maker Not Cutting Cardstock: Blade and Passes

Cricut Maker Not Cutting Cardstock: Blade and Passes

Fix cricut maker not cutting through cardstock by checking the blade, mat, material setting, pressure, and repeat cuts in Cricut Design Space.

Bobbin Thread Showing on Top: Tension and Bobbin Case

Bobbin Thread Showing on Top: Tension and Bobbin Case

Fix brother embroidery bobbin thread showing on top by checking threading, bobbin seating, lint, needle condition, and upper tension before adjusting settings.

Vinyl Stuck to Transfer Tape: Release and Temperature

Vinyl Stuck to Transfer Tape: Release and Temperature

Vinyl stuck to transfer tape? Check the liner, adhesive, pressure, and temperature to find the cause and release your design without stretching it.

Serger Thread Keeps Slipping Out of the Needle: Fixes

Serger Thread Keeps Slipping Out of the Needle: Fixes

Serger thread keeps coming out of needles? Check threading, tension, needle position, and stitch settings to find the cause and get sewing again today.

Cricut Design Space Broken After Update: Rollback

Cricut Design Space Broken After Update: Rollback

Fix cricut design space not working after update with cache cleanup, a clean reinstall, connection checks, and practical steps to restore projects and cutting.

Brother PE800 Auto Threader Not Working: Adjustment

Brother PE800 Auto Threader Not Working: Adjustment

Fix brother pe800 auto threader not working by checking needle position, needle type, threading technique, and hook alignment before arranging service.

Cameo 4 Registration Keeps Failing: Sensor Cleaning

Cameo 4 Registration Keeps Failing: Sensor Cleaning

Fix silhouette cameo 4 registration keeps failing with careful sensor cleaning, print checks, mat setup, and tests to identify when service is needed.

Silhouette Cameo 4 Check Cross Cutter: Fix Guide

Silhouette Cameo 4 Check Cross Cutter: Fix Guide

Silhouette Cameo 4 check cross cutter error? Find the common cause, clear the cutter path, check settings, and test a safe manual cut before resuming.