Due date

So my first date of my last period was April 25th.  So the day I found out I was pregnant I did a due date calendar online.  And the went to my first appt and they told me February 2nd.  It's only off by three days so it's not a big deal but I'm so confused?  I counted 40 weeks from April 25.