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…

3Franklin Pierce

Net worth: $2 million
Term:1853-1857
President #14
Like father like son! Franklin Pierce’s father was governor of New Hampshire. The 14th president himself got his start in politics at a young age, says History.com. He was just 24-years-old when he won the election to the New Hampshire state legislature. Not many 24-year-olds accomplish a feat such as that!

At the time, 47-year-old Franklin Pierce was the youngest man to become president of the U.S. His wife, Jane Appleton, came from a well to do family. Appleton’s father was formerly president of Bowdoin College.
NEXT: Our 19th commander in chief came from a humble background but worked his way up to $3 million.