Your rank is calculated based on your energy score. In At-home classes, you are working out with many other users who are also using the energy meter to measure their efforts at the same time. Just like you, all the other users are also assigned an energy score. Your rank is assigned based on your cumulative score in comparison to that of others - the higher your energy score, the better is your rank.