A method for determining the gravitational constant is proposed. According to geological samples of rocks and the prevalence of these rocks on Earth, the average density of matter is found. Multiplying this density by the volume of the Earth, we find its mass. Knowing the radius of the Earth and the acceleration of gravity on its surface, find the gravitational constant. What is the root drawback of this method?