Do right calcluation