Originally written by Timothy Adler on Small Business
Bounce Back Loan calculator
Use the SmallBusiness.co.uk Bounce Back Loan calculator to work out how much your loan will cost in total.
label, input {
display: block;
}
label {
padding-top: 5px;
padding-bottom: 5px;
}
input {
margin-bottom: 20px;
width: 50%;
padding: 5px;
}
.calculator {
background: linear-gradient(to bottom,#f5f5f5, #fff);
padding: 10px;
border: 2px solid #f5f5f5;
display: inline-block;
width: 100%:;
}
.calculator h2 {
font-size: 48px;
font-weight: 400;
margin: 5px 0px;
padding: 0px;
color: #0688dc;
float: none;
}
.calculator span {
display: block;
margin-top: 10px;
margin-bottom: 20px;
}
.repaymentCalc {
border-top: 1px solid #000000;
padding-top: 10px;
}
Bounce Back Loan Calculator
Work out the monthly repayments on the sum you’d like to borrow.
Turnover 2020
Maximum sum allowed to borrow
Sum to borrow (between £2,000 and £50,000)
Number of years to repay (between 1 to 5)
Estimated monthly repayments
$(“#turnover”).on(“keyup”, function(){
if($(this).val().length > 1){
var turnover = $(this).val().split(“£”)[1];
} else {
var turnover = $(this).val();
}
$(this).val(“£”+turnover);
var maxSum = turnover / 4;
maxSum = “£” + maxSum;
$(“#maxSum”).val(maxSum);
});
$(“#sumToBorrow”).on(“keyup”, function(){
if($(this).val().length > 0){
if($(this).val().split(“£”)[0] == “”){
var sum = $(this).val().split(“£”)[1];
} else {
var sum = $(this).val();
}
sum = “£” + sum;
$(this).val(sum);
}
})
$(“#repayYears”).on(“keyup”,function(){
var noOfYears = $(this).val();
var noOfMonths = noOfYears * 12;
if(noOfYears != 1) {
var noOfYearsInterest = noOfYears – 1;
var noOfMonthsInterest = noOfYearsInterest * 12;
var interest = Math.pow(1 + 0.25/noOfMonthsInterest,noOfMonthsInterest) – 1;
var amount = $(“#sumToBorrow”).val().split(“£”)[1];
var interestOwed = parseFloat(parseInt(amount)