# Lens Equation (Gaussian formula)

The figure below describes image formation by a thick, positive lens for paraxial rays. The relationship between the object and image is given by the Gaussian formula (aka. lens maker's equation). SMD PRO uses the sign convention where s < 0 for real objects, s > 0 for virtual objects, s’ < 0 for virtual images, and s’ > 0 for real images.

$$
Magnification \   (m) ={ h'\over h} = {ns'\over n's}
$$

<figure><img src="/files/hbYOgqZ6P295EPPWEBMZ" alt="Minsu Oh, Simple Metalens"><figcaption><p>Imaging with a lens. n, n<sub>lens</sub>, and n': refractive indices (real part) of object space, lens, and image space, respectively. P and P': principal planes on the object and image sides, respectively. s and s’: object and image positions with respect to their corresponding principal planes, respectively. EFL and EFL’: effective focal lengths on the object and image sides, respectively.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://simplemetalens.gitbook.io/docs/smd-pro/topical-discussions/lens-equation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
