The Richter scale is a logarithmic scale. This means that each whole number increase represents a tenfold increase in the amplitude of the seismic waves, and about 31.6 times the energy released.
So, a magnitude 6 earthquake is ten times stronger than a magnitude 5 earthquake.