mirror of
https://github.com/soapingtime/diyhrt.git
synced 2026-03-23 07:36:38 +00:00
1 line
No EOL
28 KiB
HTML
1 line
No EOL
28 KiB
HTML
<!doctype html><html lang="en-US" data-no-contents-sidebar><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"><title>Hormone Concentration Unit Conversion - Transfeminine Science</title><link rel="preload" href="../../assets/images/branding/logo.png" as="image" /><link rel="preload" href="../../assets/images/branding/logo-dark.png" as="image" /><link rel="stylesheet" href="../../assets/css/vendor/normalize.css"><link rel="stylesheet" href="../../assets/css/variables.css"><link rel="stylesheet" href="../../assets/css/site-layout.css"><link rel="stylesheet" href="../../assets/css/article-content.css"><link rel="stylesheet" href="../../assets/css/print.css"><meta name="robots" content="noarchive"><link rel="apple-touch-icon" sizes="180x180" href="../../apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="../../favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="../../favicon-16x16.png"><link rel="icon" href="../../favicon.ico"><link rel="manifest" href="../../site.webmanifest"><meta name="msapplication-TileColor" content="#ece5ff"><meta name="theme-color" content="#ffffff"><link type="application/atom+xml" rel="alternate" href="../../feed-posts.xml" title="Transfeminine Science" /><link rel="alternate" type="application/atom+xml" title="Hormone Concentration Unit Conversion - Transfeminine Science" href="../../feed.xml"><link rel="canonical" href="index.html" /><meta property="og:title" content="Hormone Concentration Unit Conversion" /><meta property="og:image" content="https://transfemscience.org/assets/images/branding/logo-alt.png" /><meta name="twitter:image" content="https://transfemscience.org/assets/images/branding/logo-alt.png" /><meta property="og:url" content="https://transfemscience.org/misc/hormone-conc-unit-conv/" /><meta property="og:locale" content="en_US" /><meta property="og:site_name" content="Transfeminine Science" /><meta property="og:type" content="article" /><meta name="twitter:card" content="summary" /><meta name="publisher" content="Transfeminine Science"><meta name="description" content="A page for converting between different concentration units of hormones in blood." /><meta property="og:description" content="A page for converting between different concentration units of hormones in blood." /> <script type="application/ld+json"> { "@context": "https://schema.org", "name": "Hormone Concentration Unit Conversion", "mainEntityOfPage": "https://transfemscience.org/misc/hormone-conc-unit-conv/", "headline": "Hormone Concentration Unit Conversion", "url": "https://transfemscience.org/misc/hormone-conc-unit-conv/", "isAccessibleForFree": "True", "description": "A page for converting between different concentration units of hormones in blood.", "@type": "WebPage", "publisher": { "@type": "Organization", "name": "Transfeminine Science", "url": "https://transfemscience.org", "email": "info@transfemscience.org", "logo": "https://transfemscience.org/assets/images/branding/logo.png" } } </script><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://transfemscience.org/" }, { "@type": "ListItem", "position": 2, "name": "Hormone Concentration Unit Conversion" } ] } </script> <script src="../../assets/js/script.js"></script></head><body> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <symbol id="svg-link" viewBox="0 0 24 24"><title>Link</title><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> </symbol> </svg><div id="header"><div id="header-subcontainer"> <a href="../../index.html" id="site-icon-and-title-container"> <span id="site-icon"> </span> <span id="site-title" translate="no" class="notranslate"> <span id="site-title-text-xs">TFS</span> <span id="site-title-text-sm">TFSci</span> <span id="site-title-text-md">Transfem Sci</span> <span id="site-title-text-lg">Transfeminine Science</span> </span> </a> <span id="top-links"> <a href="../../articles/index.html" class="top-link">Articles</a> <a href="../../articles-by-date/index.html" class="top-link">Latest</a> <a href="../index.html" class="top-link">Misc</a> <a href="../../about/index.html" class="top-link">About</a> </span> <span id="top-buttons"> <button id="theme-button" class="top-button" title="Theme (light/dark)"> <svg id="theme-button-light-svg" class="top-button-svg" width="20" height="20" viewBox="0 0 32 32"><path d="M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6z"></path><path d="M5.394 6.813l1.414-1.415l3.506 3.506L8.9 10.318z"></path><path d="M2 15.005h5v2H2z"></path><path d="M5.394 25.197L8.9 21.691l1.414 1.415l-3.506 3.505z"></path><path d="M15 25.005h2v5h-2z"></path><path d="M21.687 23.106l1.414-1.415l3.506 3.506l-1.414 1.414z"></path><path d="M25 15.005h5v2h-5z"></path><path d="M21.687 8.904l3.506-3.506l1.414 1.415l-3.506 3.505z"></path><path d="M15 2.005h2v5h-2z"></path></svg> <svg id="theme-button-dark-svg" class="top-button-svg" width="20" height="20" viewBox="0 0 32 32"><path d="M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z"></path></svg> </button> <button id="language-button" class="top-button" title="Translate"> <svg class="top-button-svg" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path d="M12.65 15.67c.14-.36.05-.77-.23-1.05l-2.09-2.06.03-.03c1.74-1.94 2.98-4.17 3.71-6.53h1.94c.54.0.99-.45.99-.99v-.02c0-.54-.45-.99-.99-.99H10V3c0-.55-.45-1-1-1s-1 .45-1 1v1H1.99c-.54.0-.99.45-.99.99.0.55.45.99.99.99h10.18C11.5 7.92 10.44 9.75 9 11.35c-.81-.89-1.49-1.86-2.06-2.88-.16-.29-.45-.47-.78-.47-.69.0-1.13.75-.79 1.35.63 1.13 1.4 2.21 2.3 3.21L3.3 16.87c-.4.39-.4 1.03.0 1.42.39.39 1.02.39 1.42.0L9 14l2.02 2.02c.51.51 1.38.32 1.63-.35zM17.5 10c-.6.0-1.14.37-1.35.94l-3.67 9.8c-.24.61.22 1.26.87 1.26.39.0.74-.24.88-.61l.89-2.39h4.75l.9 2.39c.14.36.49.61.88.61.65.0 1.11-.65.88-1.26l-3.67-9.8c-.22-.57-.76-.94-1.36-.94zm-1.62 7 1.62-4.33L19.12 17h-3.24z"></path></svg> </button> <button id="search-button" class="top-button" title="Search"> <svg version="1.1" class="top-button-svg" width="24" height="24" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M19.4271164,21.4271164 C18.0372495,22.4174803 16.3366522,23 14.5,23 C9.80557939,23 6,19.1944206 6,14.5 C6,9.80557939 9.80557939,6 14.5,6 C19.1944206,6 23,9.80557939 23,14.5 C23,16.3366522 22.4174803,18.0372495 21.4271164,19.4271164 L27.0119176,25.0119176 C27.5621186,25.5621186 27.5575313,26.4424687 27.0117185,26.9882815 L26.9882815,27.0117185 C26.4438648,27.5561352 25.5576204,27.5576204 25.0119176,27.0119176 L19.4271164,21.4271164 L19.4271164,21.4271164 Z M14.5,21 C18.0898511,21 21,18.0898511 21,14.5 C21,10.9101489 18.0898511,8 14.5,8 C10.9101489,8 8,10.9101489 8,14.5 C8,18.0898511 10.9101489,21 14.5,21 L14.5,21 Z"></path></g></svg> </button> <button id="toc-button-mobile" class="top-button" title="Article contents (Ctrl+Shift+L)"> <svg class="top-button-svg" xmlns="http://www.w3.org/2000/svg" version="1.0" width="16" height="16" viewBox="0 0 16 16"><g transform="translate(0,16) scale(0.002536,-0.002540)"><path d="M550 6274 c-81 -17 -207 -79 -282 -139 -110 -87 -202 -230 -238 -371 -20 -76 -20 -122 -20 -2618 0 -2810 -5 -2597 65 -2741 87 -180 227 -304 420 -372 l80 -28 2551 -3 2551 -2 98 25 c253 64 441 251 506 503 19 73 19 137 19 2617 0 2478 0 2544 -19 2617 -51 198 -181 361 -361 451 -53 26 -126 54 -165 62 -103 21 -5105 21 -5205 -1z m5055 -3129 l0 -2440 -2447 -3 -2448 -2 0 2445 0 2445 2448 -2 2447 -3 0 -2440z" /><path d="M1410 4893 c0 -2 0 -158 0 -348 l-1 -346 346 0 346 0 0 346 0 346 -346 2 c-190 1 -345 1 -345 0z" /><path d="M2460 4893 c0 -2 0 -158 0 -348 l-1 -345 1221 0 1221 0 0 345 0 345 -1221 3 c-671 1 -1220 1 -1220 0z" /><path d="M1407 3493 c-1 -1 -1 -157 1 -347 l3 -346 344 0 345 0 0 340 c0 187 0 342 0 345 0 5 -689 13 -693 8z" /><path d="M2457 3493 c-1 -1 -1 -157 1 -347 l3 -346 1219 0 1220 0 0 340 c0 187 -1 342 -2 345 -3 4 -2437 13 -2441 8z" /><path d="M1409 2096 c-2 -2 -3 -160 -1 -350 l3 -346 344 0 344 0 3 346 c2 190 1 348 -1 350 -6 5 -686 5 -692 0z" /><path d="M2459 2096 c-2 -2 -3 -160 -1 -350 l3 -346 1219 0 1219 0 3 346 c2 190 1 348 -1 350 -6 5 -2436 5 -2442 0z" /></g></svg> </button> <button id="menu-button-mobile-menu" class="top-button" title="Menu"> <svg class="top-button-svg" xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M 3,12 L 21,12" /><path d="M 3,6 L 21,6" /><path d="M 3,18 L 21,18" /></svg> </button> <button id="hide-persistent-header-button" class="top-button" title="Hide top bar (Ctrl+Shift+H)"> <svg id="hide-persistent-header-button-svg" version="1.1" x="0px" y="0px" width="20px" height="20px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve" fill="#5F6368"><path d="M8.59,16.59L13.17,12L8.59,7.41L10,6l6,6l-6,6L8.59,16.59z"></path><path fill="none" d="M0,0h24v24H0V0z"></path></svg> </button> </span></div><div id="mobile-menu"> <span id="top-links-mobile"> <a href="../../articles/index.html" class="top-link">Articles</a> <a href="../../articles-by-date/index.html" class="top-link">Latest</a> <a href="../index.html" class="top-link">Misc</a> <a href="../../about/index.html" class="top-link">About</a> </span></div></div><button id="restore-persistent-header-button" class="top-button" title="Show top bar (Ctrl+Shift+H)"> <svg id="restore-persistent-header-button-svg" version="1.1" x="0px" y="0px" width="20px" height="20px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve" fill="#5F6368"><path d="M8.59,16.59L13.17,12L8.59,7.41L10,6l6,6l-6,6L8.59,16.59z"></path><path fill="none" d="M0,0h24v24H0V0z"></path></svg> </button> <button id="sidebar-button-standalone" class="sidebar-button" title="Article contents (Ctrl+Shift+L)"> <span id="sidebar-button-standalone-icon" class="sidebar-button-icon"> <svg id="sidebar-button-standalone-icon-svg" class="sidebar-button-icon-svg" xmlns="http://www.w3.org/2000/svg" version="1.0" width="16" height="16" viewBox="0 0 16 16"><g transform="translate(0,16) scale(0.002536,-0.002540)"><path d="M550 6274 c-81 -17 -207 -79 -282 -139 -110 -87 -202 -230 -238 -371 -20 -76 -20 -122 -20 -2618 0 -2810 -5 -2597 65 -2741 87 -180 227 -304 420 -372 l80 -28 2551 -3 2551 -2 98 25 c253 64 441 251 506 503 19 73 19 137 19 2617 0 2478 0 2544 -19 2617 -51 198 -181 361 -361 451 -53 26 -126 54 -165 62 -103 21 -5105 21 -5205 -1z m5055 -3129 l0 -2440 -2447 -3 -2448 -2 0 2445 0 2445 2448 -2 2447 -3 0 -2440z" /><path d="M1410 4893 c0 -2 0 -158 0 -348 l-1 -346 346 0 346 0 0 346 0 346 -346 2 c-190 1 -345 1 -345 0z" /><path d="M2460 4893 c0 -2 0 -158 0 -348 l-1 -345 1221 0 1221 0 0 345 0 345 -1221 3 c-671 1 -1220 1 -1220 0z" /><path d="M1407 3493 c-1 -1 -1 -157 1 -347 l3 -346 344 0 345 0 0 340 c0 187 0 342 0 345 0 5 -689 13 -693 8z" /><path d="M2457 3493 c-1 -1 -1 -157 1 -347 l3 -346 1219 0 1220 0 0 340 c0 187 -1 342 -2 345 -3 4 -2437 13 -2441 8z" /><path d="M1409 2096 c-2 -2 -3 -160 -1 -350 l3 -346 344 0 344 0 3 346 c2 190 1 348 -1 350 -6 5 -686 5 -692 0z" /><path d="M2459 2096 c-2 -2 -3 -160 -1 -350 l3 -346 1219 0 1219 0 3 346 c2 190 1 348 -1 350 -6 5 -2436 5 -2442 0z" /></g></svg> </span> </button><div id="mid-section"><div id="sidebar"><div id="sidebar-subcontainer"><div id="sidebar-title-container"> <button id="sidebar-button" class="sidebar-button" title="Article contents (Ctrl+Shift+L)"> <span class="sidebar-button-icon"> <svg class="sidebar-button-icon-svg" xmlns="http://www.w3.org/2000/svg" version="1.0" width="16" height="16" viewBox="0 0 16 16"><g transform="translate(0,16) scale(0.002536,-0.002540)"><path d="M550 6274 c-81 -17 -207 -79 -282 -139 -110 -87 -202 -230 -238 -371 -20 -76 -20 -122 -20 -2618 0 -2810 -5 -2597 65 -2741 87 -180 227 -304 420 -372 l80 -28 2551 -3 2551 -2 98 25 c253 64 441 251 506 503 19 73 19 137 19 2617 0 2478 0 2544 -19 2617 -51 198 -181 361 -361 451 -53 26 -126 54 -165 62 -103 21 -5105 21 -5205 -1z m5055 -3129 l0 -2440 -2447 -3 -2448 -2 0 2445 0 2445 2448 -2 2447 -3 0 -2440z" /><path d="M1410 4893 c0 -2 0 -158 0 -348 l-1 -346 346 0 346 0 0 346 0 346 -346 2 c-190 1 -345 1 -345 0z" /><path d="M2460 4893 c0 -2 0 -158 0 -348 l-1 -345 1221 0 1221 0 0 345 0 345 -1221 3 c-671 1 -1220 1 -1220 0z" /><path d="M1407 3493 c-1 -1 -1 -157 1 -347 l3 -346 344 0 345 0 0 340 c0 187 0 342 0 345 0 5 -689 13 -693 8z" /><path d="M2457 3493 c-1 -1 -1 -157 1 -347 l3 -346 1219 0 1220 0 0 340 c0 187 -1 342 -2 345 -3 4 -2437 13 -2441 8z" /><path d="M1409 2096 c-2 -2 -3 -160 -1 -350 l3 -346 344 0 344 0 3 346 c2 190 1 348 -1 350 -6 5 -686 5 -692 0z" /><path d="M2459 2096 c-2 -2 -3 -160 -1 -350 l3 -346 1219 0 1219 0 3 346 c2 190 1 348 -1 350 -6 5 -2436 5 -2442 0z" /></g></svg> </span> </button> <span id="sidebar-title">Contents</span></div><div id="sidebar-contents"><div class="toc-h1"><a id="heading-0" href="index.html#top" class="toc-link">Top of page</a></div></div></div></div><div id="main-area"><div id="article"><style type="text/css"> #unit-conv h1, #unit-conv h2 { text-align: center; } #unit-conv { margin-top: 20px !important; padding-top: 20px !important; padding-bottom: 0px !important; padding-left: 20px !important; padding-right: 20px !important; box-shadow: 0 .15rem 1.25rem 0 rgba(58, 59, 69, 0.15); } #unit-conv { background-color: var(--background-lighter-color); border: var(--layout-border-style); } #unit-conv div { margin-bottom: 15px; } #unit-conv input, #unit-conv select, #unit-conv textarea { border-radius: 3px; padding: 3px; } #unit-conv input, #unit-conv textarea, #unit-conv select, #unit-conv option { font-size: 14px; } #mode-label { display: inline-block; width: 125px; } #hormone-label { display: inline-block; width: 125px; } #hormone { padding: 2px; width: 355px; } #from-concentration-label { display: inline-block; width: 125px; } #to-concentration-label { display: inline-block; width: 125px; } #from-concentration { width: 200px; } #to-concentration { width: 200px; } #from-units { width: 150px; padding: 1px; } #to-units { width: 150px; padding: 1px; } #decimal-places { padding: 1px; display: block; margin-left: auto; margin-right: auto; margin-top: 8px; } .row { /*display: flex;*/ } .column { flex: 50%; } @media screen and (max-width: 600px) { .column { width: 100%; } } #from-concentration-batch { width: 200px; height: 200px; margin-bottom: 5px; resize: none; } #to-concentration-batch { width: 200px; height: 200px; margin-bottom: 5px; resize: none; } @media screen and (max-width: 600px) { #hormone { width: auto; } #mode-label, #hormone-label, #from-concentration-label, #to-concentration-label { width: auto; } #batch-label { display: none; } #from-concentration, #to-concentration { width: 75px; } #from-units, #to-units { width: 120px; } #from-concentration-batch, #to-concentration-batch { width: 150px; } } .equals-sign { font-size: 32px; text-align: center; margin-top: -10px; margin-bottom: 5px !important; }</style><script language="JavaScript"> var mode = 'single'; /* https://stackoverflow.com/questions/2221167/javascript-formatting-a-rounded-number-to-n-decimals */ function round_number(number, decimals) { return Math.round(number * Math.pow(10, decimals)) / Math.pow(10, decimals); } function mode_click() { var mode_single = document.getElementById('mode-single').checked; /* Mode -> single value selected */ if (mode_single == true) { document.getElementById('single-container').style.display = 'block'; document.getElementById('batch-container').style.display = 'none'; document.getElementById('from-concentration').focus(); mode = 'single'; /* Mode -> multiple values (batch) selected */ } else { document.getElementById('single-container').style.display = 'none'; document.getElementById('batch-container').style.display = 'flex'; document.getElementById('from-concentration-batch').focus(); mode = 'batch'; } return; } function parse_batch() { var batch_preparse = document.getElementById("from-concentration-batch").value; batch_preparse = batch_preparse.replace(/[\r\n]/g, '\n'); var lines = batch_preparse.split('\n'); var conc_values = []; for (var i = 0; i < lines.length; i++) { var value = lines[i]; conc_values.push(value); } return conc_values; } function conversion() { var hormone = document.getElementById('hormone').value; if (mode == 'single') { var from_conc_units = document.getElementById('from-units').value; var to_conc_units = document.getElementById('to-units').value; var conc_data = document.getElementById('from-concentration').value; var decimal_places = document.getElementById('decimal-places').value; var new_conc_data = convert_one_unit(hormone, conc_data, from_conc_units, to_conc_units, decimal_places); document.getElementById('to-concentration').value = new_conc_data; } else if (mode == 'batch') { var from_conc_units = document.getElementById('from-units-batch').value; var to_conc_units = document.getElementById('to-units-batch').value; var conc_data = document.getElementById('from-concentration-batch').value; var decimal_places = document.getElementById('decimal-places-batch').value; conc_data = parse_batch(conc_data); var new_conc_data = []; for (var i = 0; i < conc_data.length; i++) { var value = conc_data[i]; value = convert_one_unit(hormone, value, from_conc_units, to_conc_units, decimal_places); new_conc_data.push(value); } new_conc_data = new_conc_data.join('\r\n'); document.getElementById('to-concentration-batch').value = new_conc_data; } return; } function convert_one_unit(hormone, conc_value, from_conc_units, to_conc_units, decimal_places) { conc_value = Number(conc_value.trim()); decimal_places = parseInt(decimal_places.trim()); if (!conc_value) { return ''; } else if (!hormone || !from_conc_units || !to_conc_units) { return ''; } var [m, vol] = from_conc_units.split('/'); var [to_m, to_vol] = to_conc_units.split('/'); var m_conv_table = { 'fmol': 1e-15, 'fg': 1e-15, 'pmol': 1e-12, 'pg': 1e-12, 'nmol': 1e-9, 'ng': 1e-9, 'μmol': 1e-6, 'μg': 1e-6, 'mmol': 1e-3, 'mg': 1e-3, 'cmol': 1e-2, 'cg': 1e-2, 'dmol': 1e-1, 'dg': 1e-1, 'mol': 1e0, 'g': 1e0, }; var l_conv_table = { 'fL': 1e-15, 'pL': 1e-12, 'nL': 1e-9, 'μL': 1e-6, 'mL': 1e-3, 'cL': 1e-2, 'dL': 1e-1, 'L': 1e0, }; /* g·mol−1 */ var mol_mass = { 'E2': 272.388, 'E1': 270.366, 'E': 271.407, /* https://www.esoterix.com/sites/default/files/L5167-0320-17.pdf */ 'E3': 288.387, 'E4': 304.386, 'E1S': 350.429, 'T': 288.431, 'DHT': 290.447, '3AG': 468.587, 'A4': 286.415, 'DHEA': 288.424, 'DHEA-S': 368.488, 'P4': 314.469, '17α-OHP': 330.468, 'LH': NaN, 'FSH': NaN, 'PRL': NaN, 'SHBG': 93400, /* Molecular weight = 93.4 kDa = 43778.755 Da × 2 (homodimeric) + glycosylation */ }; /* To-do: Hide incompatible conversion options for LH, FSH, PRL (?) */ /* Convert to mol/L (if not already) */ var conv_val = conc_value * m_conv_table[m] / l_conv_table[vol]; if (m.includes('g')) { conv_val = conv_val / mol_mass[hormone]; /* Mass conc to molar conc if necessary */ } /* Convert to specified concentration units */ var new_conc_val = conv_val / m_conv_table[to_m] * l_conv_table[to_vol]; if (to_m.includes('g')) { new_conc_val = new_conc_val * mol_mass[hormone]; /* Molar conc to mass conc if necessary */ } if (decimal_places || decimal_places === 0) { new_conc_val = round_number(new_conc_val, decimal_places); } return new_conc_val; } </script><div id="unit-conv" style="margin: auto;"><h1> Hormone Concentration Unit Conversion</h1><div style="max-width: 500px; margin: auto;"><div id="mode-container"> <span id="mode-label">Mode: </span> <label for="mode-single"> <input type="radio" id="mode-single" name="mode-type" value="single" onclick="mode_click();" checked="" /> <span>Single value</span> </label> <span> </span> <label for="mode-batch"> <input type="radio" id="mode-batch" name="mode-type" value="batch" onclick="mode_click();" /> <span>Multiple values</span><span id="batch-label"> (batch)</span> </label></div><hr style="margin-top: 15px; margin-bottom: 20px;" /><div> <span id="hormone-label">Hormone: </span> <select id="hormone" onchange="conversion();"> <option value="E2">Estradiol (E2)</option> <option value="E1">Estrone (E1)</option> <option value="E">Estrogens (E)</option> <option value="E3">Estriol (E3)</option> <option value="E4">Estetrol (E4)</option> <option value="E1S">Estrone sulfate (E1S)</option> <option value="T">Testosterone (T)</option> <option value="DHT">Dihydrotestosterone (DHT)</option> <option value="3AG">Androstanediol glucuronide (3AG)</option> <option value="A4">Androstenedione (A4)</option> <option value="DHEA">Dehydroepiandrosterone (DHEA)</option> <option value="DHEA-S">Dehydroepiandrosterone sulfate (DHEA-S)</option> <option value="P4">Progesterone (P4)</option> <option value="17α-OHP">17α-Hydroxyprogesterone (17α-OHP)</option> <option value="SHBG">Sex hormone-binding globulin (SHBG)</option> </select></div><div id="single-container" style="margin-top: 16px; padding-bottom: 30px;"><div id="from-concentration-container"> <span id="from-concentration-label">Concentration: </span> <input id="from-concentration" type="text" onchange="conversion();" autofocus="" spellcheck="false" autocomplete="off" /> <select id="from-units" onchange="conversion();"> <optgroup label="Molar concentration"> <option value="mol/L">mol/L (1e0)</option> <option value="mmol/L">mmol/L (1e-3)</option> <option value="μmol/L">μmol/L (1e-6)</option> <option value="nmol/L">nmol/L (1e-9)</option> <option value="pmol/L">pmol/L (1e-12)</option> </optgroup> <optgroup label="Mass concentration"> <option value="g/L">g/L (1e0)</option> <option value="mg/mL">mg/mL (1e0)</option> <option value="mg/dL">mg/dL (1e-2)</option> <option value="mg/L">mg/L (1e-3)</option> <option value="μg/mL">μg/mL (1e-3)</option> <option value="μg/dL">μg/dL (1e-5)</option> <option value="μg/L">μg/L (1e-6)</option> <option value="ng/mL">ng/mL (1e-6)</option> <option value="ng/dL">ng/dL (1e-8)</option> <option value="ng/L">ng/L (1e-9)</option> <option value="pg/mL" selected="">pg/mL (1e-9)</option> <option value="pg/dL">pg/dL (1e-11)</option> <option value="pg/L">pg/L (1e-12)</option> </optgroup> </select></div><div class="equals-sign"> = </div><div style="margin-bottom: 8px;"> <span id="to-concentration-label">Converted: </span> <input id="to-concentration" type="text" readonly="" spellcheck="false" autocomplete="off" /><div style="display: inline-block; vertical-align: top; margin-left: 4.5px;"> <select id="to-units" onchange="conversion();"> <optgroup label="Molar concentration"> <option value="mol/L">mol/L (1e0)</option> <option value="mmol/L">mmol/L (1e-3)</option> <option value="μmol/L">μmol/L (1e-6)</option> <option value="nmol/L">nmol/L (1e-9)</option> <option value="pmol/L" selected="">pmol/L (1e-12)</option> </optgroup> <optgroup label="Mass concentration"> <option value="g/L">g/L (1e0)</option> <option value="mg/mL">mg/mL (1e0)</option> <option value="mg/dL">mg/dL (1e-2)</option> <option value="mg/L">mg/L (1e-3)</option> <option value="μg/mL">μg/mL (1e-3)</option> <option value="μg/dL">μg/dL (1e-5)</option> <option value="μg/L">μg/L (1e-6)</option> <option value="ng/mL">ng/mL (1e-6)</option> <option value="ng/dL">ng/dL (1e-8)</option> <option value="ng/L">ng/L (1e-9)</option> <option value="pg/mL">pg/mL (1e-9)</option> <option value="pg/dL">pg/dL (1e-11)</option> <option value="pg/L">pg/L (1e-12)</option> </optgroup> </select> <select id="decimal-places" onchange="conversion();"> <option value="0">0 decimal places</option> <option value="1">1 decimal place</option> <option value="2" selected="">2 decimal places</option> <option value="3">3 decimal places</option> <option value="4">4 decimal places</option> <option value="5">5 decimal places</option> <option value="6">6 decimal places</option> <option value="7">7 decimal places</option> <option value="8">8 decimal places</option> <option value="9">9 decimal places</option> <option value="10">10 decimal places</option> <option value="11">11 decimal places</option> <option value="12">12 decimal places</option> </select></div></div></div><div id="batch-container" class="row" style="display: none; padding-bottom: 25px;"><div class="column"> <label for="from-concentration-batch" style="display: block; text-align: center;">Concentrations:</label> <textarea id="from-concentration-batch" type="text" onchange="conversion();" autofocus="" spellcheck="false" autocomplete="off"></textarea> <select id="from-units-batch" onchange="conversion();" style="width: 150px; padding: 1px; display: block; margin: auto; margin-top: 5px;"> <optgroup label="Molar concentration"> <option value="mol/L">mol/L (1e0)</option> <option value="mmol/L">mmol/L (1e-3)</option> <option value="μmol/L">μmol/L (1e-6)</option> <option value="nmol/L">nmol/L (1e-9)</option> <option value="pmol/L">pmol/L (1e-12)</option> </optgroup> <optgroup label="Mass concentration"> <option value="g/L">g/L (1e0)</option> <option value="mg/mL">mg/mL (1e0)</option> <option value="mg/dL">mg/dL (1e-2)</option> <option value="mg/L">mg/L (1e-3)</option> <option value="μg/mL">μg/mL (1e-3)</option> <option value="μg/dL">μg/dL (1e-5)</option> <option value="μg/L">μg/L (1e-6)</option> <option value="ng/mL">ng/mL (1e-6)</option> <option value="ng/dL">ng/dL (1e-8)</option> <option value="ng/L">ng/L (1e-9)</option> <option value="pg/mL" selected="">pg/mL (1e-9)</option> <option value="pg/dL">pg/dL (1e-11)</option> <option value="pg/L">pg/L (1e-12)</option> </optgroup> </select></div><div class="column equals-sign" style="line-height: 263px;">=</div><div class="column"> <label for="to-concentration-batch" style="display: block; text-align: center;">Converted:</label> <textarea id="to-concentration-batch" type="text" readonly="" spellcheck="false" autocomplete="off"></textarea> <select id="to-units-batch" onchange="conversion();" style="width: 150px; padding: 1px; display: block; margin: auto; margin-top: 5px;"> <optgroup label="Molar concentration"> <option value="mol/L">mol/L (1e0)</option> <option value="mmol/L">mmol/L (1e-3)</option> <option value="μmol/L">μmol/L (1e-6)</option> <option value="nmol/L">nmol/L (1e-9)</option> <option value="pmol/L" selected="">pmol/L (1e-12)</option> </optgroup> <optgroup label="Mass concentration"> <option value="g/L">g/L (1e0)</option> <option value="mg/mL">mg/mL (1e0)</option> <option value="mg/dL">mg/dL (1e-2)</option> <option value="mg/L">mg/L (1e-3)</option> <option value="μg/mL">μg/mL (1e-3)</option> <option value="μg/dL">μg/dL (1e-5)</option> <option value="μg/L">μg/L (1e-6)</option> <option value="ng/mL">ng/mL (1e-6)</option> <option value="ng/dL">ng/dL (1e-8)</option> <option value="ng/L">ng/L (1e-9)</option> <option value="pg/mL">pg/mL (1e-9)</option> <option value="pg/dL">pg/dL (1e-11)</option> <option value="pg/L">pg/L (1e-12)</option> </optgroup> </select> <select id="decimal-places-batch" onchange="conversion();" style="padding: 1px; display: block; margin: auto; margin-top: 10px;"> <option value="0">0 decimal places</option> <option value="1">1 decimal place</option> <option value="2" selected="">2 decimal places</option> <option value="3">3 decimal places</option> <option value="4">4 decimal places</option> <option value="5">5 decimal places</option> <option value="6">6 decimal places</option> <option value="7">7 decimal places</option> <option value="8">8 decimal places</option> <option value="9">9 decimal places</option> <option value="10">10 decimal places</option> <option value="11">11 decimal places</option> <option value="12">12 decimal places</option> </select></div></div></div></div></div></div><div id="footer"> <span id="footer-subcontainer"> <span id="site-copyright">© 2023 <span translate="no" class="notranslate">Transfeminine Science</span></span> </span></div></div></body></html> |