You can do something like following to get the sum of values from the elements with same css class-
var sum = 0;
$('.YourActualClass').each(function(){
sum += parseFloat($(this).innerHTML());
});
Then assign it to the element you want.
Hope, it helps :)
Please let me know if I am missing anything here.