What magnification measures

Magnification tells you how large an image is compared with the object that produced it. A photograph that shows a 1.8 meter person as 9 millimeters tall on the sensor, a magnifying glass that makes a 2.5 millimeter insect look 7.5 millimeters tall and a projector that throws a 24 millimeter tall slide to a picture 1.2 meters tall all have a magnification, which is the ratio of two heights. This page computes the ratio from the object height and the image height you enter. Both must be in the same length unit, such as millimeters, so that the unit cancels. The result has no unit. A value of 1 means the image is the same size as the object, values above 1 mean enlargement and values below 1 mean reduction.

The sign convention

The sign matters. The image height is entered as a signed value, and the page treats a negative height as an inverted image. A single converging lens forming a real image on a screen produces an upside-down image, so you enter a negative height, and the magnification is negative. A magnifying glass held close to an object forms a virtual image that is upright, so the image height is positive. The sign tells you the orientation, and the absolute value tells you the size. The default example has an object 10 millimeters tall and an image of minus 20 millimeters. The magnification is minus 20 divided by 10, which is minus 2. The image is twice as tall as the object and upside down. OpenStax College Physics explains this convention in its section on image formation by lenses.

Worked examples

Consider an object 24 millimeters tall whose image is 12 millimeters tall and upright. The magnification is 12 divided by 24, which is 0.5, so the image is half-size and has the same orientation. Now a camera photographs a person 1,800 millimeters tall, and the image on the sensor measures 9 millimeters, inverted, so the image height is minus 9. The magnification is minus 9 divided by 1,800, which is minus 0.005, a reduction to one two-hundredth. A slide projector shows a 24 millimeter slide as a real image 1,200 millimeters tall on the screen, inverted relative to the slide, so the magnification is minus 50. A magnifier that turns a 2.5 millimeter insect into an upright image 7.5 millimeters tall has a magnification of 3. Each case uses the same division with the sign from the image orientation.

Link to the thin lens equation

For a thin lens, the magnification also follows from distances. It equals minus the image distance divided by the object distance. A real image at 30 centimeters from the lens for an object at 15 centimeters from the lens has a magnification of minus 2. The thin lens equation relates the focal length f, the object distance and the image distance by one over f equals one over the object distance plus one over the image distance. For an object 15 centimeters from a lens with a focal length of 10 centimeters, the image distance is 30 centimeters, and the magnification is minus 2. The page uses heights instead of distances, so it is useful when you have measured the sizes directly, for example from a photo or a ruler held next to a projected image. Both approaches should agree in a well-measured setup.

Lateral and angular magnification

The word magnification covers more than one thing. The quantity here is lateral, or transverse, magnification: the ratio of image height to object height. It applies to cameras, projectors and simple lenses forming real images. Microscopes and telescopes are usually described by angular magnification, which compares the angle that the image subtends at the eye with the angle subtended by the object seen without the instrument. A microscope marked 10x for the eyepiece and 40x for the objective gives a total of 400x in that angular sense. That number does not come from dividing heights on a page like this one, so do not enter such specifications into the calculator. When a product states a magnification, check which kind it means and what viewing distance it assumes. For a camera sensor, the lateral definition is the right one.

Camera and macro photography

Photographers use the reproduction ratio, which is the lateral magnification with the sign dropped. A lens with a 1:1 ratio forms an image on the sensor that is the same size as the object. On a sensor 36 millimeters wide, a subject 36 millimeters wide fills the frame at 1:1, and the magnification is minus 1, because the image is inverted. A ratio of 1:2 means a magnification of 0.5 in magnitude, so a subject 72 millimeters wide fills the same frame. With a crop-sensor camera, the sensor is smaller, so the same ratio covers a smaller subject area. To find the magnification for a photo, measure the size of a known object on the sensor or image and divide by its real size. For a 20 millimeter coin that appears 10 millimeters wide on the sensor, the magnification is 0.5 in magnitude.

Enlarging a print or a drawing

The same ratio works for scaling drawings and enlarging prints. If a part that is 4 millimeters tall on one drawing is reduced to 1 millimeter on a smaller copy, the page returns 0.25. For a copy made at twice the size, enter the original height as the object height and the copy height as the image height to get 2. Because the unit cancels, millimeters, inches and pixels all work, provided the two heights share the unit. This is also the way to compute a scale factor for model making. A model 150 millimeters long that represents an object 3,000 millimeters long has a ratio of 0.05, or 1:20. The sign is positive because the model is upright with respect to the original.

Measuring heights accurately

The result is only as good as the two heights. Measure the object at its tallest point along the direction you are comparing, and measure the image the same way. A tilted object or a tilted sensor introduces perspective effects, so the ratio is not a single number for the whole image. In a projected image, use a ruler on the screen or read the size from a printed grid. In a photograph, measure in pixels and convert using the known sensor size. If the object and its image are both measured to 1 millimeter, the uncertainty of a small image can be large in relative terms: a 5 millimeter image measured to plus or minus 1 millimeter has a 20 percent uncertainty. Use the largest dimension you can measure, and average several readings.

Reading the output

The page returns the signed magnification as a plain number. If the absolute value is greater than 1, the image is larger than the object. If it is less than 1, the image is smaller. If it is exactly minus 1, the image is the same size and inverted, which happens when an object is placed at twice the focal length of a thin lens. A positive value means the image is upright, and a negative value means it is inverted. A magnification of zero cannot occur unless the image height is zero. The object height cannot be zero, since the ratio would be undefined, and the calculator requires a finite result. Keep the signs consistent with the way you define up and down, because the choice of direction is a convention, and the physics only depends on whether the image is flipped compared with the object.

Limits of the scalar model

This calculator divides two numbers and assumes that you have measured them correctly. It does not trace rays, compute focal lengths, or account for distortion, aberrations, depth of field or the thickness of real lenses. Real systems may have different magnifications in the horizontal and vertical directions, such as anamorphic lenses, and the ratio of a single height does not capture that. The assumption note states that it is an educational scalar model with finite outputs and that the sign marks inversion. For optical design, use the lens manufacturer's data and a ray-tracing tool. For homework, photography estimates and scale conversions, the ratio of image height to object height gives a clear answer.

Projectors, screens and slide scale

Projection setups show magnification in a way that is easy to measure. A slide projector or a document camera places a small object or slide in front of a lens, and the lens forms a real, inverted, enlarged image on a distant screen. Suppose the 24 millimeter slide is shown 1,500 millimeters tall, so the magnitude of the magnification is 62.5. Moving the projector closer to the screen reduces the size and moving it back increases it, with a small refocusing adjustment each time. The ratio of the screen distance to the lens-to-slide distance is approximately the magnification, which is why a longer throw makes a larger picture: with the slide about 100 millimeters from the lens, a magnification of 62.5 puts the screen roughly 6.25 meters away. If you measure the image on the screen with a tape, enter it as a negative height, because the image is inverted relative to the slide, unless the slide is loaded upside down, which many operators do to correct this.

Magnifying glasses and virtual images

A simple magnifier works differently from a projector. When the object sits closer to the lens than the focal length, the lens forms a virtual image on the same side as the object. That image is upright, larger and cannot be projected onto a screen, though the eye can see it. Because the image is upright, its height is positive and so is the magnification. An insect 2.5 millimeters long that looks 7.5 millimeters long through a magnifier has a magnification of 3. Moving the object closer to the focal point makes the virtual image larger and farther away. Reading glasses and jeweler loupes use this idea. If you can read off the apparent size of the image against a ruler seen through the lens, you can enter it here to get the ratio, treating the upright image as positive.