Last updated:

# Magnification of a Lens Calculator

Optics 101What is the magnification?Magnification in photographic lenses – using our magnification of a lens calculatorMagnifying glasses: testing the lens magnification formulaExtension tubes!Magnification vs. zoomFAQs

Our lens magnification calculator will focus on the world of lenses in photography, finally explaining what magnification is, why it is different from zoom, and much more!

Here you will learn:

• The basics of optics, lenses, and images;
• What is the magnification of a lens?
• How to calculate the magnification of a lens – the magnification formula;
• An example involving kangaroos; and
• When do we need extender tubes?

And that's not all – magnify your knowledge with Omni Calculator!

## Optics 101

A camera is nothing but lenses and a sensor. At least in theory! To understand how it works, we need to explore the world of optics.

A lens is a device made of a material with a different refraction index to air (there can even be electromagnetic lenses that act on electric currents). This and its shape allows it to bend rays of light as they come into contact with it.

Lenses can focus or "unfocus" light rays. In this tool, we will only consider converging lenses. Their main feature is the ability to focus every ray entering the lens parallel to the optical axis at a specific point, the focus.

The distance between the focus and the lens is the focal length $f$.

🔎 Lenses and their properties have been known by humanity for a long time. However, only in the 13ᵗʰ century did lens-making skills reach a level of refinement that allowed for the construction of glasses, telescopes, and much more!

The diagram below will help explain the operating principles of a lens:

First thing – the upward facing arrow on the left of the image is the object we are looking at. The rays of light coming from it hit the lens. The one parallel to the optic axis (the topmost line) gets focused and so converges on the focus. The ray passing through the center of the lens meets the focused ray on the other side of the lens, which creates a flipped image called the real image of the object.

We can easily identify the main elements that we need in the description of a lens:

• The focal length $f$; and
• The focus distance $d$, given by $d=g+h$; we can, in turn, identify:
• The distance between the real image and the lens, $h$; and
• The distance between the object and the lens, $g$.

The distance $h$ is where the image is focused, thus where it can be observed with maximum sharpness.

🔎 The word "focus" comes from Latin for "fireplace". This is because the Romans believed that their ancestral gods were located in the fireplace, or hearth, and so would direct (or focus) their worship towards it.

## What is the magnification?

The magnification of a lens is an absolute measure of how much the height of a real image differs from the object's height. Remember, that in a camera, the real image forms on the sensor (or on the film, if you're old school).

Now consider that the sensor is at most a few centimeters wide, while you can take a picture of the Eiffel Tower, which is $330\ \text{m}$ tall. Even from afar and with a powerful telephoto lens, you'll always get a magnification that is much smaller than you expect when taking pictures with a camera.

The formula for the magnification of a lens is:

$m = \frac{H}{G}$

Thanks to the properties of similar triangles, we can compute the magnification of a lens also using the distances between the object/image and the lens:

$m = \frac{h}{g}$

This allows you to adjust $h$ by slightly moving the lens — an action you did many times before taking the picture.

We can shuffle the equations a little to find a magnification formula that uses focal length and object distance:

$m = \frac{\tfrac{d}{2} - r}{\tfrac{d}{2} + r}$

$r$ is the square root of the following quadratic equation:

$r =\sqrt{\frac{d^2}{4} - f \cdot d}$

If you'd like to know more, try our others optic calculators dedicated to lenses, like the thin lens equation calculator or the lens maker equation calculator.

## Magnification in photographic lenses – using our magnification of a lens calculator

When you are snapping a picture, you don't usually know the values of $h$ and $g$, but you know the focal length for sure, and you likely know the distance between you and your subject. These two quantities are enough for you to calculate the magnification of your lens!

Imagine you are taking a picture of a huge kangaroo, let's say two meters tall and weighing $95\ \text{kg}$, like the one that .

