If you need to quickly calculate optical magnification for lenses, microscopes, or imaging systems, this tool gives you fast and clear results. Choose a method, enter known values, and the calculator will compute magnification (or the missing size) instantly.
Magnification Calculator
Use consistent units (mm with mm, cm with cm, etc.).
Formula: m = hᵢ / hₒ
Formula: m = dᵢ / dₒ (or -dᵢ / dₒ if sign convention is enabled)
Formula: Total magnification = objective × eyepiece
Formula: hᵢ = m × hₒ
Formula: hₒ = hᵢ / m
What Is Magnification?
Magnification tells you how much larger or smaller an image appears compared to the original object. If magnification is 2×, the image is twice the size of the object. If magnification is 0.5×, the image is half as large.
In optics, magnification can also include image orientation. A negative magnification usually means the image is inverted, while a positive magnification usually means upright orientation (based on sign convention).
Core Magnification Formulas
1) Linear magnification from size
m = hᵢ / hₒ
- hᵢ = image height (or size)
- hₒ = object height (or size)
2) Magnification from distances
m = dᵢ / dₒ (basic ratio) or m = -dᵢ / dₒ (thin-lens sign convention)
- dᵢ = image distance
- dₒ = object distance
3) Total microscope magnification
Total = Objective × Eyepiece
For example, a 40× objective with a 10× eyepiece gives 400× total magnification.
How to Use This Calculator
- Pick the calculation type from the dropdown menu.
- Enter known values in the visible fields.
- Click Calculate.
- Read the result and interpretation (enlarged/reduced and upright/inverted when applicable).
Worked Examples
Example A: Size-based magnification
If an object is 2 mm and the image is 8 mm:
m = 8 / 2 = 4×
The image is 4 times larger than the object.
Example B: Distance-based magnification
If dᵢ = 30 cm and dₒ = 10 cm:
m = 30 / 10 = 3× (basic ratio)
If you apply sign convention, m = -3, which indicates inversion.
Example C: Microscope magnification
Objective = 100×, Eyepiece = 10×
Total magnification = 100 × 10 = 1000×
Common Mistakes to Avoid
- Mixing units (for example, mm and cm in the same equation).
- Forgetting that m can be less than 1 (reduced image).
- Ignoring sign convention when orientation matters.
- Using microscope “total magnification” when you actually need linear image ratio.
Quick Interpretation Guide
- |m| > 1: image is enlarged
- |m| = 1: same size
- |m| < 1: image is reduced
- m < 0: typically inverted
- m > 0: typically upright
Final Thoughts
A reliable magnification calculator saves time in physics homework, lab reports, microscopy, photography, and lens design. Use the right formula for your setup, keep units consistent, and apply sign convention only when needed. This page gives you all of that in one place.