How to calculate CUI manually