Magnification Calculator
Enter the image height and object height to find the magnification.
What this calculator returns
The output is the linear magnification m, the ratio of image height to object height. At the defaults — a 6 cm image of a 3 cm object — m = 2, so the image is twice as tall as the thing it shows. Both heights must be in the same unit; the ratio itself is dimensionless.
Linear magnification versus area
Magnification describes length, not area or volume. An m of 2 doubles the height and doubles the width, so the image covers 2 × 2 = 4 times the area. A print that is 2× linear needs four times the ink and four times the sensor pixels to hold the same detail.
Volume scales as the cube. An m of 3 gives 27 times the volume, which is why scale models, medical implants and enlarged castings quote linear magnification and let you work out the rest yourself.
Worked example at the defaults
A 3 cm object photographed or projected to 6 cm: m = 6 ÷ 3 = 2. Every feature doubles, so a 1 mm scratch becomes 2 mm and a 0.3 mm grain becomes 0.6 mm. That is the useful way to read the number when judging whether a defect will be visible.
Reverse the inputs to 3 cm image of a 6 cm object and m = 0.5. The image is half-size, which is a 2× reduction, and the area falls to a quarter. Note that 0.5 and 2 are reciprocals, not opposites; a common error is to call the second case −2.
Magnification against image height
| Object height | Image height | m | Result |
|---|---|---|---|
| 3 cm | 1.5 cm | 0.5 | Half size |
| 3 cm | 3 cm | 1.0 | Life size |
| 3 cm | 6 cm | 2.0 | Double size |
| 3 cm | 9 cm | 3.0 | Triple size |
| 3 cm | −6 cm | −2.0 | Double size, inverted |
Reading the sign
A negative magnification means the image is upside down, not smaller. The minus sign comes in when the image height is entered as negative, which is the convention when the optical system inverts the image. What matters for size is the absolute value, so −2 and +2 both describe an image twice the object height.
What moves the magnification
- Image height: directly proportional, so doubling 6 cm to 12 cm doubles m from 2 to 4.
- Object height: inversely proportional, so a 6 cm object rather than 3 cm halves m to 1.
- Distance ratio: for a lens, m also equals −di ÷ do, so moving the object changes size without changing the object height.
- Sign convention: a negative image height flips the sign of m without changing its magnitude.
- Units: keep both heights in the same unit or the ratio picks up a factor of 10 or 25.4.
Mistakes that misstate the answer
The most common is mixing centimetres and inches. A 6 cm image of a 3 inch object is not m = 2, because 3 inches is 7.62 cm and the true magnification is 0.79. Convert first, then divide.
The second is treating magnification as a percentage. An m of 2 is a 100% increase in size, not 2%, and an m of 0.5 is a 50% reduction. Marketing copy blurs this constantly, quoting “200%” for what is really 2× and “50% smaller” for m = 0.5.
The third is applying linear magnification to area. A 2× loupe makes a 1 mm feature appear 2 mm across but covers 4 mm² of apparent area, which is why a 10× microscope objective shows 100 times the area at the eyepiece.
Where the number is quoted
Camera lenses are described by focal length, not magnification, but macro photographers use m directly: a 1:1 macro lens gives m = 1 and fills the sensor with an object the same size as the sensor. Microscopes and telescopes quote angular magnification, a different quantity that depends on the eyepiece and the viewing distance, so a 10× eyepiece with a 4× objective gives 40× angular, not 40× linear.
Conversion from distances
When you know where the object and image sit rather than how tall they are, use m = −di ÷ do. A lens forming an image 45 cm behind it from an object 15 cm in front gives m = −3, a triple-size inverted image, and that value plugs straight back into the height ratio.
Printing follows the same linear rule. A 36 mm wide sensor printed 216 mm wide has been enlarged 216 ÷ 36 = 6×, so a 0.005 mm pixel becomes 0.03 mm on paper. At that scale a 24 megapixel file lands near 300 dpi, which is why large prints from small sensors look soft once m passes about 8.
Magnification you meet in practice
- A 10× loupe gives m = 10, so a 0.1 mm feature appears 1 mm across.
- A 1:1 macro lens fills a 36 mm sensor with a 36 mm subject, m = 1.
- A 0.5× wide converter halves m and doubles the field of view.
- A 2× teleconverter doubles m without changing the focus distance.
Each of these is a linear figure, so the area consequence is larger than it sounds. A 10× loupe shows 100 times the apparent area of the same patch, and a 0.5× converter shows a quarter of it. That mismatch between the quoted number and the visual change is why lens marketing and laboratory optics so rarely agree.
Frequently asked questions
What is the formula for magnification?
Linear magnification is m = hi ÷ ho. A 6 cm image of a 3 cm object gives m = 6 ÷ 3 = 2, twice life size.
What does a magnification of 2 mean?
The image is twice as tall as the object and covers four times the area. A 3 cm object becomes 6 cm, and its apparent area rises from 9 to 36 cm².
Can magnification be negative?
Yes. A negative m means the image is inverted, not smaller. An image height of −6 cm for a 3 cm object gives m = −2, still twice the size but upside down.
Is 2x magnification the same as 200%?
Yes, m = 2 is a 100% increase in linear size or 200% of the original. An m of 0.5 is half size, a 50% reduction, not 50% magnification.
Does magnification apply to area?
No, it is linear. Area scales as m², so m = 2 means four times the area and m = 3 means nine times. Volume scales as m³.
How do I find magnification from distances?
Use m = −di ÷ do. An image 45 cm behind the lens from an object 15 cm in front gives m = −3.
Why is my answer 0.79 instead of 2?
You mixed units. A 3 inch object is 7.62 cm, so a 6 cm image gives 6 ÷ 7.62 = 0.79, not 6 ÷ 3.
What is a 1:1 macro lens?
One that gives m = 1, so the image on the sensor is exactly the size of the subject. A 20 mm insect fills 20 mm of sensor, which is most of a full-frame width.
Is microscope magnification the same as linear magnification?
No. Microscopes quote angular magnification, which depends on the eyepiece and viewing distance. A 40× objective with a 10× eyepiece gives 400× angular, not 400× linear.
Method and sources
- Linear magnification m = hi/ho = −di/do for a lens or mirror.