The new Fortune 500 list is out. These California companies made the cut

Apple ranks third on the Fortune 500 list. (Monica Davey / European Pressphoto Agency)

The latest version of the Fortune 500 list came out Wednesday, and its studded with California companies.

The list, which ranks U.S. companies by total yearly revenue, includes 53 firms whose headquarters are in the Golden State a total thats second only to New Yorks 54. (The list of 500 companies is compiled by looking at results reported by publicly traded firms, as well as from the privately traded ones that file financial statements with a government agency.)

The California companies in the top 10 are tech giant Apple Inc., which ranked third nationwide even as itssales began to falter, and pharmaceutical distributor McKesson Corp., which ranked fifth.

Oil stalwart Chevron Corp. came in 19th. Despite itsscandal over unauthorized accounts, Wells Fargo & Co. rose a bit, landing at 25th.

Apple is based in Cupertino, McKesson and Wells Fargo have headquarters in San Francisco and Chevron is in San Ramon.

Three of the Fortune 500 companies have headquarters within Los Angeles city limits: engineering and construction giant Aecom, ranking 161st; real estate services firm CBRE Group Inc., ranking 214th; and Reliance Steel & Aluminum Co., which ranked 320th and whose business is to buy bulk metal from mills, process it and sell it to machine shops and other companies.

Companies led by women are scarce on the Fortune 500 list. This year, the list included 32 companies with female chief executives a record number but still only 6.4% of the total. Seven of those companies are based in California: Hewlett Packard Enterprise Co., Oracle Corp., PG&E Corp., Ross Stores Inc., Sempra Energy, Mattel Inc. and Yahoo Inc.

Wal-Mart Stores Inc. retained the top spot on the list, boasting revenue of nearly $486 million. The retail giant, based in Bentonville, Ark., has been ranked first for 13 of the last 16 years. Its also the biggest employer on the list, with 2.3 million workers.

Of the companies on the list, Apple hauled in the biggest profit: nearly $46 billion.

Fortune said the 500 companies on the list posted a combined $12 trillion in revenue equivalent to two-thirds of the U.S. gross domestic product and $890 billion in profit.

Here are the California companies on the list:

A look back, and ahead, at the latest California business news.

You are now following this newsletter.See all newsletters.

Alexandria Ocasio-Cortez video spurs more sponsors to drop Fresno Grizzlies

For the U.S. and China, its not a trade war anymore its something worse

IRS is updating W-4 tax form after outcry over smaller refunds

Illinois Legislature legalizes recreational marijuana, 11th state to OK such use

Tense and intense, Star Wars: Galaxys Edge is not your mothers Disneyland

Google faces antitrust investigation by U.S. Justice Department

Star Wars: Galaxys Edge forces Disney to tap eons of crowd-control expertise

Stocks sink as Trump opens new trade war front against Mexico

IRS is updating W-4 tax form after outcry over smaller refunds

Bitcoin is rallying again, but its still not used to buy much of anything