The amount of interest is calculated using:
Interest = Capital * interest rate
The interest rate of 6% is for one year (360 days). Calculating for the interest rate for the period July8 to July 31:
interest rate = ((31-8)/360) * 0.06
interest rate = 0.003833
Therefore:
Interest = $80,000 * 0.003833
Interest = $306.67