Let m, n ≥ 2, m ≤ n. It is well-known that the number of (twodimensional) threshold functions on an m × n rectangular grid is t(m, n) = 6 π 2 (mn) 2 + O(m 2 n log n) + O(mn 2 log log n) = 6 π 2 (mn) 2 + O(mn 2 log m).We improve the error term by showing that t(m, n) = 6 π 2 (mn) 2 + O(mn 2 ).