Calculating GDP Based on Spending One way ... China had the second-largest GDP at $18.27 trillion. The Bottom Line Gross domestic product (GDP) is an important economic indicator of a nation ...