π Macro Magnification Calculator
Calculate magnification ratio, working distance, and extension tube settings.
How to Use This Calculator
Three tabs cover the main macro photography calculations. The Magnification tab tells you what ratio you're working at for any lens and focus distance. Extension Tubes calculates how much magnification a set of tubes adds to a non-macro lens. The Depth of Field tab shows how thin your sharp zone becomes as you go to higher magnifications.
On the Magnification tab, enter your lens focal length (in mm) and the focus distance from the lens to the subject (also in mm). The result shows your magnification ratio and classification.
On the Extension Tubes tab, enter your focal length, the total tube extension length, and the base magnification of the lens at its minimum focus distance. The calculator adds the extra magnification the tubes provide.
On the DOF tab, enter your magnification, f-number, and circle of confusion. This tells you the total depth of field in millimeters at that magnification, which determines whether you need focus stacking.
Use the subject size output on the Magnification tab to understand what you can fit in frame. At 1:1 on a 36mm wide sensor, you can capture a 36mm wide subject exactly.
Macro Magnification Formulas
m is the magnification ratio. f is focal length, d is focus distance from the lens optical center. Working distance is how close the front of your lens gets to the subject, which affects both lighting and whether you'll scare off a live insect. Extension tubes work by pushing the lens further from the sensor, which increases the image distance and raises magnification. At 1:1 ratio, a 100mm macro lens has an extension equal to its focal length (another 100mm beyond the infinity position).
Real-World Examples
When You Need This
When you're photographing small subjects like flowers, coins, or insects, knowing your working distance before you set up matters. A 50mm macro lens at 1:1 puts the front element only about 40mm from the subject. That's close enough to create shadows with your lens, block your light source, or frighten a live insect. A 180mm macro lens at 1:1 gives you around 180mm of working distance, which is much more comfortable for lighting and doesn't alarm your subject.
For coin photography, jewelry close-ups, and scientific imaging, you often need to know exactly what size subject fills your frame. At 2:1 magnification on a 24mm sensor, only a 12mm-wide subject fills the frame. Use the subject size output to plan your composition. If you're photographing a 5mm beetle and you want it to fill 80% of the frame, calculate the magnification needed first and then choose extension tube combinations that get you there without touching a 1,000-dollar macro lens.
Frequently Asked Questions
What is magnification ratio in macro photography?
Magnification ratio compares the size of the image on the sensor to the real-world size of the subject. 1:1 (1Γ) means the image is life-size. 2:1 (2Γ) means the image is twice the real size.
What magnification do I need for insects?
For insects and small subjects, 1:1 (1Γ) is usually the minimum. For really small subjects (ant heads, spider eyes), 2:1 to 5:1 or beyond is needed. Use a dedicated macro lens or extension tubes.
What are extension tubes and how do they affect magnification?
Extension tubes are hollow rings placed between the camera and lens. They increase the minimum focus distance and increase magnification. Additional magnification = tube_length / focal_length.
What is working distance in macro photography?
Working distance is the distance from the front of the lens to the subject. Short working distances (a few cm) make lighting and subject approach difficult. Telephoto macro lenses (100mm+) provide more working distance.
What is focus stacking?
At high magnifications, depth of field is extremely shallow (often less than 1mm). Focus stacking combines multiple images taken at slightly different focus points to create a final image with greater apparent sharpness.