calc right position