I assume you just want the sum of all the $row[charge_estimate], right?
in the while loop that you have put in something like:
$total=$total+$row[charge_estimate];
that will add each number as it loops through the result set. Then at the end you can refer to to $total as the sum.