Calculate IPCC and SPCC