How the due date is estimated
Pregnancy is counted from the first day of your last period, not from conception. A typical pregnancy is 280 days, or 40 weeks, from that date. If your cycle is usually longer or shorter than 28 days, the date moves by the difference.
Your dating scan, usually between 10 and 14 weeks, measures the baby and gives a more accurate due date. Your midwife will use that one.
Trimesters
The first trimester runs to the end of week 12, the second from week 13 to week 27 and the third from week 28 until birth. Most babies arrive between 37 and 42 weeks; only about 1 in 20 is born on the due date itself.