This paper describes a new non-destructive approach for porosity measurement developed in response to a need for a more accurate porosity measurement method for solid samples. The conventional methods in X-ray CT imaging are based on image segmentation where a threshold is applied at a user-defined value. As a result the uncertainty in the porosity measurement is introduced. Therefore, the new method, called the grey level method, which reflects the phenomenon of image processing and computation of ration between the volume of voids and the total volume of the entire sample, was considered and improved in term of image noise and artifacts. The volumes of 2D CT image as a surface are achieved by means of integrating the surface with operations relating to image histogram. The porosity value is given form the curve of a porosity distribution. Subsequently, the properties of individual pores were measured and comparison with conventional destructive method of porosity computation was carried out. Data analysis and image processing were realized in Matlab.