Corelation formula