Tension is nothing but the pulling force acting on the body when it is hanged to the objects like string, cable, chain etc. It is denoted by T (sometimes also denoted as Ft). Tension formula is given by Where W = Weight of the body, m = mass of the body,
a = acceleration of the moving body
If the body is moving upward the tension would be T = W + ma
If the body is moving downward the tension would be T = W - ma
If the tension is equal to weight of body T = W