transform calculate