Real-time and dynamic display of digital hologram based on spatial light modulator is achieved by analytical solution, and the analytical formulae for determining the optical phase on the hologram plane are deduced. The experimental result is presented, and it is shown that the real-time and dynamic display of digital hologram can be realized successfully. The noise of optical image is analyzed in this paper.