If G is universal gravitation constant and g is acceleration due to gravity, then dimensions of G will be
Force of attraction between two masses M1andM2 having separation R
F=GM1M2R2
[MLT−2]=G[M2L−2]
G=[M−1L3T−2]
Hence, dimention of G is [M−1L3T−2]