Effective aperture = (1 + m)*f, where m is the magnification and f is the physical aperture of the lens. That said, if your lens has floating elements, such as the Pentax 120mm f/4, the physical aperture changes with focus distance.
Photrio.com contains affiliate links to products. We may receive a commission for purchases made through these links. To read our full affiliate disclosure statement please click Here.