Calculation for Federation and RS