bandwidth calculation formula