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
A master clinic involves the recognition that in power amps variable gain is just variable negative feedback. See Roger Modjeski for an EE w ears and many successful designs the variable NFB RM-9 being a sonic master class. The cool thing about variable NFB w time and phase accurate speakers is that the intrepid listener ( given a decent recording ) can discern how NFB effects image depth....
carry on....
see also Burning Amp
I find that speakers that has a low db rating benefits from a higher gain amp.
speakers that has a higher db rating benefits from a low gain amp.
wattage remains the same.
Also don’t forget your preamp gain.
The relationship between dB and power is logarithmic.
End of story.

This site is cries out for a Audio 101 list of stuff every audiophile should know. This would come right after W=VA.