Magnification Calculator

Calculate magnification, image distance, and object distance for lenses and mirrors with interactive visualization

Parameters

cmⓘ
Distance from object to lens/mirror
cmⓘ
Distance from image to lens/mirror (0 for auto-calculate)
cmⓘ
Focal length of lens/mirror
cmⓘ
Height of the object
Show Trail

Controls

xⓘ

Calculated Values

Magnification:
2.00;2.00;
Image Distance:
40.00;cm40.00;cm
Image Height:
10.00;cm10.00;cm
Power:
0.08;diopters0.08;diopters

Examples

Example 1: Converging Lens

A 20cm object 30cm from a 15cm focal length converging lens.

  • Magnification: −1.00-1.00
  • Image Distance: 30.0030.00
  • Image Height: −20.00-20.00
  • Power: 6.676.67

Example 2: Diverging Lens

A 10cm object 20cm from a -10cm focal length diverging lens.

  • Magnification: 0.330.33
  • Image Distance: −6.67-6.67
  • Image Height: 3.333.33
  • Power: −10.00-10.00

Example 3: Concave Mirror

A 5cm object 25cm from a 20cm focal length concave mirror.

  • Magnification: −4.00-4.00
  • Image Distance: 100.00100.00
  • Image Height: −20.00-20.00
  • Power: 5.005.00

Visualization

Optical Magnification and Image Formation

Magnification is the ratio of image size to object size, or image distance to object distance. It describes how much larger or smaller an image appears compared to the object.

The magnification formula is M = -v/u = hi/ho, where v is image distance, u is object distance, hi is image height, and ho is object height. The negative sign indicates image inversion.

The lens/mirror equation is 1/f = 1/u + 1/v, where f is focal length. This equation relates object distance, image distance, and focal length for any optical system.

Real images are formed when light rays actually converge at the image point. They appear on the opposite side of the lens/mirror from the object and are always inverted.

Virtual images are formed when light rays appear to diverge from the image point. They appear on the same side as the object and are always upright. Virtual images cannot be projected onto a screen.

Key Concepts

  • Magnification: M = -v/u = hi/ho (image to object ratio)
  • Lens/Mirror Equation: 1/f = 1/u + 1/v (focal length relationship)
  • Real Image: Light converges, inverted, can be projected
  • Virtual Image: Light appears to diverge, upright, cannot be projected
  • Power: P = 1/f (diopters, inverse of focal length)
  • Image Types: Real (v > 0), Virtual (v < 0)

Real-World Applications

  • Microscopes: High magnification for small objects
  • Telescopes: Angular magnification for distant objects
  • Cameras: Image formation and focusing
  • Eyeglasses: Vision correction with appropriate power
  • Projectors: Real image formation on screens

Explore Further

More optics tools

  • Snell's Law

    Calculate refraction angles and analyze light behavior at media boundaries.

  • Thin Lens Equation

    Find image distance and magnification using 1/f = 1/u + 1/v.

  • Spherical Mirror Equation

    Calculate image position and magnification for concave and convex mirrors.

  • Lens Power

    Convert focal length to diopters and combine thin lens powers.

  • Critical Angle

    Find critical angle for total internal reflection between two media.

  • Diffraction Grating

    Calculate diffraction angles using d sin θ = mλ.

Physics Equations

Magnification:
M=−vu=hihoM = -\frac{v}{u} = \frac{h_i}{h_o}
Lens/Mirror Equation:
1f=1u+1v\frac{1}{f} = \frac{1}{u} + \frac{1}{v}
Image Distance:
v=ufu−fv = \frac{uf}{u - f}
Power:
P=1fP = \frac{1}{f}
Image Height:
hi=Mhoh_i = Mh_o

Step-by-Step Solution

See how the main results are calculated.

1

Step 1: Calculate Image Distance

Use the lens/mirror equation:

Equation:

1f=1u+1v\frac{1}{f} = \frac{1}{u} + \frac{1}{v}

Calculation:

v=40 cm (given)v = 40 \text{ cm (given)}

Explanation:

This gives the distance from the lens/mirror to the image.

2

Step 2: Calculate Magnification

Use the magnification formula:

Equation:

M=−vuM = -\frac{v}{u}

Calculation:

M=−40.0020=2.000M = -\frac{40.00}{20} = 2.000

Explanation:

This gives the ratio of image size to object size.

3

Step 3: Calculate Image Height

Use the magnification-height relationship:

Equation:

hi=Mhoh_i = Mh_o

Calculation:

hi=2.000×5=10.00 cmh_i = 2.000 \times 5 = 10.00 \text{ cm}

Explanation:

This gives the height of the image.

4

Step 4: Calculate Optical Power

Find the power of the lens/mirror:

Equation:

P=1fP = \frac{1}{f}

Calculation:

P=113.33=0.08 dioptersP = \frac{1}{13.33} = 0.08 \text{ diopters}

Explanation:

Power is the reciprocal of focal length.

5

Step 5: Determine Image Type

Analyze the image characteristics:

Equation:

Image Type=Real/Virtual based on v\text{Image Type} = \text{Real/Virtual based on } v

Calculation:

v=40.00 cm⇒Virtual image, Upright(Enlarged)v = 40.00 \text{ cm} \Rightarrow Virtual \text{ image, } Upright (Enlarged)

Explanation:

Real images have positive v, virtual images have negative v.

Frequently Asked Questions (FAQ)

What is magnification?

Magnification is the ratio of image size to object size, or image distance to object distance. It describes how much larger or smaller an image appears compared to the object.

How do I calculate magnification?

Use the formula M = -v/u = hi/ho, where v is image distance, u is object distance, hi is image height, and ho is object height. The negative sign indicates image inversion.

What is the difference between real and virtual images?

Real images are formed when light rays actually converge and can be projected onto a screen. Virtual images appear to come from a point but cannot be projected.

When is an image upright vs inverted?

Real images are always inverted (negative magnification). Virtual images are always upright (positive magnification).

What is optical power?

Optical power is the reciprocal of focal length: P = 1/f. It's measured in diopters and indicates the strength of a lens or mirror.

How does focal length affect magnification?

Shorter focal length generally produces higher magnification for a given object distance. The relationship is complex and depends on the specific optical setup.

Practice MCQs

  1. Magnification is calculated as:
  2. A real image is:
  3. Virtual images can be:
  4. Power is measured in:
  5. For a converging lens, focal length is: