Pregnancy is counted from the first day of your last menstrual period. This means an extra 2 weeks are counted at the beginning of your pregnancy when you aren't actually pregnant. So pregnancy lasts 10 months (40 weeks)—not 9 months—because of these extra weeks.