The formula for converting ratings to percentages is fairly simple. For Critical, divide the rating by 4.44. For Block, divide the rating by 3.64. Then round to the nearest whole number. This happens for each piece of gear individually, and then (beyond level 50) the penalty gets applied to that number.