COBRA is simply the law that says you pay the full price of your previous employers group rate. Maybe your employer had an excellent group rate and you didn't qualify for subsidies.
I suspect for the average American the math goes the other way.
Source: Tried COBRA many times in the past decade (lots of startups) and it was never worth it. I wish health insurance wasn't tied to employers at all.