I will be repeating some of the information already provided in an attempt to provide a comprehensive answer.
(This is also my first post so hopefully I won't mess up. )
The term aperture can be ambiguous whereas entrance pupil is clearly defined.
The entrance pupil is a virtual image of the aperture stop (diaphragm / iris) as seen from the front of the lens.
There is a corresponding exit pupil as viewed from the rear of the lens.
The physical diaphragm/iris is typically (much) smaller than the entrance pupil.
The diameter of the entrance pupil is f/f# where f is the focal length and f# is the f-number.
(f# is sometimes called aperture which is the source of some confusion.)
The stated focal length for any lens is at infinity and is often rounded as is the f#.
When you focus closer than infinity the focal length almost always drops.
It is very rare for it to go up and if so only a small amount.
Here's a ray tracing of a Nikon AF-S Nikkor 600mm f/4E FL ED VR from the PhotonsToPhotos Optical Bench:
Note that this 600mm f/4 lens is actually 587.8mm f/4.08
Note that the entrance pupil size is 144.07mm (PD) whereas the aperture stop diameter is only 34.521mm (AD)
The exit pupil diameter is only 35.99mm (P'D) so pupil magnification is 0.25 (35.99mm / 144.07mm)
Pupil magnification is often overlooked but is particularly relevant in close-up photography.
If this subject interests you then you may want to visit the Optical Bench or the PhotonsToPhotos Optics Primer.