As Zaphod says, you can get a decent approximation combining a calibration matrix with a known focal length for the lens in mm.
More accurate method: open a window, read the serial number of the CCD, look at interwebs. There are only a few CCD manufacturers, and they all publish their specifications on the Internet. Here is an example.
source share