Off due date

Tashiona
I'm 4 weeks and 6 days according to this app but Tuesday The doctor told me I was 6 weeks and my due date is Sept. 25 but when I calculate that it says I'm 4 weeks I'm a bit confused