Loan Amount with $5,000 Payment

What's the most money you can borrow with a $5,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 $5,000, an interest rate of 6.00%, and a payback period of 10 years:
Maximum loan amount = $450,367
Most you can borrow with a $5,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% $171,932 $278,262 $378,407 $517,809 $901,555 $1,185,947
4.0% $169,354 $271,495 $365,796 $493,851 $825,109 $1,047,306
5.0% $166,829 $264,954 $353,759 $471,407 $757,627 $931,408
6.0% $164,355 $258,628 $342,265 $450,367 $697,904 $833,958
7.0% $161,932 $252,510 $331,286 $430,632 $644,913 $751,538
8.0% $159,559 $246,592 $320,796 $412,107 $597,771 $681,417
9.0% $157,234 $240,867 $310,770 $394,708 $555,725 $621,409
10.0% $154,956 $235,327 $301,183 $378,356 $518,123 $569,754