This ranks the ability of planned tests and inspections to remove defects or detect failure modes, in time. The assigned detection number measures the risk that the failure will escape detection. A high detection number indicates that the chances are high that the failure will escape detection, or in other words, that the chances of detection are low. After above three basic steps, Risk Priority Number (RPN) can be calculated as given below.