Welcome the economy of Los Angeles and Orange counties to the trillion-dollar club.

The federal government’s recently released annual accounting of business output of U.S. metro areas shows the L.A.-O.C. region’s gross domestic product — a broad measure of the value of all business done in a geographic region — rose by $38 billion last year to $1.002 trillion.

Amid all the twists and turns the L.A.-O.C. economy has endured in recent years, it’s easy to forget just how big it is.

Having a 13-digit economy is a rarity. L.A.-O.C. is only the second U.S. metro area in this club: The New York City-New Jersey area had an output of $1.66 trillion last year. Plus, only three states and 15 nations have larger GDPs.

To put the local business bounty into proper perspective, ponder these data nuggets:

Regionally, last year’s expansion was like adding the entire economy of Little Rock, Ark., or Akron, Ohio.

Nationally, if L.A.-O.C. was its own state, its annual output would rank behind California, New York and Texas and just ahead of Florida.

Or globally, local GDP is on par with the national outputs of Mexico or Indonesia.

To the east, the GDP of Riverside and San Bernardino counties may seem modest at $149 billion in 2016. But the Inland Empire is the nation’s 23rd busiest business market, and its economy is roughly equal to the output of Nevada or Kansas or Hungary.

And to the south, San Diego County’s GDP last year was $215 billion, No. 17 nationwide. Or on the scale of South Carolina or Vietnam.

Add these five counties together and you have half of California’s $2.6 trillion economy.

Now, business size can matter. But “real” growth in gross domestic product — that’s after-inflation progress — is the true yardstick of economic performance. And we see around the region that 2016 was a year of cooling growth.

The L.A.-O.C’s real GDP grew 2.1 percent last year, and my trusty spreadsheet tells me that was pretty run-of-the-mill — ranking 27th best among the 50 largest metro areas nationwide. Last year’s growth was a dip from 4.7 percent growth in 2015 (ranking No. 14) and 3.9 percent growth in 2014 (12th best).

In the Inland Empire, the economy grew 2.6 percent last year, 17th best among the 50 largest. It was a dip from 4 percent in 2015, which also ranked No. 17.

Meanwhile, San Diego sputtered: 0.3 percent growth last year — eight worst among the 50 largest — and 0.4 percent in 2015, fourth worst.

By no means were all economic ills cured by the L.A.-O.C rebound since the Great Recession. Poverty, homelessness, and financial inequality still present local challenges. And the growth likely exacerbated the housing shortage and created more congestion.

Since 2011, real GDP in L.A.-O.C — that’s after inflation — averaged 3.1 percent annual growth. Sure, that rise is not Silicon Valley’s nation-leading 6.5 percent annual expansion rate in the period. Or the 6.1 percent pace of runner-up Austin, Texas.

But considering all the griping I’ve heard about regional economic deficiencies, L.A.-O.C handily beating the nation’s 2.2 percent yearly pace is certainly noteworthy.

And L.A.-O.C’s growth ranking 12th best among the top 50 U.S. markets in the past five years? Not too shabby.

See the top fastest growers among the 50 largest metros in this slideshow …