\frac{(period in years)^{2}}{(semi − major axis in AU)^{3}} = \frac{1}{(mass of system in solar masses)}

K = \frac{(period)^{2}}{(semi − major axis)^{3}}

(period)^{2} = K ∗ (semi − major axis)^{3}