Calculating active percentages