Magnification Calculation: Formula & Examples
- Total magnification
- ×
- Result
- Object distance
- 50 cm
- You entered
- Image distance
- 100 cm
- You entered
This calculator works out the magnification of a lens or optical system from the object distance and the image distance. You enter the distance from the object to the lens and the distance from the lens to the image, and the calculator returns the linear magnification (how many times larger the image is than the object) along with the total magnification if you also provide the eyepiece magnification. The result is a pure number with no units.
Formula
The basic formula for linear magnification (often just called magnification) is:
m = di / do
where:
- m = linear magnification (dimensionless, often written with a × sign, e.g. 2×)
- di = image distance from the lens or mirror (same unit as do)
- do = object distance from the lens or mirror (same unit as di)
For a compound microscope or a telescope with an eyepiece, the total magnification is the product of the objective magnification and the eyepiece magnification:
mtotal = mobjective × meyepiece
In the calculator above, the objective magnification is taken as the linear magnification di/do, and you enter the eyepiece magnification separately.
Worked Example
Using the default values from the calculator:
- Object distance do = 50 cm
- Image distance di = 100 cm
- Eyepiece magnification me = 10×
Step 1: Calculate the linear magnification:
m = di / do = 100 cm / 50 cm = 2.00
Step 2: Calculate the total magnification:
mtotal = m × me = 2.00 × 10 = 20.00
So the linear magnification is 2.00× and the total magnification is 20.00×.
How Magnification Works
Magnification describes how much larger (or smaller) an image appears compared to the original object. It is a ratio of two lengths, so it has no units. A magnification of 1× means the image is the same size as the object; 2× means twice as large; 0.5× means half the size.
In a simple lens system, the image distance and object distance are measured from the lens’s optical center. The formula m = di/do comes directly from the geometry of similar triangles in ray diagrams. It applies to both real images (formed on a screen) and virtual images (seen through a magnifying glass or microscope).
For compound instruments like microscopes and telescopes, the total magnification is the product of the individual magnifications of the objective lens and the eyepiece. This is why a microscope with a 40× objective and a 10× eyepiece gives 400× total magnification.
When to Use This Calculation
You use the linear magnification formula whenever you know the object and image distances – for example, when setting up a projector, a camera lens, or a magnifying glass. It is also used in microscopy and astronomy, but there you usually work with the magnifications printed on the lenses rather than measuring distances.
The total magnification formula is used when you combine two lenses, such as in a compound microscope or a telescope with an eyepiece. In those cases, the objective magnification is often given as a number (like 10×, 40×, 100×) rather than calculated from distances.
In photography, magnification is often expressed as a ratio like 1:1 (life-size) or 1:2 (half life-size). That ratio is exactly the same as m = di/do.
Common Mistakes and How to Avoid Them
- Using different units for do and di: The formula only works if both distances are in the same unit. Convert one if needed.
- Confusing magnification with resolution: Magnification makes things look bigger; resolution is the ability to see fine detail. A high magnification with poor resolution just gives a blurry big image.
- Forgetting the eyepiece in a microscope: Total magnification is objective × eyepiece, not just the objective.
- Sign errors in optical systems: In formal optics, a real image formed by a single converging lens has a negative magnification (inverted image). Some textbooks use the absolute value. The calculator here gives the magnitude only.
- Using the focal length instead of image distance: The formula m = di/do is not the same as m = f/(f – do). The latter is another form, but only when the lens is thin and the sign convention is consistent.
Limits of the Formula
The simple formula m = di/do assumes a thin lens and paraxial rays (rays close to the optical axis). In real lenses, aberrations and thickness cause slight deviations. For most practical purposes – projectors, magnifying glasses, basic microscopy – the error is negligible.
The formula also assumes the object is placed at a distance that produces a real image (for a converging lens, do > f). If the object is inside the focal length, the image is virtual and the magnification is still given by the same ratio, but the image distance is negative in the usual sign convention. The calculator here uses positive distances, so it gives the magnitude only.
For very high magnifications (above about 1000× in a light microscope), the image becomes too dim to see clearly without additional illumination. That is a practical limit, not a mathematical one.
Frequently Asked Questions
What is the difference between linear magnification and angular magnification?
Linear magnification compares the size of the image to the size of the object (m = di/do). Angular magnification compares the angle subtended by the image to the angle subtended by the object at the eye. For a magnifying glass, the angular magnification is approximately (25 cm)/f, where f is the focal length, and 25 cm is the near point of a typical eye.
How do I calculate magnification if I only know the focal length?
You need the object distance as well. Use the lens formula 1/f = 1/do + 1/di to find di, then use m = di/do. Alternatively, for a magnifying glass, the angular magnification is about 25/f (with f in cm).
What does 10× magnification mean?
It means the image appears 10 times larger than the object. For example, a 10× eyepiece on a microscope makes the image appear 10 times larger than the image formed by the objective lens. It does not mean the object is 10 times closer.
Is higher magnification always better?
No. Beyond a certain point, called the useful magnification, increasing magnification only enlarges blur. For a light microscope, the useful maximum is about 1000× with oil immersion. Beyond that, you need an electron microscope to see more detail.
How do I calculate total magnification on a microscope?
Multiply the magnification of the objective lens (usually printed on the side, e.g., 4×, 10×, 40×) by the magnification of the eyepiece (usually 10×). For example, a 40× objective with a 10× eyepiece gives 400× total magnification.
Why is the magnification sometimes written with a negative sign?
In formal optics, a negative magnification means the image is inverted relative to the object. A real image formed by a single converging lens is inverted, so its magnification is negative. The absolute value is the size ratio. Most practical applications use the absolute value.
Related
Formula used
in d_o | Object distance | cm | 50 | 0 in d_i | Image distance | cm | 100 | 0 in m_e | Eyepiece magnification | - | 10 | 1 out m | Linear magnification | × | d_i / d_o | 2 out m_total | Total magnification | × | (d_i / d_o) * m_e | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.