That's an 08'+ Ford Focus? I'd say $5k was a pretty fair total loss valuation, assuming that was in the last few years.
As pointed out, it does vary by state, but if you've got an insurance company that's going for a "total out" at 50% value (likely the legal minimum in some states), you need a new insurance company.
Second time I had my FiST rear-ended, they estimated about $12k in repairs to fix it. They would have given the green light to repairs, only issue is those repairs wouldn't have been legal pretty much anywhere, so it was listed as a total loss, and Geico paid me $15,900 for it. This was about two years ago.
Also, you may have the option to contest the insurance company's valuation, which most people don't realize. I've been through this ordeal. Twice. Don't settle for what the insurance company gives you; you may have better options. Geico just happened to offer me top of market for my '15 at the time, so I opted not go that route.