Confused on ovulation

Sierra
My cycles are 40 days I went in for ultrasound Tuesday and ultrasound said I was 7 weeks and not 8 weeks. I'm so confused on when I ovulated or concieved. Found out real early. Is it possible to have a faint test only 5 days after sex.