Loan Amount with $6,000 Payment

What's the most money you can borrow with a $6,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 $6,000, an interest rate of 7.00%, and a payback period of 25 years:
Maximum loan amount = $848,921
Most you can borrow with a $6,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% $206,319 $333,914 $454,088 $621,371 $1,081,865 $1,423,136
4.0% $203,225 $325,794 $438,956 $592,621 $990,131 $1,256,767
5.0% $200,194 $317,944 $424,511 $565,688 $909,152 $1,117,690
6.0% $197,226 $310,353 $410,718 $540,441 $837,485 $1,000,750
7.0% $194,319 $303,012 $397,544 $516,758 $773,895 $901,845
8.0% $191,471 $295,911 $384,956 $494,529 $717,326 $817,701
9.0% $188,681 $289,040 $372,924 $473,650 $666,870 $745,691
10.0% $185,947 $282,392 $361,420 $454,027 $621,748 $683,705