# How to calculate the luminosity of a quasar?

Is there a relation between the distance ($$d$$) and the apparent bolometric magnitude ($$m_{bol}$$) of a quasar and its luminosity ($$L$$) in watt? If so, what is that relation?