The best step size for macro/micro applications depends strongly on several things:

- Magnification
- Aperture setting
- Lens quality
- Resolution needed in the final result

So, if you need to determine an optimum step size for the purpose of shooting many similar stacks, then the best way to proceed is by a multi-step structured experiment:

- Determine the magnification you need.
- At that magnification, determine the smallest aperture (biggest f-number) that gives the resolution you need. A good way to do this is by running a short series of tests, varying the aperture setting.
- At that magnification and aperture setting, determine the largest step size that does not give visible focus banding. A good way to do this is by shooting a single stack with a step size that is much smaller than you need, then processing the stack multiple times while changing the setting of Options > Preferences > Preprocessing > “Stack every N'th frame” to 1, 2, 3, 4, etc. Compare result images to find the largest N that does not give focus banding, then multiply the actual step size by N to find the optimum step size.

Take notes about what you find and you will quickly develop a table of settings and step sizes that are optimized for your own equipment, your own applications, and your own preferences. This table will be significantly different for different people.

However, if you're starting from scratch or doing a new type of stack, then surely you could use some guidance about what settings would be reasonable to start with. That's what the tables on this page are for.

Using these tables is essentially a three-step process with no experimentation:

- Use Table 1 to determine magnification, by framing your subject and measuring the frame width.
- Use a second table to choose an aperture setting and determine the associated DOF and maximum step size.
- Adjust step size if desired, so as to give more overlap between focus bands and/or choose values that are simple to use with your setup. Many people like to use about 0.7 times the values given in these tables.

**Step 1: Determine Magnification From Frame Width**

To use Table 1, first frame your subject by adjusting lenses, bellows, etc. Measure the frame size by carefully placing a small ruler in front of the subject and adjusting the camera position to focus on the ruler. Then determine the approximate magnification by looking it up in this table. Probably your number will fall between two table entries. In that case just pick the closer value or interpolate to get a more accurate value.

Or if you like, you can just use a calculator: magnification = sensor width / frame width.

* Table 1* –

Sensor Size | |||
---|---|---|---|

Frame Width | Four-Thirds | APS-C (1.6X crop) | Full Frame (36×24 mm) |

500.0 mm | 0.036 | 0.046 | 0.072 |

350.0 mm | 0.051 | 0.066 | 0.10 |

250.0 mm | 0.072 | 0.092 | 0.14 |

200.0 mm | 0.090 | 0.12 | 0.18 |

140.0 mm | 0.13 | 0.16 | 0.26 |

100.0 mm | 0.18 | 0.23 | 0.36 |

70.0 mm | 0.26 | 0.33 | 0.51 |

50.0 mm | 0.36 | 0.46 | 0.72 |

35.0 mm | 0.51 | 0.66 | 1.0 |

25.0 mm | 0.72 | 0.92 | 1.4 |

20.0 mm | 0.90 | 1.2 | 1.8 |

14.0 mm | 1.3 | 1.6 | 2.6 |

10.0 mm | 1.8 | 2.3 | 3.6 |

7.0 mm | 2.6 | 3.3 | 5.1 |

5.0 mm | 3.6 | 4.6 | 7.2 |

3.5 mm | 5.1 | 6.6 | 10 |

2.5 mm | 7.2 | 9.2 | 14 |

2.0 mm | 9.0 | 12 | 18 |

1.4 mm | 13 | 16 | 26 |

1.0 mm | 18 | 23 | 36 |

Numbers in the above table can be reproduced as magnification = SensorWidth / FrameWidth .

Example: Frame width 70 mm on full frame (sensor width 36 mm) computes as magnification = 36 / 70 = 0.5143 .

**Step 2: Determine Aperture and Step Size**

Now that you know the magnification, you can use one of the following tables to estimate best aperture and step size.

The first ** Table 2-A ** is for users who fit any of the following profiles:

