Help!

Has anyone went in for an ultrasound and not be as far along as you thought? Even if you know when you ovulated or got your first pregnancy test? I am supposed to be 8 weeks and measuring 6 weeks. My HCG levels are 31,000 so definitely within the range of both. Just so confused and hope I didn’t or am not having a miscarriage 😔