Google

EDC ( Expected Date of Confinement) using NAEGELE'S RULE

Add 7 days to the first day of last menstrual period (LMP), subtract 3 months and add 1 year; assuming that the woman has a 28 days cycle.

OR EDC = LMP + 7 days - 3 months + 1 year