Essentially, astronomers determine the age of stars by observing their spectrum, luminosity and motion through space. They use this information to get a star's profile, and then they compare the star to models that show what stars should look like at various points of their evolution.