What’s the relationship between gain (dB) and power (watts)?


Is there one?  My new used 300+ epic Bryston amp has a gain switch on the back toggling between 23 and 29 dB of gain.  
redwoodaudio
My Sanders sound pre has a gain setting I think of 8DB, or close.

   I set it at 3 DB, for a bit of boost, but the McCormack amp does the rest
SPL in your room, in your sitting position is also largely contributed to by the room itself.
There is a phenomenon called cabin gain or the "transfer function", I am going to quote from car audio information.

Have you ever wondered why car audio systems can have so much bass as compared to a home stereo system? The reason has to do with space. Your home has a lot of it and your car doesn’t. Because there is so little space in a car the bass notes (which are long pressure waves) build up inside the passenger area. To calculate the length of a sound wave you divide the speed of sound (in feet per second) by the frequency. At sea level, the speed of sound is approximately 1,127 ft/sec. For example, a 40 Hz note has a wavelength of approximately 28 ft (at sea level).

(speed of sound)/(frequency) = wavelength
OR
(1,127 ft/sec)/(40Hz) = 28.175 ft

Since the length of the average car interior (including trunk) is in the 12 ft range the 40 Hz note will be longer then the car’s interior.

This is why notes below 70-90 Hz (depending on the vehicle) will have a greater output than the rest of the frequencies. Once this magic frequency is reached, bass output will increase by about 12 dB/octave below that frequency. This phenomenon is called cabin gain or the "transfer function". So a smaller vehicle will have a greater cabin gain and should be able to have greater low bass than a larger vehicle. This is true for identical subwoofer systems with identical power.
The physics involved are true for listening rooms, and so SPL isn’t just about the amount of energy the drivers are feed or are producing, measured at the listening position. Many use control devices to attenuate and clean up low frequency nodes which can be attributed to cabin gain, or "transfer function". Boundary reinforcement is another interesting topic and is related.

I am sure it’s very well known by most of us, but often not hardly thought about. I may be wrong but it appears, MC takes this also into consideration?
It sounds goofy but at least it is clear I know the difference between volume level and SPL. Sound pressure level is what we measure with decibels. Literally the pressure difference between the compression and rarefactions of the sound wave.

With all the math and physics measurements being tossed around, you’d think that everyone was equally gifted with identical hearing and processing by their brains. Unfortunately, this is not true and varies again by the condition and training of the listener and by their age. This is what makes "audiophiles" out of "just another person, but gifted by the Lord with perfection and the ability to communicate perfectly." I hope you are laughing at how arbitrary the listening experience can be. The most important aspect of the whole thing is how much you enjoy the experience of recorded sound and music.
I have a degree in experimental psychology and have been an electronic design engineer and owner of a graphics/media company with a recording studio for over a decade. This is irrelevant as I ENJOY music and have for a long, long time.
I am interested in this because I have just upgraded from one power amp to two monoblocks - the gain has not changed but the available power has gone from 200W per channel to 600W...

... and yes, the monoblocks are no louder than the stereo unit. 

Here is my attempt at understanding the issue. Typed out here more to get feedback, to get my working checked, than to tell anyone else what to think.

OK, so gain tells you how much bigger the output voltage is to the input voltage, i.e. the ratio of input to output. It think (guess) that typically power amps have an input to output voltage ratio around 100 times. 

Power considerations appear to come into play when you connect the amplifier to something, like a resistor, or a speaker. In order to hold the correct voltage, the amp has to pump out current. If it runs out of current, the voltage will decrease, the relationship between output voltage and input voltage will falter. 

With something simple like a resistor, one could easily work out how much power one needed from power = voltage squared divided by resistance. But speakers are not resistors, and music is not a steady state. I think that if one suddenly wants a speaker's driver to move, its resistance momentarily collapses, and so only an amplifier with a lot of power can hold its output voltage steady. As the speaker resistance collapses due to a rim shot or square wave, the amplifier has to dump a tonne of current into it.

In my mind big power amps sound powerful because they are capable of making the speaker follow the music. They sound more exciting, not louder. 


Wouldn't an increase in the gain setting be the equivalent of turning up the volume knob, as a default setting? (using more power by default?)

I have an amp with independently adjustable gain for each of 4 inputs. I don't use it, but my understanding is that it will simply adjust (offset) the default volume (power) level for a given input. This makes sense if you wanted to level out some inputs that might be varying in volume, but why the global gain switch? Gives you a better/preferred starting point for volume.. due to input or speaker behavior?