Gaussian Thin Lens Sign Convention: 1/f = 1/d₀ + 1/dᵢ and m = −dᵢ/d₀. Positive dᵢ is a real inverted image; negative dᵢ is a virtual upright image.
Image Distance (dᵢ)
—
—
Magnification (m = −dᵢ/d₀)
—
Image Classification
—
Optical Power (Diopters)
—
Principal Optical Axis & Three-Ray Tracing Diagram
Step-by-Step Solution
Physics Equation Explorer & CODATA Constants Reference Click to expand
CODATA Constants: g = 9.80665 m/s² • G = 6.6743×10⁻¹¹ • c = 2.9979×10⁸ m/s • k_e = 8.9876×10⁹ N·m²/C² • σ = 5.6704×10⁻⁸ W/m²K⁴
| Law / Topic | Core Equation | Rearrangements | SI Units |
|---|
How It Works & Quick Guide
Analyze converging (+f) and diverging (−f) thin lenses—calculating image location, magnification, real/virtual and upright/inverted status, plus SVG ray diagrams. Powered by CODATA physical constants and multi-unit SI conversions, this free browser tool displays exact steps and interactive curves with no sign-up required.
How to Use the Lens Equation Calculator
- Pick whether to solve Image Distance dᵢ, Focal Length f, or Object Distance d₀.
- Use positive f for converging convex lenses and negative f for diverging concave lenses.
- Check magnification, optical power in Diopters, image type, and live principal ray diagram.
Formula Explanation
1/f = 1/d₀ + 1/dᵢ; Lateral magnification: m = hᵢ/h₀ = −dᵢ/d₀; Power P = 1/f(m) in Diopters.
Worked Example
Placing an object 25 cm in front of a +15 cm convex lens forms a real, inverted, enlarged (m = −1.5×) image at dᵢ = +37.5 cm.
Scientific Notes
If object distance equals focal length (d₀ = f), emerging rays leave parallel to each other and no finite image forms (dᵢ → ∞).
Lens Equation Calculator - Frequently Asked Questions
How do signs distinguish real vs virtual images?
With positive d₀ in front of the lens, +dᵢ forms a real inverted image on the far side (projectable onto a screen), while −dᵢ forms a virtual upright image on the same side.
What do optical Diopters (D) measure?
Lens power P = 1 / f (with f in meters). A +4.0 D reading lens has focal length f = +0.25 m (25 cm).
What happens when an object sits closer than focal point f on a magnifying glass?
d₀ < f yields negative dᵢ and positive m > 1: an enlarged, upright virtual image (classic magnifying glass effect).
Are the three drawn rays standard textbook principal rays?
The live SVG draws the parallel-to-focal ray, central undeviated ray, and virtual/real image arrow accurately to scale.