Loan Amount with $5,100 Payment

What's the most money you can borrow with a $5,100 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,100, an interest rate of 8.00%, and a payback period of 5 years:
Maximum loan amount = $251,524
Most you can borrow with a $5,100 payment?
Loan amount based on interest rate and payback period
3 years 5 years 7 years 10 years 20 years 30 years
3.0% $175,371 $283,827 $385,975 $528,165 $919,586 $1,209,666
4.0% $172,741 $276,925 $373,112 $503,728 $841,611 $1,068,252
5.0% $170,165 $270,253 $360,834 $480,835 $772,779 $950,036
6.0% $167,642 $263,800 $349,111 $459,375 $711,862 $850,637
7.0% $165,171 $257,560 $337,912 $439,244 $657,811 $766,569
8.0% $162,750 $251,524 $327,212 $420,350 $609,727 $695,046
9.0% $160,379 $245,684 $316,985 $402,603 $566,839 $633,838
10.0% $158,055 $240,033 $307,207 $385,923 $528,486 $581,149