President Trump has toppled 222 places on the Forbes annual World’s Billionaires list after his fortune fell by about $400 million.

Trump, who Forbes estimates is worth about $3.1 billion, remains one of the country’s richest Americans, but his real estate empire has taken a hit in the markets.

Trump Tower, his signature Fifth Avenue high- rise, fell in value by an estimated $41 million last year as the rise of e-commerce pushes down the worth of properties in historically strong shopping areas.

Forbes said his property at 6 E. 57th St. is also being challenged by the new economy as longtime tenant Nike said it would move out of the space this spring, leaving a 65,000-square-foot void.

“I don’t know of any tenants that need that much space other than department stores,” Manhattan real estate broker Eric Anton told Forbes. “And I don’t think there are any expanding department stores.”

The magazine said even with a $3.1 billion fortune — far from the $10 billion he once claimed to be worth — he’s still the richest president in US history.

But while e-commerce may have put a dent in Trump’s fortune, it propelled Amazon’s Jeff Bezos to the top of the list as the world’s richest person with an estimated wealth of $112 billion.

The founder of the online retail powerhouse knocked Microsoft founder Bill Gates, who’s now worth $90 billion, from atop the exclusive list.

Rounding out the top five are businessman and investor Warren Buffett with $84 billion, CEO of French luxury goods company LVMH Bernard Arnault at $72 billion and Facebook’s Mark Zuckerberg at $71 billion.