Add a total row in admin grid Magento
Magento has possibility to add total row in any grid in admin panel. You just need to use some additional methods in your Grid Block.
In your Grid Block that extended Mage_Adminhtml_Block_Widget_Grid you need to enable row with totals:
protected $_countTotals = true;