Combining the approaches based on grid and fractal,a new kind of clustering algorithm called grid and fractal dimension based clustering algorithm(GFDC) was presented.It overcame the shortcoming of low clustering quality in traditional grid-based clustering method and solved the time-consuming problem of fractal clustering method.In the initial stage of the new algorithm,some initial clusters were got according to the grid density.Then in the expansion stage,the unclassified grids were categorized using the idea of fractal.Experimental results confirm that GFDC is able to capture arbitrary shapes and non-neighboring clustering,and can be applied to the massive and high-dimension dataset.