Active sonars are really powerful. For example, Turkey currently has the specs of a fairly modern active sonar element public.
The transmitting voltage response of the element is 151.5 dB microPascal/V at 1 m at 7.5 kHz. The driving voltage is 600 V. This means the sound intensity level (SIL) of the element at 1 m and 7.5 kHz will be 179.3 dB. Its receiving sensitivity is 10.5 dB higher. This element was used in a Turkish hull-mounted sonar for corvettes. That sonar looks like this:
View attachment 77546
Each vertical column has 8 elements, which means each vertical column will generate 188.3 dB (SIL). The increased gain (by 9dB) would make this equal to 197.3 dB. With a single column and a fairly noisy warship (let's say 140 dB), we can already detect submarines from around 600 meters away. With other columns, it is very possible that this sonar has a SIL close to 200 dB and an array gain of 30 dB. This would mean a 100 km detection range against submarines for our noisy corvette if ignore losses. If we account for losses this would decrease to 15-20 km.