Really confused

So how do you calculate your due date ? I put all my info in a different app and it said 6 weeks and 2 days , I’m really confused ... the whole time I have been thinking my due was decemeber 14