Quite a lot of it was "spread around" onto him during his eight years in office. He couldn't afford his own home when he started in politics and he is now a millionaire.
Is a president not paid for his work? Is the pay not in the hundreds of thousands per year? Would that not add to more than a million after eight years in office? Or are you unhappy that he was paid and managed to save and invest wisely enough to make some profit? Are you such a communist in your thinking that you will say it is wicked that he saved and invested? He also earned a good amount of money from writing books that sell well. And from speaking engagements where people are willing to pay him well for making a speech to their organisations. All this is well known and well documented.
About Barack Hussein Obama II
The 44th president of the United States, author and the most popular person in the world, Barack Hussein Obama II, has an estimated net worth of $40 million, excluding the $1.4 million in Nobel Prize money he donated to charity and his primary home.
His historic run for the presidency helped him sell millions of copies of his two books, Dreams of My Father and The Audacity of Hope, during the campaign. He sold another 100,000 copies the week following his election. In 2009, the president earned an advance for an abridged version of Dreams for young adults; the deal made him the first sitting president in recent memory to receive a book advance while in office. The real money will be made years from now: Obama could certainly earn tens of millions of dollars a year giving speeches full time.
As president, Barack Obama’s base salary was $400,000 a year. He also had access to a $150,000 expense account as well as a $100,000 tax-free travel account and $20,000 entertainment budget.
Some of the achievements during his term as president of the United States includes the Affordable Care Act also known as Obamacare, which he signed on March 23, 2010, and the passage of the America Recovery and Reinvestment Act of 2009. His term as president ended on January 20, 2017.
Obama served three terms in the Illinois Senate and is the first African-American President of the United States. Obama was born August 4, 1961 in Honolulu, Hawaii. He is a graduate of Columbia University and Harvard Law School.
In June 1989, he met Michelle Robinson while working as a summer associate for Sidney Austin's Chicago law firm. Three years later, they got married and has two daughters, Malia Ann and Natasha
(
https://www.therichest.com/celebnetworth/politician/president/barack-obama-net-worth/ )