# Lens Magnification and Depth of Field Calculator

Which of my lenses is best suited for macro photography? How much would a lens extension tube improve the situation? What depth of field can be expected?

Here is an easy to use calculator for these questions. Just enter the focal length of your lens, distance to your subject and selected f-stop, and see what happens. The calculator works both online and offline.

 focal length mm focus distance m f-stop extension tube mm circle of confusion mm, or select image sensor size1/3 inch, 4.8 x 3.6 mm²1/2 inch, app. 6.4 x 4.8 mm²2/3 inch, 8.8 x 6.6 mm²1 inch, 13.2 x 8.8 mm²4/3 inch, 17.3 x 13 mm²Canon EF (full-frame), 36 x 24 mm²Canon EF-M, 22.3 x 14.9 mm²Canon EF-S (APS-C), app. 22.5 x 15.0 mm²Canon RF, 36 x 24 mm²DJI DL (Super 35), 23.5 x 12.5 mm²Fujifilm G, 43.8 x 32.9 mm²Fujifilm X, 23.6 x 15.6 mm²Hasselblad H, 53.4 x 40.0 mm²Hasselblad X, 43.8 x 32.9 mm²Leica L (APS-C), 23.6 x 15.7 mm²Leica L (full-frame), 36 x 24 mm²Leica M, 36 x 24 mm²Leica S, 45 x 30 mm²Lumix Micro Four Thirds, 17.3 x 13 mm²Lumix L, 36 x 24 mm²Nikon 1 (CX), 13.2 x 8.8 mm²Nikon F (DX), app. 23.5 x 15.7 mm²Nikon F (FX), 36 x 24 mm²Nikon Z, 36 x 24 mm²Olympus Micro Four Thirds, 17.3 x 13 mm²Pentax K (APS-C), app. 23.5 x 15.6 mm²Pentax K (full-frame), 36 x 24 mm²Pentax Q, 6.2 x 4.6 mm²Pentax Q, 7.4 x 5.6 mm²Pentax Z, 43.8 x 32.8 mm²Phase One XF, app. 54 x 40.5 mm²Sigma L, 36 x 24 mm²Sigma SA (APS-H), 26.7 x 17.9 mm²Sony A (APS-C), 23.5 x 15.6 mm²Sony A (full-frame), 36 x 24 mm²Sony E (APS-C), 23.5 x 15.6 mm²Sony FE (full-frame), 36 x 24 mm² magnification x effective focus distance m with extension tube depth of field m – m angle of view ° diagonal remarks hyperfocal distance m minimum object size mm at infinity focus image distance mm object distance mm

How does it work? Here’s the theory behind it.