ToolPatch

One page. One job. Done.

← Back to all tools
Science & Math Math calculation

Lens Imaging Calculator

Solve thin-lens image distance, magnification, and orientation.

Science & Math

Lens Imaging Calculator applies the thin-lens equation to relate focal length, object distance, and image distance. Focal length is the distance from the lens to the focal point for parallel incoming light, object distance is the distance from the object to the lens, and image distance is where the image forms. Magnification compares image height with object height; its sign and size indicate whether the image is inverted or upright and enlarged or reduced. Real images can be projected onto a screen, while virtual images appear to come from a location where rays do not physically converge. The thin-lens model is useful for optics coursework and camera intuition, but thick lenses, aberrations, aperture, and sensor geometry can affect real optical systems.

Permalink

Input guidance

Enter the values requested by the form.

How to use this tool

  1. Enter the values requested by the form.
  2. Run the tool and review the labelled output.
  3. Check assumptions, units, and edge cases before relying on the result.

Thin Lens Inputs

Result

Image distance di: 15.000000 cm

Magnification m: -0.500000

Image height hi: -1.000000 cm

Image type: Real

Orientation: Inverted

Thin Lenses and Image Formation

Bending Light to Form Images

A lens forms images by refracting light. A converging lens brings parallel rays toward a focal point, while a diverging lens spreads rays as if they came from a focal point. The thin-lens model simplifies a real lens into an ideal element with a focal length and negligible thickness.

The thin-lens equation relates object distance, image distance, and focal length. It captures where an image forms when an object is placed at a given distance. The model is a first-order approximation, but it explains cameras, magnifiers, eyeglasses, projectors, and basic optical instruments.

Real and Virtual Images

A real image forms where light rays actually converge and can be projected onto a screen or sensor. A virtual image forms where rays appear to originate when traced backward; it cannot be projected directly onto a screen. A magnifying glass used close to an object creates a virtual enlarged image. A camera lens forms a real image on the sensor.

The distinction depends on object position relative to focal length. For a converging lens, objects outside the focal length form real images on the opposite side. Objects inside the focal length form virtual images on the same side as the object.

Magnification and Sign Conventions

Magnification compares image size with object size. A negative magnification often indicates an inverted image under common sign conventions; a positive value indicates upright orientation. The magnitude tells how much larger or smaller the image is.

Sign conventions vary across textbooks and optical design contexts. The physical interpretation is more important than memorizing a convention. A ray diagram can confirm whether an image is real or virtual, upright or inverted, enlarged or reduced.

Limits of the Thin-Lens Model

Real lenses have thickness, aperture limits, aberrations, dispersion, coatings, curvature details, and alignment errors. Spherical aberration, chromatic aberration, distortion, field curvature, and diffraction can all affect image quality. Multi-element lens systems exist to control these imperfections.

The thin-lens equation remains useful because it gives the paraxial starting point: where the image should form and how large it should be under ideal conditions. Practical optics then refines that baseline for real materials and finite apertures.

Formula or method

How to interpret the result

Confidence and limitations

Related tools and workflows

Related science and math tools help test nearby formulas, assumptions, inputs, or statistical checks in the same analysis. Start with Flywheel Energy Calculator, Arithmetic Sequence Solver, and Blackbody Radiation Calculator when you need a quick follow-up check.