The focal length is the distance from the Image side principal plane to the image of objects at infinity.
The larger the focal length, the smaller the aperture angle of the lens and the smaller the object section that is displayed full-frame on the sensor.
The lens captures less of the object. Extremea are telephoto lenses and finally telescopes.
The smaller the focal length, the larger the aperture angle of the lens and the larger the object section which is displayed full-frame on the sensor.
The lens captures more of the object. Extreme forms are fisheye lenses.
There are exceptions! (See: pseudo-knowledge: viewing angle and focal length are equivalent)
However, Viewing angles change with the working distance! Also, a Pinhole lens model is assumed. Thus for wide angles a too small focal length is returned .. (as all focal length calculators on the internet do 😉 )
For the next calculator it is very important to correct the distortions before doing the calculation: