Onira

Due date calculator and gestational age

Quick answer

This due date calculator is the web version of the Pregnancy tab in Onira. Enter the first day of your last period, an ultrasound or the due date you already have, and see your gestational age today, the estimated due date, the trimester, the days to go and what to do in this phase, plus a hospital bag.

Updated Gambit Studio

Important: This is not a substitute for advice from a doctor or your care team. If you have bleeding, leaking fluid or any doubt, go to your maternity unit.

How the math works

Calculate byMath
Last period (LMP)Due date = first day of last period + 280 days (Naegele's rule, 40 weeks)
UltrasoundDue date = exam date − gestational age at the exam + 280 days
Known due dateUsed 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.

Sources

  1. MSD Manual, Consumer Version: Stages of Development of the Fetus (full review Sept 2024)
  2. MedlinePlus (NIH): Gestational age (reviewed Oct 1, 2025)
  3. NHS: Due date calculator (reviewed 21 August 2024)

Frequently asked questions

What people ask most about this, answered with the source.

How is the due date calculated from the last period?
Add 280 days (40 weeks) to the first day of your last period. That is Naegele's rule, which this calculator uses.
How do I calculate the due date from an ultrasound?
Take the exam date, go back the gestational age shown in the report and add 280 days. Pick Ultrasound and the calculator does it.
Will my baby be born on the due date?
Not necessarily. The NHS says pregnancy normally lasts from 37 to 42 weeks.
Is my data saved?
No. The calculator does not store your dates: when you reload the page the fields come back empty.
OniraComing soon to the App Store
Notify me at launch