While magnitude measures the energy released at the earthquake source, intensity measures the shaking and damage observed at a specific location. One earthquake has a single magnitude but a different intensity at every point on the map, because ground motion decays with distance and is amplified or damped by the ground it travels through.
Peak ground acceleration (PGA) is the usual instrumental measure of that shaking, expressed as a percentage of gravity. The USGS publishes a fixed scale that maps PGA onto the Modified Mercalli intensity levels, and this tool applies that published scale: the band edges in %g are 0.17, 1.4, 3.9, 9.2, 18, 34, 65 and 124.
What this tool does not do is predict PGA from a magnitude and a distance. Doing that properly needs a ground-motion model calibrated for a specific region, fault style and site class, and different published models disagree with each other by a factor of two or more. An earlier version of this page estimated PGA from magnitude and distance using an equation that matched no published model and read roughly an order of magnitude low, which put a damaging earthquake in the "no damage" band. That estimate has been removed rather than replaced with a guess. For a real event, the USGS ShakeMap for that earthquake reports the acceleration directly.