K means method and Gauss mixture model were used to deconvolute the nanoindentation data of cement. Comparing with the experimental results, it was found that the number of indentation points had effect on the deconvolution results. The results obtained by the two deconvolution methods at 100 points were relatively discrete, but the results of 225 points and above had good similarity and high reliability. Although the K means method relied on the selection of initial parameters, its results were similar to that of Gauss mixture model. The results of Gauss could be tested by K means.