This is an old revision of the document!


Axial Eye Length Prediction Calculator

<button type=“primary” size=“sm”>Reload calculator</button>

<html> <head>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculate Future AEL</title>

</head> <style>

body {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 20px;
    max-width: 1000px;
}
reference  {
   font-family: Arial, sans-serif;
   font-size: 12px;
   font-weight: normal;
}
h2 {
    color: #333;
}
label {
    font-weight: bold;
}
input, button {
    margin-top: 5px;
    padding: 8px;
    font-size: 16px;
}
p {
    font-size: 18px;
    font-weight: bold;
    color: blue;
    margin-top: 10px;
}

</style> <body>

<h3>Calculate Future Axial Length at Age 20</h3>
<label for="b">Enter Current Axial Eye Length (mm):</label>
<input type="number" id="b" step="any" style="width: 75px;" placeholder="AEL"><br><br>
<label for="c">Enter Current Age in years (minimum age is 2):</label>
<input type="number" id="c" step="any" style="width: 75px;" placeholder="Age"><br><br>
<button onclick="calculateA()">Calculate </button>
<br><br>
<p id="result"></p>
<script>
  function calculateA() {
    // Get input values
    const b = parseFloat(document.getElementById("b").value);
    const c = parseFloat(document.getElementById("c").value);
    // Check if inputs are valid numbers
    if (isNaN(b) || isNaN(c)) {
      document.getElementById("result").textContent = "Please enter valid numbers for Axial Length and Age.";
      return;
    }
    // Check if C is less than 2
    if (c < 2) {
      document.getElementById("result").textContent = "Error: The age must be 2 or greater.";
      return;
    }
    // Calculate A using the formula
    const a = 1.93 + (0.91 * b) - (0.07 * c) + 2.8 - (0.1 * c);
    // Display the result
    document.getElementById("result").innerHTML = `The estimated axial eye length at age 20 years is: <strong> ${a.toFixed(2)} mm </strong>`;
  }
</script>
<br><br>
<div class="reference">
 <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC7179734/">Adapted from: Trivedi RH et al. A Model to Predict Postoperative Axial Length in Children Undergoing Bilateral Cataract Surgery with Primary Intraocluar Lens Implantation. Am J Ophthalmol. 2019;206:228-234. </a>
 </div>

</body> </html>


<pane id=“references”>Download Calculator in Excel</pane>

<pane id=“references”>Adapted from Trivedi RH et al. A Model to Predict Postoperative Axial Length in Children Undergoing Bilateral Cataract Surgery With Primary Intraocular Lens Implantation. Am J Ophthalmol 2019;206:228–234. </pane>