calculate ca