Abstract. Given a pair p, q of relative prime positive integers, we have uniquely determined positive integers x, y, u and v such that vx − uy = 1, p = x + y and q = u + v. Using this property, we show that 1≤i≤x,1≤j≤vis the Alexander polynomial ∆p,q(t) of a torus knot t(p, q). Hence the number Np,q of non-zero terms of ∆p,q(t) is equal to vx + uy = 2vx − 1.Owing to well known results in knot Floer homology theory, our expanding formula of the Alexander polynomial of a torus knot provides a method of algorithmically determining the total rank of its knot Floer homology or equivalently the complexity of its (1,1)-diagram. In particular we prove (see Corollary 2.8);Let q be a positive integer> 1 and let k be a positive integer. Then we have(1)(k + 1)(q 2 − 1) − q where we further assume q is odd in formula (3) and (4).Consequently we confirm that the complexities of (1,1)-diagrams of torus knots of type t(kq + 2, q) and t(kq + q − 2, q) in [5] agree with N kq+2,q and N kq+q−2,q respectively.