3+ weeks pregnant after miscarriage in April

I took a pregnancy test today after thinking my hormones were off for too long after my miscarriage and found out I was pregnant! I am just wondering how other pregnancies went soon after miscarrying. My miscarriage was April 17th so I am not sure when I ovulated or became pregnant.