Skip to content
IVF BIG DATA

Initial β-hCG and ongoing clinical pregnancy

AI model estimates the probability of ongoing clinical pregnancy based on first β-hCG value, cycle type, and days after embryo transfer. This tool helps you predict the likelihood of a successful pregnancy based on your initial β-hCG levels.

How the initial β-hCG model is calculated

This page estimates the probability of ongoing clinical pregnancy from three inputs: the first serum β-hCG, the day that blood draw was taken after embryo transfer, and whether the cycle was a fresh IVF transfer or a frozen embryo transfer. The slider runs from 0 to 300 mIU/mL in steps of 1. The day control accepts day 8, 9, 10, or 11. Fresh IVF is coded as 1 and a frozen transfer as 0, matching the encoding used when the CatBoost model was trained. The trained scores were exported to a lookup grid. The page reads the cell for that rounded hCG, day, and cycle type. A combination that is not in the grid does not receive an interpolated guess.

The cohort behind the published review is 10,985 cycles, reported by Barash and colleagues in Fertility and Sterility, volume 120, issue 1, pages e62–e63, under the title on the association between initial β-hCG values and clinical outcomes. The charts under the slider are labeled as historical data from 2010 through 2022. In the scatter display, the radius of a circle is a patient count inside that category. It is not the probability itself. The probability is the single percentage in the result panel.

On the held-out evaluation printed with the tool, mean squared error is 0.512, R² is 0.7595, and AUC is 0.9699. Those numbers describe how the exported model separated outcomes in that test set. They do not mean every new laboratory’s assay will match the training assay. β-hCG units and the exact hour of the draw vary by clinic. The day field exists because the same numeric hCG on day 8 and on day 11 sat in different parts of the training data. Enter the day the first test was actually drawn.

The model uses the first value only. It does not ask for a second hCG, a doubling time, progesterone, or the number of embryos transferred. Ongoing clinical pregnancy is the label the model was trained to predict, as used in that 10,985-cycle review. The page is not a diagnosis of miscarriage, ectopic pregnancy, or a viable pregnancy in the patient whose result you typed. A low or high first value changes the cohort probability. It does not replace serial hCG and ultrasound in clinical care.

Older addresses such as /initial-hcg redirect to this URL so the model has one canonical path. The embryo-selection calculator estimates a pregnancy rate before transfer, from age, biopsy day, embryos transferred, and Gardner grade. This page starts after transfer, once a first β-hCG exists. The two tools share a site and a caution. They do not share a dataset or a formula.

Questions about this calculator

Which cycles are in the β-hCG model?
The cited review covers 10,985 cycles (Barash et al., Fertility and Sterility 120(1), e62–e63). The interactive charts on this page are the historical series from 2010 through 2022. Circle size on those charts is a patient count.
Why do day 8 and day 11 give different probabilities for the same number?
The first β-hCG is interpreted together with the day it was drawn. The model was trained with day as its own input, and the lookup grid has a separate cell for each day from 8 through 11. Use the day of the first blood draw, not the day you are reading the result.
Does this calculate doubling time?
No. The inputs are one β-hCG value, the day of that draw, and fresh IVF versus frozen transfer. A second measurement is not part of the formula.
Where did /initial-hcg go?
It permanently redirects to /beta-hcg-calculator. Use this address when you share the tool so the model is not indexed under two paths.

These notes describe how this page counts a historical cohort. They are educational context for clinicians, embryologists, and patients. They are not a treatment recommendation, and a qualified clinician is the right person to interpret a result for an individual cycle.