Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@RomeoNinov the ratio of the image distance to the object distance is defined as the magnification: \$M = i/o\$. Of course, that depends on \$f\$ as well: \$M = (i-f)/f\$.
Alan, that's the thin lens formula. The lens maker's formula uses the refractive index and the surface powers (i.e., reciprocal surface radii) of the lens.