What are the odds I was pregnant, didn't know it and had a miscarriage?

So a little while back about three weeks ago, I got a bit worried I was pregnant cause my period came a little late about 4 day, but then it did happen but was really heavy and painful. Now I'm having random small spans of time would I'm bleeding a really dark brown color, with some random bad cramps and my left shoulder really hurts.
What are the odds I was pregnant, didn't know it and had a miscarriage?
Post Opinion