If the mass of the central body is not known, its standard gravitational parameter, and hence its mass, can be determined by the deflection of the smaller body together with the impact parameter and approach speed. Because typically all these variables can be determined accurately, a spacecraft flyby will provide a good estimate of a body's mass.