The annual salary of the president of the United States is $400,000. That’s probably more than what an average Finance101 reader makes but less than some corporate CEOs.

However, many American presidents could have probably done without this salary as they came from extreme wealth to begin with. Using information from publication 24/7 Wall St., we’ve ranked 30 of our richest presidents from least to most. Listed net worths have been adjusted for inflation to 2016 dollars. The wealthiest of all might surprise you…

1Warren Gamaliel Harding

Net worth: $1 million
Term: 1921-1923
President #29
The wrongdoing of his cabinet members overshadowed most of Harding’s presidency. However, the 29th president of the U.S. wasn’t involved with any of those criminal activities. Before getting into politics, Harding was a successful newspaper publisher, he served in the Ohio legislature and the US Senate, says

William G. Harding basically had the majority of his net worth before becoming the Commander in Chief. His wife Mabel also came from substantial wealth — she was the daughter of a prominent banker, says 24/7 Wall St.
NEXT: He went bankrupt during the Great Depression in 1893 while governor of Ohio.