An approximate variational method of calculating the ground state energy of the Hubbard model is presented. The method is based on the trial wave function of Wigner. The result for the one-dimensional model is good compared with other approximate results. The extension of the method to finite temperatures is straightforward.