One of the most popular mass loss equations of a star, developed by D. Reimers, is given by:
dM/dt = -(4x10^-13) * η(L/(gR)) solar masses per year
Where η is a free parameter close to unity and L, g, and R are the luminosity of the star, surface gravity of the star, and the radius of the star...