Earthquake B is 1,000 times stronger because it is 3 higher on the Richter scale.
On the Richter scale, each whole number increase represents a tenfold increase in measured amplitude and approximately 31.6 times more energy release. Therefore, an earthquake measuring 8 is approximately \(10^3\) (or 1,000) times more powerful than one measuring 5.