Actually, the equation is: db = 20Log10(Av), where Av is the voltage gain (Vout/Vin). Vin is the input signal (your cartridge output of 0.24mv) to the phono stage. Ultimately you want a line level of 0.5 to 1.0v from the phono stage's output to match the same same level from the CD Player.
If you are aiming for 0.5v output from the phono stage, Av = (0.5v / .24mv) = 2083.3 Plug this into the "db = " equation and you have a db value of 66db, needed by the phono stage to achieve that 0.5v signal into the line stage.
If you are aiming for 0.5v output from the phono stage, Av = (0.5v / .24mv) = 2083.3 Plug this into the "db = " equation and you have a db value of 66db, needed by the phono stage to achieve that 0.5v signal into the line stage.