Loan Amount with $2,000 Payment

What's the most money you can borrow with a $2,000 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,000, an interest rate of 4.00%, and a payback period of 25 years:
Maximum loan amount = $378,905
Most you can borrow with a $2,000 payment?
Loan amount based on interest rate and payback period
3 years 5 years 7 years 10 years 20 years 30 years
3.0% $68,773 $111,305 $151,363 $207,124 $360,622 $474,379
4.0% $67,742 $108,598 $146,319 $197,540 $330,044 $418,922
5.0% $66,731 $105,981 $141,504 $188,563 $303,051 $372,563
6.0% $65,742 $103,451 $136,906 $180,147 $279,162 $333,583
7.0% $64,773 $101,004 $132,515 $172,253 $257,965 $300,615
8.0% $63,824 $98,637 $128,319 $164,843 $239,109 $272,567
9.0% $62,894 $96,347 $124,308 $157,883 $222,290 $248,564
10.0% $61,982 $94,131 $120,473 $151,342 $207,249 $227,902