{"id":2932,"date":"2026-04-10T19:33:03","date_gmt":"2026-04-10T17:33:03","guid":{"rendered":"https:\/\/bio-me.bio\/?page_id=2932"},"modified":"2026-04-10T19:33:24","modified_gmt":"2026-04-10T17:33:24","slug":"flood-risk-calculator","status":"publish","type":"page","link":"https:\/\/bio-me.bio\/?page_id=2932","title":{"rendered":"Flood Risk Calculator"},"content":{"rendered":"\n<div class=\"eco-tool wp-block-group\" id=\"eco-tool-flood-q61v3\">\n  <div class=\"eco-tool__header\">\n    <h2 class=\"eco-tool__title\">Flood Risk Calculator<\/h2>\n    <p class=\"eco-tool__lead\">\n      Estimate a simple flood risk level based on rainfall, elevation, drainage, and surface type.\n    <\/p>\n  <\/div>\n\n  <form class=\"eco-tool__form\" id=\"eco-flood-form-q61v3\" novalidate>\n    <div class=\"eco-tool__grid3\">\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\" for=\"rain-q61v3\">Heavy rain (mm\/day)<\/label>\n        <input class=\"eco-tool__input\" id=\"rain-q61v3\" type=\"number\" min=\"0\" step=\"1\" value=\"40\" inputmode=\"numeric\" \/>\n        <div class=\"eco-tool__hint\">Estimated strong rainfall in one day.<\/div>\n      <\/div>\n\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\" for=\"elevation-q61v3\">Elevation<\/label>\n        <select class=\"eco-tool__input\" id=\"elevation-q61v3\">\n          <option value=\"high\">High ground<\/option>\n          <option value=\"medium\" selected>Moderate<\/option>\n          <option value=\"low\">Low-lying area<\/option>\n        <\/select>\n        <div class=\"eco-tool__hint\">Lower areas usually flood more easily.<\/div>\n      <\/div>\n\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\" for=\"drainage-q61v3\">Drainage quality<\/label>\n        <select class=\"eco-tool__input\" id=\"drainage-q61v3\">\n          <option value=\"good\">Good<\/option>\n          <option value=\"medium\" selected>Average<\/option>\n          <option value=\"poor\">Poor<\/option>\n        <\/select>\n        <div class=\"eco-tool__hint\">Storm drains and runoff channels matter.<\/div>\n      <\/div>\n\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\" for=\"surface-q61v3\">Ground surface<\/label>\n        <select class=\"eco-tool__input\" id=\"surface-q61v3\">\n          <option value=\"permeable\">Mostly soil \/ grass<\/option>\n          <option value=\"mixed\" selected>Mixed<\/option>\n          <option value=\"impermeable\">Mostly concrete \/ asphalt<\/option>\n        <\/select>\n        <div class=\"eco-tool__hint\">Hard surfaces increase runoff.<\/div>\n      <\/div>\n\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\" for=\"water-q61v3\">Near river \/ coast<\/label>\n        <select class=\"eco-tool__input\" id=\"water-q61v3\">\n          <option value=\"no\" selected>No<\/option>\n          <option value=\"yes\">Yes<\/option>\n        <\/select>\n        <div class=\"eco-tool__hint\">Nearby water can raise flood exposure.<\/div>\n      <\/div>\n\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\" for=\"basement-q61v3\">Basement \/ ground floor<\/label>\n        <select class=\"eco-tool__input\" id=\"basement-q61v3\">\n          <option value=\"no\">No<\/option>\n          <option value=\"yes\" selected>Yes<\/option>\n        <\/select>\n        <div class=\"eco-tool__hint\">Lower floors are more vulnerable.<\/div>\n      <\/div>\n    <\/div>\n\n    <div class=\"eco-tool__actions\">\n      <button type=\"button\" class=\"wp-element-button eco-tool__btn\" id=\"calc-q61v3\">Calculate<\/button>\n      <button type=\"button\" class=\"wp-element-button eco-tool__btn eco-tool__btn--ghost\" id=\"reset-q61v3\">Reset<\/button>\n      <div class=\"eco-tool__error\" id=\"error-q61v3\"><\/div>\n    <\/div>\n  <\/form>\n\n  <div class=\"eco-tool__result\" id=\"result-q61v3\" hidden>\n    <h3 class=\"eco-tool__subtitle\">Result<\/h3>\n\n    <div class=\"eco-tool__cards\">\n      <div class=\"eco-tool__card\">\n        <div class=\"eco-tool__metric-label\">Flood risk<\/div>\n        <div class=\"eco-tool__metric-value\" id=\"level-q61v3\">\u2014<\/div>\n        <div class=\"eco-tool__metric-sub\" id=\"score-q61v3\"><\/div>\n      <\/div>\n\n      <div class=\"eco-tool__card\">\n        <div class=\"eco-tool__metric-label\">Recommendation<\/div>\n        <div class=\"eco-tool__metric-sub\" id=\"tip-q61v3\"><\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n\n  <details class=\"eco-tool__details\">\n    <summary class=\"eco-tool__summary\">How we calculate<\/summary>\n    <div class=\"eco-tool__details-body\">\n      <p class=\"eco-tool__text\">\n        This is a simplified educational estimate using rainfall, elevation, drainage, surface type, and location exposure.\n      <\/p>\n    <\/div>\n  <\/details>\n<\/div>\n\n<style>\n.eco-tool{border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:16px;}\n.eco-tool__header{margin-bottom:12px;}\n.eco-tool__title{margin:0 0 8px;}\n.eco-tool__lead{margin:0;opacity:.9;}\n.eco-tool__form{margin-top:12px;}\n.eco-tool__grid3{display:grid;grid-template-columns:1fr;gap:16px;}\n@media (min-width:860px){.eco-tool__grid3{grid-template-columns:1fr 1fr 1fr;}}\n.eco-tool__field{display:flex;flex-direction:column;gap:6px;}\n.eco-tool__label{font-weight:600;}\n.eco-tool__input{width:100%;height:44px;padding:0 12px;border:1px solid rgba(0,0,0,.20);border-radius:10px;background:#fff;box-sizing:border-box;font:inherit;}\n.eco-tool select.eco-tool__input{\nappearance:none;-webkit-appearance:none;line-height:44px;padding-right:40px;\nbackground-image:\nlinear-gradient(45deg, transparent 50%, rgba(0,0,0,.60) 50%),\nlinear-gradient(135deg, rgba(0,0,0,.60) 50%, transparent 50%);\nbackground-position:calc(100% - 18px) 50%, calc(100% - 12px) 50%;\nbackground-size:6px 6px;background-repeat:no-repeat;\n}\n.eco-tool__hint{font-size:.92em;opacity:.78;min-height:38px;}\n.eco-tool__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px;}\n.eco-tool__btn{padding:10px 22px;}\n.eco-tool__btn--ghost{background:transparent !important;border:1px solid rgba(0,0,0,.20) !important;}\n.eco-tool__btn--ghost:hover,.eco-tool__btn--ghost:focus{background:rgba(0,0,0,.06) !important;border-color:rgba(0,0,0,.35) !important;}\n.eco-tool__error{min-height:1.2em;font-weight:600;flex:1 1 240px;}\n.eco-tool__result{margin-top:16px;}\n.eco-tool__subtitle{margin:0 0 10px;}\n.eco-tool__cards{display:grid;gap:10px;grid-template-columns:1fr;}\n@media (min-width:860px){.eco-tool__cards{grid-template-columns:1fr 1fr;}}\n.eco-tool__card{border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:12px;}\n.eco-tool__metric-label{opacity:.85;font-weight:600;}\n.eco-tool__metric-value{font-size:1.6em;font-weight:800;margin-top:6px;line-height:1.1;}\n.eco-tool__metric-sub{opacity:.85;margin-top:6px;}\n.eco-tool__details{margin-top:14px;}\n.eco-tool__summary{cursor:pointer;font-weight:700;}\n.eco-tool__details-body{margin-top:10px;}\n.eco-tool__text{margin:0 0 10px;}\n<\/style>\n\n<script>\n(function(){\n  const S = \"q61v3\";\n  const el = (id) => document.getElementById(id + \"-\" + S);\n\n  function calculate(){\n    const rain = Number(el(\"rain\").value);\n    const elevation = el(\"elevation\").value;\n    const drainage = el(\"drainage\").value;\n    const surface = el(\"surface\").value;\n    const water = el(\"water\").value;\n    const basement = el(\"basement\").value;\n\n    if (!Number.isFinite(rain) || rain < 0) {\n      el(\"error\").textContent = \"Please enter valid rainfall.\";\n      el(\"result\").hidden = true;\n      return;\n    }\n\n    el(\"error\").textContent = \"\";\n\n    let score = 0;\n\n    if (rain >= 80) score += 40;\n    else if (rain >= 50) score += 28;\n    else if (rain >= 20) score += 16;\n    else score += 6;\n\n    if (elevation === \"low\") score += 22;\n    else if (elevation === \"medium\") score += 10;\n\n    if (drainage === \"poor\") score += 20;\n    else if (drainage === \"medium\") score += 10;\n\n    if (surface === \"impermeable\") score += 15;\n    else if (surface === \"mixed\") score += 8;\n\n    if (water === \"yes\") score += 15;\n    if (basement === \"yes\") score += 10;\n\n    score = Math.min(100, Math.round(score));\n\n    let level = \"\";\n    let tip = \"\";\n\n    if (score < 30) {\n      level = \"Low\";\n      tip = \"Flood risk looks relatively low in this simplified estimate.\";\n    } else if (score < 55) {\n      level = \"Moderate\";\n      tip = \"Heavy rain could create localized flooding. Watch drainage and low points.\";\n    } else if (score < 75) {\n      level = \"High\";\n      tip = \"Consider barriers, drainage checks, and moving valuables away from ground level.\";\n    } else {\n      level = \"Very high\";\n      tip = \"Flood exposure may be significant during heavy rain. Prepare drainage and emergency plans.\";\n    }\n\n    el(\"level\").textContent = level;\n    el(\"score\").textContent = `Risk score: ${score}\/100`;\n    el(\"tip\").textContent = tip;\n    el(\"result\").hidden = false;\n  }\n\n  function reset(){\n    el(\"rain\").value = \"40\";\n    el(\"elevation\").value = \"medium\";\n    el(\"drainage\").value = \"medium\";\n    el(\"surface\").value = \"mixed\";\n    el(\"water\").value = \"no\";\n    el(\"basement\").value = \"yes\";\n    el(\"error\").textContent = \"\";\n    el(\"result\").hidden = true;\n  }\n\n  el(\"calc\").addEventListener(\"click\", calculate);\n  el(\"reset\").addEventListener(\"click\", reset);\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Flood Risk Calculator Estimate a simple flood risk level based on rainfall, elevation, drainage, and surface type. Heavy rain (mm\/day) Estimated strong rainfall in one day. Elevation High groundModerateLow-lying area&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":2666,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"_links":{"self":[{"href":"https:\/\/bio-me.bio\/index.php?rest_route=\/wp\/v2\/pages\/2932"}],"collection":[{"href":"https:\/\/bio-me.bio\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bio-me.bio\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bio-me.bio\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bio-me.bio\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2932"}],"version-history":[{"count":2,"href":"https:\/\/bio-me.bio\/index.php?rest_route=\/wp\/v2\/pages\/2932\/revisions"}],"predecessor-version":[{"id":2934,"href":"https:\/\/bio-me.bio\/index.php?rest_route=\/wp\/v2\/pages\/2932\/revisions\/2934"}],"up":[{"embeddable":true,"href":"https:\/\/bio-me.bio\/index.php?rest_route=\/wp\/v2\/pages\/2666"}],"wp:attachment":[{"href":"https:\/\/bio-me.bio\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}