defined rating calculation formula