Miscarriage???

I didn’t know I was pregnant or even trying I started to get a sharp left pain and it went all the way through my vagina so I went to the bathroom and pushed some clots out then came this one if I was pregnant I don’t even know how far along there was a lot of blood and some pain but after I passed this it mostly stopped still some cramps and mild bleeding but not near as bad at all is this miscarriage? How far along does it look ? I’m heart broken. We’ve been trying for 8 years.