Yep, California's GDP accounts for 14.7% of the USA's GDP (second best checks in at 8.4%) at 3.1 trillion, and is 1.3 trillion higher than the second place state.
The #2 and #3 states, Texas and New York, combined barely had a bigger GDP in 2022 than California at 1.8 and 1.7 trillion.
The gap between California and and Texas - 1.3 trillion - would rank 4th as #4 Florida is at 1.1 trillion.
If California was an independent country, it would have 6th biggest GDP in the world, surpassed only by the USA, China, Japan, Germany, and India.