Fertility by Age Calculator
See how your chances of natural conception, miscarriage risk, and IVF success change with age based on ACOG, ASRM and CDC data
Your Fertility Profile
Monthly chance of natural conception
— %
— over 12 months
— miscarriage risk
—
🌱—
Median time to conceive
— mo
IVF success (3 cycles)
— %
What this means at your age
Fertility by age — full reference
| Age band | Monthly chance | 12-month cumulative | Median time | Miscarriage risk |
|---|
IVF cumulative live birth by age
| Age band | 1 retrieval | 2 retrievals | 3 retrievals | Notes |
|---|
When to seek a fertility evaluation
| Your age | Seek evaluation after | Reason |
|---|
Embed this calculator
Embed code
Live preview — identical to the main calculator
EXACT MATCH
\n';
}function sizeEmbedPreview() {
if (!embedPreview) return;
try {
var doc = embedPreview.contentDocument || embedPreview.contentWindow.document;
if (doc && doc.body) {
var h = doc.body.scrollHeight || doc.documentElement.scrollHeight;
if (h && h > 400) {
embedPreview.style.height = Math.min(h + 24, 4000) + 'px';
}
}
} catch (e) {}
}function generateEmbedCode() {
if (!embedPanel || embedPanel.style.display !== 'block') {
if (embedCodeTextarea) embedCodeTextarea.value = buildToolHtml();
return;
}
var toolHtml = buildToolHtml();
if (embedCodeTextarea) embedCodeTextarea.value = toolHtml;
if (embedPreview) {
embedPreview.onload = function () { sizeEmbedPreview(); };
embedPreview.srcdoc = toolHtml;
}
}var embedRefreshTimer = null;
function scheduleEmbedRefresh() {
if (!embedPanel || embedPanel.style.display !== 'block') return;
if (embedRefreshTimer) clearTimeout(embedRefreshTimer);
embedRefreshTimer = setTimeout(function () {
embedRefreshTimer = null;
generateEmbedCode();
}, 450);
}window.toggleEmbedPanel = function () {
if (!embedPanel) return;
var isHidden = (embedPanel.style.display === 'none' || embedPanel.style.display === '');
if (isHidden) {
embedPanel.style.display = 'block';
generateEmbedCode();
try { embedPanel.scrollIntoView({ behavior:'smooth', block:'start' }); } catch (e) {}
} else {
embedPanel.style.display = 'none';
}
};window.closeEmbed = function () { if (embedPanel) embedPanel.style.display = 'none'; };
window.refreshEmbed = function () { generateEmbedCode(); };window.copyEmbedCode = function () {
if (!embedCodeTextarea) return;
generateEmbedCode();
embedCodeTextarea.select();
embedCodeTextarea.setSelectionRange(0, embedCodeTextarea.value.length);
if (navigator.clipboard) {
navigator.clipboard.writeText(embedCodeTextarea.value).then(function () { alert('Embed code copied!'); })
.catch(function () {
try { document.execCommand('copy'); alert('Embed code copied!'); }
catch (e) { alert('Press Ctrl+C to copy'); }
});
} else {
try { document.execCommand('copy'); alert('Embed code copied!'); }
catch (e) { alert('Press Ctrl+C to copy'); }
}
};function bindAll() {
[ageInput, partnerAgeInput, amhInput, monthsTryingInput].forEach(function (el) {
if (el) {
el.addEventListener('input', function () { calculate(); scheduleEmbedRefresh(); });
el.addEventListener('change', function () { calculate(); });
}
});
}function init() {
bindAll();
calculate();
if (embedPanel) embedPanel.style.display = 'none';
}if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {
init();
}
})();