Camera focal length

How do you find the focal length of a camera in opengl, that is from the eye to the focal point.

Thank you.

focalLength = senzorSize / (2 * tan(FOV/2))

But that is a common equation. OpenGL does not impose any restriction to that calculation.