{"id":142,"date":"2025-09-14T09:42:19","date_gmt":"2025-09-14T13:42:19","guid":{"rendered":"https:\/\/www.vmrfit.com\/?page_id=142"},"modified":"2025-09-14T09:42:19","modified_gmt":"2025-09-14T13:42:19","slug":"free-bioavailable-testosterone-calculator","status":"publish","type":"page","link":"https:\/\/www.vmrfit.com\/index.php\/free-bioavailable-testosterone-calculator\/","title":{"rendered":"Free &amp; Bioavailable Testosterone Calculator"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>Free &#038; Bioavailable Testosterone Calculator<\/title>\n  <style>\n    :root {\n      --primary: #3b82f6;\n      --bg: #f9fafb;\n      --card: #ffffff;\n      --text: #111827;\n      --muted: #6b7280;\n      --accent: #10b981;\n    }\n\n    body {\n      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n      background-color: var(--bg);\n      margin: 0;\n      padding: 2rem;\n      color: var(--text);\n    }\n\n    .container {\n      max-width: 600px;\n      margin: auto;\n      background-color: var(--card);\n      padding: 2rem;\n      border-radius: 1rem;\n      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);\n    }\n\n    h1 {\n      text-align: center;\n      color: var(--primary);\n      margin-bottom: 1.5rem;\n    }\n\n    label {\n      display: block;\n      font-weight: 600;\n      margin-top: 1rem;\n    }\n\n    input, select {\n      width: 100%;\n      padding: 0.5rem;\n      margin-top: 0.5rem;\n      font-size: 1rem;\n      border: 1px solid #d1d5db;\n      border-radius: 0.5rem;\n    }\n\n    button {\n      margin-top: 1.5rem;\n      width: 100%;\n      padding: 0.75rem;\n      font-size: 1rem;\n      font-weight: 600;\n      border: none;\n      border-radius: 0.5rem;\n      background-color: var(--primary);\n      color: white;\n      cursor: pointer;\n      transition: background-color 0.2s ease;\n    }\n\n    button:hover {\n      background-color: #2563eb;\n    }\n\n    .results {\n      margin-top: 2rem;\n      background: var(--bg);\n      padding: 1rem;\n      border-radius: 0.75rem;\n      border: 1px solid #e5e7eb;\n    }\n\n    .note {\n      margin-top: 1rem;\n      font-size: 0.875rem;\n      color: var(--muted);\n    }\n  <\/style>\n<\/head>\n<body>\n\n  <div class=\"container\">\n\n    <label>Albumin:\n      <input type=\"number\" id=\"album\" step=\"any\" value=\"4.3\" \/>\n    <\/label>\n    <label>Albumin Unit:\n      <select id=\"albeenheid\">\n        <option value=\"g\/dL\">g\/dL<\/option>\n        <option value=\"g\/L\">g\/L<\/option>\n      <\/select>\n    <\/label>\n\n    <label>SHBG (nmol\/L):\n      <input type=\"number\" id=\"shbg\" step=\"any\" \/>\n    <\/label>\n\n    <label>Total Testosterone:\n      <input type=\"number\" id=\"testo\" step=\"any\" \/>\n    <\/label>\n    <label>Testosterone Unit:\n      <select id=\"testoeenheid\">\n        <option value=\"ng\/dL\">ng\/dL<\/option>\n        <option value=\"ng\/mL\">ng\/mL<\/option>\n        <option value=\"nmol\/dL\">nmol\/dL<\/option>\n        <option value=\"nmol\/mL\">nmol\/mL<\/option>\n        <option value=\"nmol\/L\">nmol\/L<\/option>\n      <\/select>\n    <\/label>\n\n    <button onclick=\"bereken()\">Calculate<\/button>\n\n    <div class=\"results\" id=\"results\" style=\"display: none;\">\n      <h2>Results<\/h2>\n      <b><p id=\"free\"><\/p>\n      <p id=\"bio\"><\/p><\/b>\n    <\/div>\n\n    <p class=\"note\">\n\t<b>Disclaimer:<\/b>\n\tOur calculators are designed to provide helpful estimates, but they are not a substitute for professional medical advice, diagnosis, or treatment. Please don\u2019t rely on these results alone when making health decisions. Always consult a qualified healthcare professional if you have concerns about your health. We cannot guarantee complete accuracy or suitability for every situation.\n\t<br><br>\n\t<b>Specific Note on Hormone Calculators:<\/b>\n\tEstimates for free and bioavailable testosterone are usually reliable, but may be inaccurate in certain situations\u2014such as during pregnancy or when treatments significantly raise DHT levels (for example, transdermal DHT, oral testosterone, or mesterolone therapy). In these cases, please consult your doctor before drawing conclusions from the results.\n\t<br><br>\n\t<b>Important Reminder:<\/b>\n\tDo not begin or change any supplements, medications, or therapies without first speaking to a healthcare provider. We are not responsible for any adverse effects, outcomes, or misuse of these tools.\n    <\/p>\n  <\/div>\n\n  <script>\n    function bereken() {\n      let album = parseFloat(document.getElementById('album').value);\n      let shbg = parseFloat(document.getElementById('shbg').value);\n      let testo = parseFloat(document.getElementById('testo').value);\n      let albumeenh = document.getElementById('albeenheid').value;\n      let testoeenh = document.getElementById('testoeenheid').value;\n\n      const resultDiv = document.getElementById('results');\n      const freeEl = document.getElementById('free');\n      const bioEl = document.getElementById('bio');\n\n      if (!album || !shbg || !testo) {\n        resultDiv.style.display = 'block';\n        freeEl.textContent = \"\u2757 Please enter values for Albumin, SHBG, and Testosterone.\";\n        bioEl.textContent = \"\";\n        return;\n      }\n\n      let kt = 1000000000;\n      if (testoeenh==\"ng\/mL\")  {testo = testo * 100}\n      if (testoeenh==\"nmol\/dL\")  {testo = testo * 288.4 }\n      if (testoeenh==\"nmol\/mL\")  {testo = testo * 288.4 * 100}\n      if (testoeenh==\"nmol\/L\")  {testo = testo * 28.84}\n\n      let testo2 = testo \/ 2.8 * 1e-10;\n      shbg = shbg\/10;\n      let shbg2 = shbg * 1e-8;\n      if (albumeenh==\"g\/L\") {album = album\/10}\n\n      let fa = ((36000*album*(1.45 * .0001))+1) * kt;\n      let fa1 = ((36000*album*(1.45 * .0001))+1);\n      let fb = kt*(shbg2-testo2)+fa1;\n      let fc = -testo2;\n      let wortel = Math.sqrt(fb*fb -4 * fa *fc);\n      let ftesto = (-fb + wortel)\/(2*fa);\n      let ftestop = (ftesto * 100)\/testo2;\n      let ftc = (ftestop\/100) * testo;\n      let biot = ftc * fa1;\n      let biot2 = (biot*100)\/testo;\n\n      if (testoeenh==\"ng\/mL\") { ftc=ftc\/100; biot=biot\/100 }\n      if (testoeenh==\"nmol\/dL\") { ftc = ftc * 0.00347; biot = biot * 0.00347 }\n      if (testoeenh==\"nmol\/L\")  { ftc = ftc * 0.0347; biot = biot * 0.0347 }\n      if (testoeenh==\"nmol\/mL\") { ftc = ftc * 0.0000347; biot = biot * 0.0000347 }\n\n      freeEl.textContent = `Free Testosterone: ${roundoff(ftc)} ${testoeenh} = ${roundoff(ftestop)} %`;\n      bioEl.textContent = `Bioavailable Testosterone: ${roundoff(biot)} ${testoeenh} = ${roundoff(biot2)} %`;\n\n      resultDiv.style.display = 'block';\n    }\n\n    function roundoff(value) {\n      let value4= \"\" + Math.round(value);\n      let bonus2=value4.length + 1;\n      let bonus=0;\n      if (value <100) {bonus++}\n      if (value <10) {bonus++}\n      if (value <1) {bonus++}\n      if (value <0.1) {bonus++}\n      if (value <0.01) {bonus++}\n      if (value <0.001) {bonus++}\n      if (value <0.0001) {bonus++}\n      bonus2=bonus2+bonus;\n      let whole= Math.round(value * Math.pow(10, bonus));\n      let whole2= \"\"+ whole * Math.pow(10, -1*bonus);\n      return whole2.substr(0,bonus2);\n    }\n  <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Free &#038; Bioavailable Testosterone Calculator Albumin: Albumin Unit: g\/dLg\/L SHBG (nmol\/L): Total Testosterone: Testosterone Unit: ng\/dLng\/mLnmol\/dLnmol\/mLnmol\/L Calculate Results Disclaimer: Our [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-142","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/pages\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":1,"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/pages\/142\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/pages\/142\/revisions\/143"}],"wp:attachment":[{"href":"https:\/\/www.vmrfit.com\/index.php\/wp-json\/wp\/v2\/media?parent=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}