Thin Lens Calculator

    Calculate image distance, object distance, focal length, magnification, image height, image type and lens power from the thin-lens equation.

    Lens parameters

    Thin lens equation

    English search intent for this page is classroom optics: solve the thin-lens equation, then interpret image distance, magnification and whether the image is real or virtual.

    f is focal length, d_o object distance and d_i image distance.

    M is lateral magnification. A negative value means the image is inverted.

    P is lens power in diopters when focal length is entered in meters.

    Sign convention and limits

    QuantityPositive resultNegative result
    Focal lengthConverging lensDiverging lens
    Image distanceReal image on the opposite side of the lensVirtual image on the object side
    MagnificationUpright imageInverted image
    Physics model, not an eyeglass prescription
    This calculator uses an ideal thin-lens model. It does not prescribe glasses, contact lenses or medical vision correction.

    Frequently Asked Questions

    Sources and References

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools