Calculating due date?

If my last period was 5/19 and ovulation day was 6/5 would that make me 4 weeks or 3? I took a test 3 days ago it was negative and than today it is very positive if that matters?