Miscalculated

Angie
Had my first doc appointment and she says I'm 7 wks 3 day. When I calculated by my period i should be 9.5 weeks. 
We did see a heartbeat though. 
I'm worried because we had a miscarriage in February 2017. Just curious if anyone's ever miscalculated and the baby was okay?