positive pregnancy test after miscarriage

Reagan

I’m currently 12 dpo. I had my miscarriage Dec.28 at 6 weeks 3 days, ovulated Jan. 11-12 and just had a positive test today! Went for bloodwork and just waiting for that to come back. Just curious on how they would calculate my due date?