Since that beast would be too dangerous to photograph at a close distance, we suggest you use a $500\ \text{mm}$ telephoto lens. We advise you to keep your distance, let's say 150 meters (but remember that a kangaroo can reach a maximum speed of $70\ \text{m/s}$). Insert these values into our magnification of a lens calculator, which will return:

$m=0.003356$

See? The value is way smaller than $1$. However (trust us), that kangaroo would look larger than life in the picture.

The values of $h$ and $g$ are hidden in the further magnification properties section of our calculator, so if you need to know either of these, just click the button!

## Magnifying glasses: testing the lens magnification formula

Magnifying glasses are perfect for explaining the principles of magnification (the clue is in the name).

Their lenses are usually manufactured with a focal length of $25\ \text{cm}$. If you use the lens to look at an object closer to it than that distance, you create a virtual image of the object.

Do you remember the diagram we showed you already? We need to modify it slightly!

As you can see, now the rays on the right side of the lens do not converge. We are dealing in terms of virtual images, which originate from the virtual continuations of the rays, creating a non reversed image of the object.

If you consider the lens magnification formula using the heights of the image and the object:

$m = \frac{H}{G}$

The result is straightforwardly larger than $1$: a proper magnifier!

## Extension tubes!

How do you increase the magnification of a lens? Well, there are only two options:

• Decrease the distance $g$ between the camera and your subject; or
• Increase the distance $h$ between the lens and the sensor.

In the case of violent kangaroos, it may be better to go for the second option: that's why camera manufacturers sell extension tubes, short rings to mount between the lens and the body, which end up increasing $h$ by some precious millimeters.

Expand the further magnification properties section to see the variable extension tube. We set it at $0\ \text{mm}$ by default, but change it according to your needs!

## Magnification vs. zoom

Maybe you expected the magnification to be a bigger number, something like $10\times$ or $20\times$, like the values you see on binoculars or telescopes (we made an entire calculator for that, check out our telescope magnification calculator).

However, when talking cameras, the magnification is usually a really small number. The number followed by a $\times$ is the zoom.

The zoom describes how much the lens's focal length can change by (there are such things as zoom lenses). A typical $18/55$ lens will have its zoom defined by:

$\rm zoom = \frac{55}{18}\simeq3$

We hope that the distinction is clear!

Are you still looking for photography-related calculators? Check out our shutter speed calculator.

FAQs

### How do I calculate the magnification of a lens?

To calculate the magnification of a lens, you must know either:

• The distance of the object from the lens g and the distance between lens and sensor h; or
• The distance between sensor and object d and the focal length f.

The magnification formula is: m = h/g.

Or alternatively:

m = (d/2 - r) / (d/2 + r),

where r is equal to √(d²/4 - f × d).

### What is the magnification of a lens?

In photography, the magnification of a lens is the ratio between the height of the image projected onto the sensor or film of the camera and the height of the real image you are taking a picture of.

Since, in most cases (unless you are using a microscope), the lens shrinks the object, the magnification value is less than 1.

### How much does a lens with a focal length of 55 mm magnify an object 100 meters away?

The magnification of a lens with focal length 55 mm at a distance of 100 m is m = 0.0005506. To calculate it, follow the steps:

1. Calculate r = sqrt(d²/4 - f × d) = 49.945.

2. Calculate:

• The distance between the object and lens: g = d/2 + r = 99.945; and

• The distance between the lens and sensor: h = d/2 - r = 0.05503.

3. Compute the magnification with the ratio m = h/g = 0.0005506.

### What is the difference between magnification and zoom?

The magnification of a lens is an absolute value that depends on the focal length of the lens itself, while the zoom is a relative quantity that describes how much you can change the focal length of a lens by, thus changing its magnification.

The perceived magnification of an object, thanks to the use of powerful telephoto lenses, comes from the reduced projection of the object onto relatively small sensors. If that projected image can change the size, let's say by a factor of two, we say that the lens has a 2× zoom.