If California were its own country, its economy would rank either fifth or sixth worldwide, depending on the source.

California's biggest cities rank right up there in spending, too -- especially when it comes to IT.

The state's five cities that spend more than any others are, in descending order: San Francisco, Los Angeles, San Diego, San Jose and Long Beach. Together, California's cities spend about $1.5 billion on IT every year.