adding values with a loop

Hi there, I am checking disk spaced used on a box

 # df -k | grep dsk | awk {'print $3'}
2055463
20165785
18310202
32274406

I want to somehow add them up but am no quite sure how to do this in a loop. ...i.e

for n in 'df -k | grep dsk | awk {'print $3}' 
do

<some adding together code>

done

could someone point me in the right direction

Cheers

Try something like:

df -k | grep dsk | awk '{sum+=$3}END{print sum}'

Regards