It is actually quicker to work it out than to scour the Web for a right calc, and *check* that it is right.
48 steps, starting from 0dB, goes to -47dB.
-47dB is 0.004467.
0.004467 times 47,000 is 210. This is your bottom resistor.
Each 1dB step is a 1dB or 1.12202 bigger resistor.
5111 --- top resistor
4555.4
4060
.....
404
362
322.6
287.5
235.6
210 ------ bottom resistor
While some of these numbers look frighteningly exact, that's just math. When stacked in an array, 1% precision will give inaudible (nearly unmeasurable) error.
I'm revisiting this years later and wanted to double-check something...I've got a 24 position switch and want to use a range from -50dB to -38.5dB. I've worked out the resistor values with K factor of 1.05925 so my bottom is 148.62705 and the top is 558.5960469. Do I then just sum all resistors and minus that from 47000 and have 39522.53099 extra resistances before the switch? Obviously, those are exact values and not actual resistor values, but is that thinking correct? Is there an easy way to change the range of the switch to be 11.5dB from say -60dB up to -48.5dB etc. by varying that input resistor?
Thanks!