# 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 — 6.4 x 4.8 mm²2/3 inch — 8.8 x 6.6 mm²1 inch — 13.2 x 8.8 mm²Canon EOS R (APS-C) — 22.3 x 14.9 mm²Canon EOS R (FF) — 36 x 24 mm²DJI DL (Super 35) — 23.5 x 12.5 mm²Fujifilm X (APS-C) — 23.6 x 15.6 mm²Fujifilm G — 43.8 x 32.9 mm²Hasselblad X — 44 x 33 mm²Hasselblad H — 53 x 40 mm²Leica CL (APS-C) — 23.6 x 15.7 mm²Leica SL (FF) — 36 x 24 mm²Leica M — 36 x 24 mm²Leica S — 45 x 30 mm²Lumix G (MFT) — 17.3 x 13 mm²Lumix S (FF) — 36 x 24 mm²Micro Four Thirds — 17.3 x 13 mm²Nikon 1 (CX) — 13.2 x 8.8 mm²Nikon Z (DX) — 23.5 x 15.7 mm²Nikon Z (FX) — 36 x 24 mm²Olympus (MFT) — 17.3 x 13 mm²OM System (MFT) — 17.3 x 13 mm²Pentax Q — 6.2 x 4.6 mm²Pentax Q — 7.4 x 5.6 mm²Pentax K (APS-C) — 23.3 x 15.5 mm²Pentax K (FF) — 36 x 24 mm²Pentax Z — 43.8 x 32.8 mm²Phase One XF — 54 x 40.5 mm²Sigma SA (APS-H) — 26.7 x 17.9 mm²Sigma fp — 36 x 24 mm²Sony Alpha (APS-C) — 23.5 x 15.6 mm²Sony Alpha (FF) — 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 subject size mm at infinity focus image distance mm subject distance mm

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