Differential quadrature method (DQM) is proposed to solve the one-dimensional quadratic and cubic Klein-Gordon equations, and two-dimensional sine-Gordon equation. We apply DQM in space direction and also blockwise in time direction. Initial and derivative boundary conditions are also approximated by DQM. DQM provides one to obtain numerical results with very good accuracy using considerably small number of grid points. Numerical solutions are obtained by using Gauss-Chebyshev-Lobatto (GCL) grid points in space intervals, and GCL grid points in each equally divided time blocks. (C) 2012 Elsevier B.V. All rights reserved.