Go for a loop on listitems, get the value of each list item that you are talking of and do any mathematical permutation you want to on them.
something like:
double someValue = 0;
foreach(ListItem li in myList.Items)
{
someValue += Convert.ToDouble(li[2]);
}