mmol/L to mg/dL Converter
Laboratory biomarkers such as blood glucose and cholesterol are reported in different units depending on the country and medical system. In the United States, values are typically expressed in mg/dL, while many European and international laboratories use mmol/L. This difference can create confusion when interpreting blood test results.
Our mmol/L to mg/dL converter helps you translate laboratory values accurately and instantly. Whether you are monitoring metabolic health, cardiovascular risk, or longevity biomarkers, understanding both units allows for clearer interpretation and better health decisions.
" +
'
' +
m.name +
'
' +
m.abbr +
"
" +
'
MW ' +
m.mw +
"
" +
"
";
});
el.innerHTML = html;
}
window.bgSelectMol = function (id) {
bgMolId = id;
document.querySelectorAll(".sog-bg .mol-card").forEach(function (c) {
c.classList.remove("active");
});
var el = document.getElementById("bgMol_" + id);
if (el) el.classList.add("active");
bgLiveUpdate();
};
window.bgSetDir = function (d) {
bgDir = d;
document
.getElementById("bgDirA")
.classList.toggle("active", d === "mmol");
document
.getElementById("bgDirB")
.classList.toggle("active", d === "mgdl");
document.getElementById("bgInputLbl").textContent =
"Enter value (" + (d === "mmol" ? "mmol/L" : "mg/dL") + ")";
document.getElementById("bgInputUnit").textContent =
d === "mmol" ? "mmol/L" : "mg/dL";
document.getElementById("bgLiveUnit").textContent =
d === "mmol" ? "mg/dL" : "mmol/L";
bgLiveUpdate();
};
window.bgNav = function (n) {
[1, 2].forEach(function (i) {
var el = document.getElementById("bgS" + i);
if (el) el.classList.toggle("active", i === n);
});
var lbls = [
"Choose Molecule (Step 1 of 3)",
"Direction & Value (Step 2 of 3)",
"Results (Step 3 of 3)",
];
var pcts = ["33%", "66%", "100%"];
document.getElementById("bgPF").style.width = pcts[n - 1];
document.getElementById("bgPL").textContent = lbls[n - 1];
if (n === 2) {
var m = bgGetMol();
document.getElementById("bgBannerIcon").innerHTML = m.icon;
document.getElementById("bgBannerName").textContent =
m.name + " (" + m.abbr + ")";
document.getElementById("bgBannerDetail").textContent =
"MW = " +
m.mw +
" g/mol | Factor = " +
m.factor.toFixed(3) +
" | " +
m.desc;
bgSetDir(bgDir);
document.getElementById("bgInput").value = "";
document.getElementById("bgLiveVal").textContent = "--";
document.getElementById("bgLiveBox").classList.remove("filled");
document.getElementById("bgLiveBadge").className =
"status-badge s-none";
document.getElementById("bgLiveBadge").textContent = "Enter value";
}
var root = document.querySelector(".sog-bg");
if (root) root.scrollIntoView({ behavior: "smooth", block: "nearest" });
};
function bgConvert(raw) {
var m = bgGetMol();
if (bgDir === "mmol")
return { mmol: raw, mgdl: +(raw * m.factor).toFixed(3) };
return { mmol: +(raw / m.factor).toFixed(4), mgdl: raw };
}
function bgLiveUpdate() {
var raw = parseFloat(document.getElementById("bgInput").value);
if (isNaN(raw) || raw Molecule: " +
m.name +
" | MW = " +
m.mw +
" g/mol | Factor = " +
m.mw +
' ÷ 10 =
' +
m.factor.toFixed(3) +
"";
var calcHtml =
bgDir === "mmol"
? "
Your calculation: " +
c.mmol +
" × " +
m.factor.toFixed(3) +
' =
' +
c.mgdl.toFixed(3) +
" mg/dL"
: "
Your calculation: " +
c.mgdl +
" ÷ " +
m.factor.toFixed(3) +
' =
' +
c.mmol.toFixed(4) +
" mmol/L";
document.getElementById("bgFLCalc").innerHTML = calcHtml;
document.getElementById("bgRefTitle").innerHTML = m.refTitle;
document.getElementById("bgRefSrc").innerHTML = "Source: " + m.refSrc;
var tbody = document.getElementById("bgRefBody");
tbody.innerHTML = "";
m.ranges.forEach(function (r) {
var tr = document.createElement("tr");
tr.innerHTML =
"
" +
r.cat +
' | ' +
r.mmol +
' | ' +
r.mgdl +
" | " +
r.note +
" | ";
tbody.appendChild(tr);
});
var allBody = document.getElementById("bgAllBody");
allBody.innerHTML = "";
ALL_MOLS.forEach(function (mol) {
var tr = document.createElement("tr");
if (mol.id === bgMolId) tr.className = "hl";
tr.innerHTML =
"
" +
mol.icon +
" " +
mol.name +
" | " +
mol.abbr +
" | " +
mol.mw +
" | " +
mol.factor.toFixed(3) +
" | " +
mol.desc +
" | ";
allBody.appendChild(tr);
});
document.getElementById("bgResults").classList.add("show");
document.getElementById("bgPF").style.width = "100%";
document.getElementById("bgPL").textContent = "Results (Step 3 of 3)";
document.querySelector(".sog-bg .content").style.display = "none";
var root = document.querySelector(".sog-bg");
if (root) root.scrollIntoView({ behavior: "smooth", block: "nearest" });
};
window.bgRestart = function () {
document.getElementById("bgResults").classList.remove("show");
document.querySelector(".sog-bg .content").style.display = "";
[1, 2].forEach(function (i) {
var el = document.getElementById("bgS" + i);
if (el) el.classList.toggle("active", i === 1);
});
document.getElementById("bgPF").style.width = "33%";
document.getElementById("bgPL").textContent =
"Choose Molecule (Step 1 of 3)";
document.getElementById("bgInput").value = "";
document.getElementById("bgLiveVal").textContent = "--";
document.getElementById("bgLiveBox").classList.remove("filled");
bgSetDir("mmol");
var root = document.querySelector(".sog-bg");
if (root) root.scrollIntoView({ behavior: "smooth", block: "nearest" });
};
bgBuildGrid(MOLS.metabolic, "bgGrid1");
bgBuildGrid(MOLS.lipids, "bgGrid2");
bgBuildGrid(MOLS.electrolytes, "bgGrid3");
bgBuildGrid(MOLS.ketones, "bgGrid4");
})();