 Then, using Kepler's laws of celestial mechanics, the distance between the stars is calculated.Once this distance is found, their distance from the observer can be found via the arc subtended in the sky, giving a preliminary distance measurement.From this measurement and the apparent magnitudes of both stars, the luminosities can be found, and from the mass–luminosity relationship, the masses of each star.