transparency calculator