The IRS has a worksheet you can use to find this amount. Please see the Line 6 Worksheet to calculate your interest.
The interest included in total proceeds is the same amount that will show on Form 8815, Line 6 . You may want to proceed to the next screen to view your Form 8815 and come back to make changes if necessary.