Performing calculations with data in widgets

Performing calculations with data in widgets

Hi there,
I would like to know if it is possible to create custom summary widgets that rely on aggregate data from columns.  For example, I want to calculate the ratio of qualified leads to sales, so if I have 40 sales and 400 qualified leads, the ratio is 1:10.

Is there any way I can show ratios like this using already summarized data as a widget or in any other way?

Thanks in advance,
G.