You’ve been taking prenatal vitamins and tracking your cycles, and now you’ve decided you’re ready to get pregnant. It’s baby time! You’ve ovulated and had lots of sex, and now you are anxiously waiting two weeks till you can pee on a stick.

Why two weeks? That’s the amount of time it takes for a fertilized egg to implant and for levels of hCG to be detectable on a home pregnancy test.

Here’s what’s actually going on during the endless-seeming two-week wait

Ovulation

Around day 14 of the menstrual cycle, the ovary releases an egg that is captured by the fallopian tube. Picture the fallopian tube like a long tube with fingers at the end, which sweep around the ovary to grab the egg when it’s released.

Related: 8 signs of ovulation

Fertilization

Once it’s in the upper end of the fallopian tube, called the ampulla, the egg meets the sperm for fertilization, usually within 24 hours of being released.

Related: These are the actual chances of getting pregnant each month

Moving and growing

The fertilized egg then hangs out in the ampulla for about three days before making the three-day trip down the tube to the uterus. These first six days, however, aren’t just about traveling from the ampulla to the uterus. While the egg is making this epic journey, it’s also preparing for implantation by growing and dividing, growing and dividing. This allows the fertilized egg to become two cells, then four, and so on until becoming the 64-cell blastocyst, which is already starting to differentiate into what will become the placenta and what will become baby!

Related: 8 ways to keep your cool during the 2 week wait

Implantation

Over the next week, a complex series of events matures the blastocyst into an embryo while implanting it into the uterine lining.

Related: Is it implantation bleeding or an early period? Here’s how to tell the difference

Feeling positive

It is also around this time that the outer layer of cells of the blastocyst start secreting human chorionic gonadotropin, or hCG. This is the hormone you’ve been waiting for, because hCG is what makes your home pregnancy test turn positive. hCG is detectable in the blood as early as eight days after conception, and the level keeps rising until it’s high enough to be picked up in the urine by a home pregnancy test around the time of your missed period, 10 to 14 days after fertilization.

Related: The new mama’s guide to pregnancy symptoms

A note from Motherly: The two-week wait

Even though that building anticipation during the two week wait can sometimes border on torture, keep this in mind: The pregnancy hasn’t “stuck” until six to eight days after sperm meets egg, and it takes an extra week for the pregnancy hormone to rise to detectable levels. Hopefully, understanding these two weeks will help you take things one day at a time as your pregnancy begins.

A version of this story was originally published on Oct. 27, 2016. It has been updated.