🏠 Kent Mortgage Affordability Calculator

Based on May 2026 mortgage rates (5.18%–5.75% two-year fix) β€” for illustration only

<div class="cg-field-group">
  <label for="cg-property-price">Property Price (Β£)</label>
  <input type="number" id="cg-property-price" placeholder="e.g. 350000" min="50000" max="2000000" value="350000" />
</div>

<div class="cg-field-group">
  <label for="cg-deposit">Deposit (Β£)</label>
  <input type="number" id="cg-deposit" placeholder="e.g. 35000" min="0" value="35000" />
</div>

<div class="cg-field-group">
  <label for="cg-rate">Mortgage Rate (%)</label>
  <select id="cg-rate">
    <option value="5.18">5.18% β€” Lowest two-year fix (May 2026)</option>
    <option value="5.45" selected>5.45% β€” Mid-range estimate</option>
    <option value="5.75">5.75% β€” Higher two-year fix (May 2026)</option>
  </select>
  <p class="cg-rate-note">Source: Rightmove, May 2026</p>
</div>

<div class="cg-field-group">
  <label for="cg-term">Mortgage Term (years)</label>
  <select id="cg-term">
    <option value="20">20 years</option>
    <option value="25" selected>25 years</option>
    <option value="30">30 years</option>
    <option value="35">35 years</option>
  </select>
</div>

<div class="cg-field-group">
  <label for="cg-income">Combined Annual Income (Β£) <span style="font-weight:400;color:#6b7a8d;">β€” for affordability check</span></label>
  <input type="number" id="cg-income" placeholder="e.g. 65000" min="10000" value="65000" />
</div>

<button class="cg-calc-btn" onclick="cgCalculate()">Calculate Monthly Payment</button>

<div class="cg-results" id="cg-results-box">
  <h3>πŸ“Š Your Results</h3>
  <div class="cg-result-row">
    <span class="cg-result-label">Loan Amount</span>
    <span class="cg-result-value" id="cg-loan-amount">β€”</span>
  </div>
  <div class="cg-result-row">
    <span class="cg-result-label">Monthly Payment</span>
    <span class="cg-result-value cg-highlight" id="cg-monthly">β€”</span>
  </div>
  <div class="cg-result-row">
    <span class="cg-result-label">Annual Mortgage Cost</span>
    <span class="cg-result-value" id="cg-annual">β€”</span>
  </div>
  <div class="cg-result-row">
    <span class="cg-result-label">Total Repaid</span>
    <span class="cg-result-value" id="cg-total">β€”</span>
  </div>
  <div class="cg-result-row">
    <span class="cg-result-label">Loan-to-Income Ratio</span>
    <span class="cg-result-value" id="cg-lti">β€”</span>
  </div>

  <div class="cg-affordability-bar-wrap">
    <p>Affordability pressure (loan-to-income):</p>
    <div class="cg-bar-bg">
      <div class="cg-bar-fill" id="cg-bar" style="width:0%"></div>
    </div>
    <p class="cg-affordability-label" id="cg-afford-label"></p>
  </div>

  <p class="cg-disclaimer">⚠️ This calculator is for illustrative purposes only and does not constitute financial or mortgage advice. Always consult a qualified, FCA-regulated mortgage broker before making any borrowing decisions.</p>
  <p class="cg-source">Rate data: Rightmove, May 2026. BoE base rate: 3.75% (30 April 2026).</p>
</div>