Cwr calculation