Back to Physics calculators

Optics · Geometric optics

Lens and mirror equation and magnification calculator

Compute image distance, magnification, and image properties for thin lenses and spherical mirrors using the lens equation.

Everything runs in your browser; no data leaves this calculator.

Other languages ja | en | zh-CN | es | pt-BR | id | fr | hi-IN | ar

How to use (3 steps)

  1. Select the optical system (thin lens or spherical mirror) and the specific element type.
  2. Enter focal length, object distance, and optionally object height (use the same unit such as cm).
  3. Press Compute to get image distance, magnification, and whether the image is real/virtual and upright/inverted.

Defaults show a converging lens example (f = 10 cm, dₒ = 30 cm, hₒ = 2 cm) so you can see a real, inverted, reduced image immediately. Classic classroom demo: place a lamp beyond 2f of a convex lens to form a sharp, inverted image on a screen; move the lamp inside f to see an upright virtual image.

Inputs

Use the same length unit for all inputs (cm recommended).

cm
cm
cm

All calculations stay in your browser; no values are sent to any server.

Results

Quantity Value

How it's calculated

    How to use this calculator effectively

    This guide helps you use Lens and mirror equation and magnification calculator in a repeatable way: define a baseline, change one variable at a time, and interpret outputs with explicit assumptions before you share or act on results.

    How it works

    The page applies deterministic logic to your inputs and shows rounded output for readability. Treat it as a comparison workflow: run one baseline case, adjust a single parameter, and measure both absolute and percentage deltas. If a result seems off, verify units, time basis, and sign conventions before drawing conclusions. This approach keeps your analysis reproducible across teammates and sessions.

    When to use

    Use this page when you need a fast estimate, a classroom check, or a practical what-if comparison. It works best for planning and prioritization steps where you need direction and magnitude quickly before investing in deeper modeling, manual spreadsheets, or formal external review.

    Common mistakes to avoid

    Interpretation and worked example

    Run a baseline scenario and keep that result visible. Next, modify one assumption to reflect your realistic alternative and compare direction plus size of change. If the direction matches your domain expectation and the size is plausible, your setup is usually coherent. If not, check hidden defaults, boundary conditions, and interpretation notes before deciding which scenario to adopt.

    See also

    FAQ

    How do you decide the sign of the distances and focal length?

    You enter all distances as positive values. The calculator applies signs internally: converging lenses and concave mirrors use positive focal length, while diverging lenses and convex mirrors use negative focal length. The sign of the computed image distance tells whether the image is real or virtual.

    What does a negative image distance mean here?

    In this sign convention, a positive image distance means a real image and a negative image distance means a virtual image. Virtual images cannot be projected onto a screen; they appear where light rays seem to diverge.

    How should I read the magnification m and its sign?

    If m is negative the image is inverted; if m is positive the image is upright. When |m| > 1 the image is enlarged, when |m| < 1 it is reduced, and |m| ≈ 1 means the same size as the object.

    What should I do first on this page?

    Start with the minimum required inputs or the first action shown near the primary button. Keep optional settings at defaults for a baseline run, then change one setting at a time so you can explain what caused each output change.

    Why does this page differ from another tool?

    Different pages often use different defaults, units, rounding rules, or assumptions. Align those settings before comparing outputs. If differences remain, compare each intermediate step rather than only the final number.

    How to use Lens and mirror equation and magnification calculator effectively

    What this calculator does

    This page is for estimating outcomes by changing inputs in one controlled workflow. The model keeps your focus on variables, not output shape. Start with stable assumptions, then test sensitivity by changing one key input at a time to observe directional impact.

    Input meaning and unit policy

    Each input has an expected unit and a typical range. For reliable interpretation, check whether you are using the same unit system, period, and base assumptions across all runs. Unit mismatch is the most common source of unexpected drift in numeric results.

    Use-case sequence

    A practical sequence is: first run with defaults, then create a baseline log, then run one alternative scenario, and finally compare only the changed output metric. This sequence reduces cognitive load and prevents false pattern recognition in early experiments.

    Common mistakes to avoid

    Avoid changing too many variables at once, mixing incompatible data sources, and interpreting a one-time output without checking robustness. A single contradictory input can flip conclusions, so keep each experiment minimal and document assumptions as part of your note.

    Interpretation guidance

    Review both magnitude and direction. Direction tells you whether a strategy moves outcomes in the desired direction, while magnitude helps you judge practicality. If both agree, you can proceed; if not, rebuild the baseline and verify constraints before deciding.

    Comments

    Load comments only when you need them.