How the math works
| Calculate by | Math |
|---|---|
| Last period (LMP) | Due date = first day of last period + 280 days (Naegele's rule, 40 weeks) |
| Ultrasound | Due date = exam date − gestational age at the exam + 280 days |
| Known due date | Used exactly as entered |
Weeks of pregnancy are counted from the first day of the last period, and the due date is usually estimated as 40 weeks after it (MSD Manual). Gestational age is measured in weeks from that day to today (MedlinePlus). Pregnancy normally lasts from 37 to 42 weeks (NHS), so the due date is an estimate. An early dating scan estimates how many weeks pregnant you are more accurately (NHS); if your provider changed your date, use "Known due date".
Like the app, the calculator refuses impossible dates: a last period in the future, an ultrasound outside 4 to 42 weeks and 0 to 6 days, more than 44 weeks or a due date more than 14 days ago.
Trimesters and phases
Onira counts the first trimester up to week 13, the second from 14 to 27 and the third from 28. Each phase shows a practical tip from the app, like booking the first prenatal visit, packing the bag around week 32 and keeping the contraction timer close from week 37.
Hospital bag
In the Pregnancy tab is Onira's hospital bag: 18 items for mom, baby and documents, so you can check what to pack. For the full newborn list with quantities, use the baby checklist.
More from Onira on the web
On iPhone, Onira puts your gestational age next to the contraction timer. It is in development.