basic volume calculation