relegation at the end of the season is based on coefficients, which take into consideration the points obtained by the clubs during the present season and the two previous seasons (only seasons at the top-flight are counted). the total tally is then divided by the total number of games played in the top flight on those three season and an average is calculated. the team with the worst average at the end of the season is relegated to primera b nacional.