Confused about due date

Danielle • Evie & Aodhán Harty ♥️🌈

When I’m entering the last date of my period into the nhs website it’s telling me my due date is the 28th of December but the midwives have said the 26th from the start of my pregnancy, so confused 🤷🏻‍♀️