; (ii) a loan originally made, insured, or guaranteed under section 428B shall be a Federal Direct PLUS Loan; (iii) a loan originally made, insured, or guaranteed under section 428H shall be a Federal Direct Unsubsidized Stafford Loan; and (iv) a loan originally made, insured, or guaranteed under section 428C shall be a Federal Direct Consolidation Loan. (C) The interest rate for each loan made by the Secretary under this paragraph shall be the rate provided under subsection (c). (c) Interest rates (1) In general The interest rate for the refinanced Federal Direct Stafford Loans, Federal Direct Unsubsidized Stafford Loans, Federal Direct PLUS Loans, and Federal Direct Consolidation Loans, shall be a rate equal to— (A) in any case where the original loan was a loan under section 428, 428B, 428H, a Federal Direct Stafford loan, a Federal Direct Unsubsidized Stafford Loan, or a Federal Direct PLUS Loan, a rate equal to the interest rate determined under section 455(b)(9)(A) for the date on which the refinanced loan is made; and (B) in any case where the original loan was a loan under section 428C or a Federal Direct Consolidation Loan, a rate calculated in accordance with paragraph (2) . (2) Interest rates for consolidation loans (A) Method of calculation In order to determine the interest rate for any refinanced Federal Direct Consolidation Loan under paragraph (1)(B) , the Secretary shall— (i) determine each of the component loans that were originally consolidated in the loan under section 428C or the Federal Direct Consolidation Loan, and calculate the proportion of the unpaid principal balance of the loan under section 428C or the Federal Direct Consolidation Loan that each component loan represents; (ii) use the proportions determined in accordance with clause (i) and the interest rate applicable for each component loan, as determined under subparagraph (B), to calculate the weighted average of the interest rates on the loans consolidated into the loan under section 428C or the Federal Direct Consolidation Loan