- All users of twist-to-focus macro lenses, except for modern Nikons. (There's a separate table below for them.)
- All users of normal or enlarging lenses on bellows or extension tubes.

In most rows of the table, a range of values appears in bold face. If you're using a camera with an APS-C size sensor (“crop factor” 1.5 or 1.6), then you should pick a value near the middle of the bold range. Full-frame users should choose from the right side (larger f-numbers); Four-Thirds users choose from the left side (smaller f-numbers). Entries in italics should be avoided if possible because those combinations will lose significant sharpness from diffraction.

* Table 2-A* –

Table for most twist-to-focus lenses, bellows or extension tubes | ||||||||
---|---|---|---|---|---|---|---|---|

Nominal f-number (Four-Thirds, APS-C, Full-Frame) | ||||||||

Magnification | f/2.0 | f/2.8 | f/4.0 | f/5.6 | f/8.0 | f/11.0 | f/16.0 | f/22.0 |

0.035 | 7.7 mm | 15 mm | 31 mm | 60 mm | 123 mm | 233 mm | 493 mm | 931 mm |

0.050 | 3.9 mm | 7.6 mm | 16 mm | 30 mm | 62 mm | 117 mm | 248 mm | 470 mm |

0.070 | 2.1 mm | 4.0 mm | 8.2 mm | 16 mm | 33 mm | 62 mm | 132 mm | 249 mm |

0.10 | 1.1 mm | 2.1 mm | 4.3 mm | 8.3 mm | 17 mm | 32 mm | 68 mm | 129 mm |

0.14 | 0.58 mm | 1.1 mm | 2.3 mm | 4.6 mm | 9.3 mm | 18 mm | 37 mm | 71 mm |

0.20 | 0.32 mm | 0.62 mm | 1.3 mm | 2.5 mm | 5.1 mm | 9.6 mm | 20 mm | 38 mm |

0.25 | 0.22 mm | 0.43 mm | 0.88 mm | 1.7 mm | 3.5 mm | 6.7 mm | 14 mm | 27 mm |

0.35 | 0.13 mm | 0.26 mm | 0.52 mm | 1.0 mm | 2.1 mm | 4.0 mm | 8.4 mm | 16 mm |

0.50 | 0.079 mm | 0.16 mm | 0.32 mm | 0.62 mm | 1.3 mm | 2.4 mm | 5.1 mm | 9.6 mm |

0.70 | 0.052 mm | 0.10 mm | 0.21 mm | 0.41 mm | 0.83 mm | 1.6 mm | 3.3 mm | 6.3 mm |

1.0 | 0.035 mm | 0.069 mm | 0.14 mm | 0.28 mm | 0.56 mm | 1.1 mm | 2.3 mm | 4.3 mm |

1.4 | 0.026 mm | 0.051 mm | 0.10 mm | 0.20 mm | 0.41 mm | 0.78 mm | 1.7 mm | 3.1 mm |

2.0 | 0.020 mm | 0.039 mm | 0.079 mm | 0.16 mm | 0.32 mm | 0.60 mm | 1.3 mm | 2.4 mm |

2.5 | 0.017 mm | 0.034 mm | 0.069 mm | 0.14 mm | 0.28 mm | 0.52 mm | 1.1 mm | 2.1 mm |

3.5 | 0.015 mm | 0.029 mm | 0.058 mm | 0.11 mm | 0.23 mm | 0.44 mm | 0.93 mm | 1.8 mm |

5.0 | 0.013 mm | 0.025 mm | 0.051 mm | 0.099 mm | 0.20 mm | 0.38 mm | 0.81 mm | 1.5 mm |

7.0 | 0.011 mm | 0.023 mm | 0.046 mm | 0.090 mm | 0.18 mm | 0.35 mm | 0.74 mm | 1.4 mm |

10 | 0.011 mm | 0.021 mm | 0.043 mm | 0.083 mm | 0.17 mm | 0.32 mm | 0.68 mm | 1.3 mm |

14 | 0.010 mm | 0.020 mm | 0.040 mm | 0.079 mm | 0.16 mm | 0.31 mm | 0.65 mm | 1.2 mm |

20 | 0.0097 mm | 0.019 mm | 0.039 mm | 0.076 mm | 0.16 mm | 0.29 mm | 0.62 mm | 1.2 mm |

Numbers in the above table can be reproduced by the formula DOF = (0.0022*N*N*(m+1)*(m+1))/(m*m) , where N is the F-number and m is magnification.

Example: F-number 5.6 and magnification 0.50 computes as DOF = (0.0022*5.6*5.6*(0.50+1)*(0.50+1))/(0.50*0.50) = 0.6209 .

The following ** Table 2-B ** is for users who fit any of the following profiles:

- All users of modern Nikon macro lenses whose minimum f-number changes depending on magnification. (When using these lenses, the value you set into the camera is actually the “effective aperture”, already corrected for magnification.)
- All users of add-on closeup lenses (“diopter filters”).
- All users of “reversed lens combos” (short reversed in front of long), when aperture is set on the rear lens.
- All users of “reversed lens combos”, when aperture is set on the front lens AND effective aperture is calculated as front lens f-number * magnification.

Example: 50 mm f/5.6 on the front, 100 mm on the rear, magnification = 100/50 = 2.0, effective aperture = 2*5.6 = f/11, use the f/11.0 column of the table to find DOF = 0.067 mm.

As before, a range of values appears in bold face. If you're using a camera with an APS-C size sensor (“crop factor” 1.5 or 1.6), then you should pick a value near the middle of the bold range. Full-frame users should choose from the right side (larger f-numbers); Four-Thirds users choose from the left side (smaller f-numbers). Entries in italics should be avoided if possible because those combinations will lose significant sharpness from diffraction.

* Table 2-B* –

Table for new Nikon twist-to-focus lenses, add-on closeup lenses, and combos by effective aperture | ||||||||
---|---|---|---|---|---|---|---|---|

Effective aperture = f-number shown on camera (Four-Thirds, APS-C, Full-Frame) | ||||||||

Magnification | f/2.0 | f/2.8 | f/4.0 | f/5.6 | f/8.0 | f/11.0 | f/16.0 | f/22.0 |

0.10 | 0.88 mm | 1.7 mm | 3.5 mm | 6.9 mm | 14 mm | 27 mm | 56 mm | 106 mm |

0.14 | 0.45 mm | 0.88 mm | 1.8 mm | 3.5 mm | 7.2 mm | 14 mm | 29 mm | 54 mm |

0.20 | 0.22 mm | 0.43 mm | 0.88 mm | 1.7 mm | 3.5 mm | 6.7 mm | 14 mm | 27 mm |

0.25 | 0.14 mm | 0.28 mm | 0.56 mm | 1.1 mm | 2.3 mm | 4.3 mm | 9.0 mm | 17 mm |

0.35 | 0.072 mm | 0.14 mm | 0.29 mm | 0.56 mm | 1.1 mm | 2.2 mm | 4.6 mm | 8.7 mm |

0.50 | 0.035 mm | 0.069 mm | 0.14 mm | 0.28 mm | 0.56 mm | 1.1 mm | 2.3 mm | 4.3 mm |

0.70 | 0.018 mm | 0.035 mm | 0.072 mm | 0.14 mm | 0.29 mm | 0.54 mm | 1.1 mm | 2.2 mm |

1.0 | 0.0088 mm | 0.017 mm | 0.035 mm | 0.069 mm | 0.14 mm | 0.27 mm | 0.56 mm | 1.1 mm |

1.4 | 0.0045 mm | 0.0088 mm | 0.018 mm | 0.035 mm | 0.072 mm | 0.14 mm | 0.29 mm | 0.54 mm |

2.0 | 0.0022 mm | 0.0043 mm | 0.0088 mm | 0.017 mm | 0.035 mm | 0.067 mm | 0.14 mm | 0.27 mm |

2.5 | 0.0014 mm | 0.0028 mm | 0.0056 mm | 0.011 mm | 0.023 mm | 0.043 mm | 0.090 mm | 0.17 mm |

3.5 | 0.00072 mm | 0.0014 mm | 0.0029 mm | 0.0056 mm | 0.011 mm | 0.022 mm | 0.046 mm | 0.087 mm |

5.0 | — | 0.00069 mm | 0.0014 mm | 0.0028 mm | 0.0056 mm | 0.011 mm | 0.023 mm | 0.043 mm |

Numbers in the above table can be reproduced by the formula DOF = (0.0022*N*N)/(m*m), where N is the F-number and m is magnification.

Example: F-number 5.6 and magnification 0.35 computes as DOF = (0.0022*5.6*5.6)/(0.50*0.50) = 0.2760 .

This final Table 2-C is for users of microscope objectives. In this case, step size is estimated entirely from the NA rating (Numerical Aperture) of the objective.

* Table 2-C* –

Microscope Objectives | |
---|---|

NA | DOF |

0.1 | 0.055 mm |

0.14 | 0.028 mm |

0.2 | 0.014 mm |

0.25 | 0.0088 mm |

0.3 | 0.0061 mm |

0.4 | 0.0034 mm |

0.5 | 0.0022 mm |

0.55 | 0.0018 mm |

Numbers in the above table can be reproduced by the formula DOF = 0.00055/(NA*NA) .

Example: NA 0.25 computes as DOF = 0.00055/(0.25*0.25) = 0.0088 .

**Notes:** You may be surprised that there's nothing in these tables about circle of confusion (COC), like you'd find in most DOF tables. That's because COC is essentially bundled into your choice of aperture. Once you've chosen the aperture setting, then using the numbers in these tables will guarantee that you won't see “focus banding” no matter how good a camera or lens you're using, or how closely you choose to look at the captured images. The math underlying these tables makes assumptions that are reasonable for most lenses, then proceeds using a math formulation that is based on wave optics and guarantees no more than 1/4-lambda wavefront error for green light at the worst focus distances. Roughly speaking, this corresponds to no loss of fine detail and no more than 26% reduction of MTF at any spatial frequency. If you need to operate far to the left of the bold section, say to get particularly soft bokeh, then the step sizes listed here will be unnecessarily small because resolution will be limited by the camera sensor and not the optics. In that case a better estimate would be provided by a conventional DOF calculator, using COC set to approximately twice the pixel pitch. Send email to support@zerenesystems.com if you want more information.