In machine vision applications, distance or depth is an important factor. This paper describes stereoscopic depth calculation method by using images by two identical cameras separated by a small distance. This method requires calibration of cameras and rectification, an important step which is required for the matching of the images captured by two cameras. Using this stereo matching technique disparity is calculated. This is directly related to the depth. The proposed method is very much useful for planetary vision, autopilots, etc.