Simple pendulum is a classical model in both physics and mathematics and its large-angle oscillation is a difficult problem in research. We use symplectic algorithm to solve this problem from the viewpoint of Hamiltonian system instead of Newtonian system. The second- and fourth-order symplectic schemes are constructed, and the solutions are stable and accurate in long time simulation. Furthermore, based on good properties of symplectic scheme, we give an approximate-extreme point method to estimate oscillation period.