Sperm can also survive in your body for up to seven days.
Also the EDD is the "ESTIMATED" due date. Meaning that it's not for sure. Doctors estimate when you conceived based on baby's growth and the first day of your last period. The only way to be sure is a paternity test.
Plus women ovulate at different times. You can believe it or not even get pregnant on your period. It's rare but it happens.
That's way to close together to tell. You're going to have to get a paternity test
My ultrasound said I would be due July 10th, and my "conception calculator" said I would have ovulated on the 22nd.... I don't know if that would change anything
Can't be %100 unless you've had an early ultrasound to tell you the due date. Based on your period you would have ovulated on the 15th-20th. That means it would have been to late for it to be your current bf and it is your ex.
Similarly, someone saying casually that you're "at 5 weeks" does not mean the same thing as 5 weeks 4 days or 5 weeks 6 days. (Or even 5 weeks 0 days.) They weren't being precise, and you need precision.
I would go in to an ob-gyn where they will take you seriously (not an ER, not a right-to-life place that gives free ultrasounds to convince women not to get abortions -- you need a real doctor's office) and get another ultrasound, either this week or the week after but no later. It is possible that with your long-ish cycles, your boyfriend is the dad. If you're at about 7 weeks when you go in, the ultrasound should still be useful for seeing this. Tell them your cycles are too irregular to count on, and ask them how many weeks GA you are (that is the count from the first day of your last period, but in your case they will give you the count from two weeks previous to when you conceived) and especially ask them when your estimated due date is. Put that due date into a conception calculator when you get home. Since the two guys are pretty far apart, if your ultrasound isn't later than your seventh week, you should be able to get a pretty clear idea which sex produced the baby.