The cost of bugs in an infographic that Typemock created. I've included this infographic and a link below.
As you can see, bugs and defects in software can be extremely costly to an organization — to the level of $60 Billion (US) dollars a year. That's about $113,333 a minute. Fixing bugs earlier is obviously cheaper. Take a look at the infographic. It has a lot of interesting statistics including the stat that agile projects are 300% more likely to succeed thank non-agile projects. Ironically, the statistics don't show how much more likely an agile project is to have a bug...!