The most common way to determine when your baby will be born is to calculate your date of birth based on your last menstrual period (LMP). To calculate how many weeks pregnant you are, this calculator looks at the first day of your last menstrual period (LMP) and compares it to today's date.