There are decibel meters available. Basically they are just calibrated microphones with meters attached. Some styles record the sound levels over time. It is just like on older recording devices that allow you to measure recording levels but more compact and more precise.
With a sound pressure meter.