In this paper, we analyze the clustering of galaxies using a modified Newtonian potential. This modification of the Newtonian potential occurs due to the existence of extra dimensions in brane world models. We will analyze a system of galaxies interacting with each other through this modified Newtonian potential. The partition function for this system of galaxies will be calculated, and this partition function will be used to calculate the free energy of this system of galaxies. The entropy and the chemical potential for this system will also be calculated. We will derive explicit expression for the clustering parameter for this system. This parameter will determine the behavior of this system, and we will be able to express various thermodynamic quantities using this clustering parameter. Thus, we will be able to explicitly analyze the effect that modifying the Newtonian potential can have on the clustering of galaxies. We also analyze the effect of extra dimensions on the two-point functions between galaxies.