How is PAI calculated?