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…

4William Howard Taft

Net worth: $3 million
Term: 1909-1913
President #27
Interestingly, Taft’s father-in-law used to work with a president in power a few years before him — Rutherford Birchard Hayes! (We’ll talk about him soon but we won’t tell you HOW soon.) An active attorney for two decades, Taft was president of the American Bar Association.

The White House says that Taft was more interested in law rather than politics. He did hold various public office positions, as well as the presidency, so Taft must have liked public service to some extent.
NEXT: Our 19th commander in chief came from a humble background but worked his way up to $3 million.