The Grothendieck constant of a graph G=(V,E) is the least constant K such that for every matrix A:V×V→R, maxf:V→S|V|−1 ∑{u,v}∈E A(u,v) · (f(u), f(v)) ≤ K maxε:V→{−1,+1} ∑{u,v}∈E A(u,v) · ε(u)ε(v). The investigation of this parameter, introduced by Alon et al., is motivated by the algorithmic problem of maximizing the quadratic form ∑{u,v}∈E A(u,v)ε(u)ε(v) over all ε:V→{−1,1}, which arises in the study of correlation clustering and in the investigation of the spin glass model. In the present note we show that for the random graph G(n,p) the value of this parameter is, almost surely, Θ(log(np)). This settles a problem raised by Alon et al.. We also obtain a similar estimate for regular graphs in which the absolute value of each nontrivial eigenvalue is small.