I'm using Android IP Webcam as a sound sensor to monitor environmental noise levels in an interior room. It is outputting values in the 135-230 dB range where ~135 dB is dead-of-night, everything off, and ~230 is loud action scene in a movie being played. I need to convert these values to something meaningful for common loudness levels. What formula should be used to make that conversion?
There is no formula you can use to make this conversion. It is unlikely your webcam would be suitable as a sound sensor due to the processing involved in detecting and multiplexing the audio into the visual data stream. Also, the 'dB' values you are quoting are meaningless.
In order to be able to detect something useful, you would need a raw feed from the microphone, a known calibration reference source and the correct filters. Only then could you begin to determine what the coefficients are to get anything remotely meaningful out of the system. Any 'formula' would be unique to the device.
The levels look to be about 100 dB too high, but that's easily ± 10 dB off, which is a large margin.
At 'dead of night' you run into the noise floor of your cheap mic, but 25-30 dB is about right for night in a quiet neighborhood.
At the top of the range, it's possible the mic is clipping, you'd have to record some loud sounds and look at the waveform in an audio editor to be sure. 100 dB is already unpleasantly loud. My iPhone mic is limited to about 100 dB.
As Mark says, calibration is the only way to get numbers that are reasonably close. Once you have done a calibration at one level, the rest of the scale should be reasonably close: if it weren't, you'd get really strange-sounding audio.