Repayment Assistance Plan (RAP) monthly payment
calculate_rap_paymentCalculates the federal student loan Repayment Assistance Plan (RAP) payment created by the One Big Beautiful Bill Act (P.L. 119-21, HEA sec. 455(q)), open since July 1, 2026. Base payment is 1% to 10% of the WHOLE AGI by $10,000 band ($120 a year flat at $10,000 or less, 10% above $100,000), divided by 12, minus $50 per dependent, never below $10. With balance and rate it also shows the first month: interest paid first, unpaid interest waived (interest subsidy), the up-to-$50 principal match, and a constant-income projection to payoff or cancellation after 360 qualifying payments. Copied from the statute text, not model memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agi | Yes | Adjusted gross income in dollars from the most recent tax return (borrower plus spouse, unless married filing separately). | |
| rate | No | Weighted annual interest rate in percent, for example 6.53. Required with balance. | |
| balance | No | Total RAP-eligible Direct Loan balance in dollars (optional). | |
| dependents | No | Number of IRC sec. 152 dependents claimed. Default 0. |