Camera Calibration Method

Hi I want to know when I pass a Point3f datatype 3x3 matrix

to the cameraCalibrate() method , is the camera matrix and distortion coefficients returned in pixels?

I am passing the image size as cv::Size(gray.cols , gray.rows) , which I assume are in pixels.

Is there any formula to convert these to mm?