Loan Amount with $2,900 Payment

What's the most money you can borrow with a $2,900 monthly payment? Calculate the loan amount based on interest rate and payback period.
Monthly payment
$
Interest rate
%
Payback period
Results
With a monthly payment of $2,900, an interest rate of 4.00%, and a payback period of 25 years:
Maximum loan amount = $549,412
Most you can borrow with a $2,900 payment?
Loan amount based on interest rate and payback period
3 years 5 years 7 years 10 years 20 years 30 years
3.0% $99,721 $161,392 $219,476 $300,329 $522,902 $687,849
4.0% $98,225 $157,467 $212,162 $286,434 $478,563 $607,438
5.0% $96,761 $153,673 $205,180 $273,416 $439,423 $540,217
6.0% $95,326 $150,004 $198,514 $261,213 $404,784 $483,696
7.0% $93,921 $146,456 $192,146 $249,766 $374,049 $435,892
8.0% $92,544 $143,023 $186,062 $239,022 $346,707 $395,222
9.0% $91,196 $139,703 $180,246 $228,931 $322,320 $360,417
10.0% $89,875 $136,490 $174,686 $219,446 $300,511 $330,457