For a positive integer t, let Ft denote the graph of the t×t grid. Motivated by a 50-year-old conjecture of Erdős about Turán numbers of r-degenerate graphs, we prove that there exists a constant C=C(t) such that ex(n,Ft)≤Cn3/2. This bound is tight up to the value of C. One of the interesting ingredients of our proof is a novel way of using the tensor power trick.