Compared with our knowledge of other fundamental constants, the exact value of the Newtonian constant of gravity (G) has long been enigmatic, and there is currently no officially accredited exact solution for G. Different from the widely adopted experimental approach and unlike other theoretical ways in resolving the value of G, by applying to the field equation of general relativity two newly developed tensor-based mathematical approaches (one is referred to as "eigen-modulus" to show the converging ability of a tensor, the other is called "the law of tensorial determination" to evaluate indeterminate forms involving tensors), we provide a possible exact solution to G that only relates to the electrical permittivity (ϵ0) and magnetic permeability (µ0) of free space, and. η is the corresponding mass density with constant value, with η = 1 (kg•m −3 ). This research casts doubt on the prevailing hypothesis that G is an independent constant. Our finding may place the theory of gravity and many related researches on a more objective and quantitative footing. The result not only affects the theory of gravity but also plays a key role in maintaining theories of classical mechanics, cosmology, general relativity and astrophysics.