Real estate tycoon Donald Trump arrives on stage for the start of the Republican presidential debate on August 6 in Cleveland, Ohio. (MANDEL NGAN/AFP/Getty Images)

Donald Trump, the Republican frontrunner in next year's presidential primary, has been pitching voters on his experience in business.

"I'm running for office in a country that's essentially bankrupt, and it needs a successful businessman," he told Rolling Stone.

Yet Trump has not done nearly as well as other American business magnates, or even a typical middle-class retiree following sound financial advice, as a review of the numbers over the past four decades shows. He is a billionaire today despite this poor performance because when he started his career, his father had already built a colossal real-estate empire. And the wealth Donald Trump has accumulated since then has at times come at the expense of taxpayers or the banks and investors who have lent him money.

[Read more: A secret to Donald Trump’s success that you simply can’t replicate]

Citing data from Forbes, The Associated Press estimates that Trump's net worth quadrupled from $1 billion to $4 billion between 1988 and today. That's an impressive gain, but it's nothing compared to the wealth produced by investors such as Warren Buffett and Bill Gates. Gates's wealth increased from about $1 billion to $80 billion over the same period. Buffett had about $2.5 billion in 1988, and has $68 billion today.

Yet perhaps the most telling comparison is between Trump and his golf buddy, Richard LeFrak. The LeFraks and the Trumps have been rivals in New York's real estate business for generations. LeFrak's father, Samuel LeFrak, took a no-nonsense approach to the business. He focused on minimizing risk and making money, according to a 1992 profile in Business Week, before the magazine became Bloomberg Businessweek.

"He might be strutting around like a peacock today, but he's gonna be a feather duster tomorrow," the elder LeFrak told Business Week when asked about Trump.

Over time, the LeFraks came out ahead of their competitors. LeFrak is worth $7 billion today, and he's 181st on Bloomberg's list of the world's richest people. Bloomberg puts Trump's wealth at just $2.9 billion -- far less than Forbes's estimate. He doesn't even make the list.

The LeFraks are a family with long experience in a very competitive industry, but Trump's returns are less even than those of an ordinary investor saving for retirement.

Real estate mogul and reality television star Donald Trump spoke about his personal wealth, China, Secretary of State John Kerry's bike accident and more in the top moments from his presidential announcement. (Sarah Parnass/The Washington Post)

Experts on personal finance generally recommend that people saving for retirement or to pay for a child's college education buy and hold in index funds -- mutual funds that are invested in a wide range of stocks or bonds. The price of the funds will go up and down with the market, but over time, these investments will generate a reliable return as long as the investor avoids the temptation to sell in a financial panic.

[Read more: It’s time to take a look at the index card with all the financial advice you’ll ever need]

Citing an independent evaluation, Business Week put Trump's net worth at $100 million in 1978. Had Trump gotten out of real estate entirely, put his money in an index fund based on the S&P 500 and reinvested the dividends, he'd be worth twice as much -- $6 billion -- today, according to the calculator maintained by the blog Don't Quit Your Day Job.

(In this scenario, Trump doesn't quit his day job. The calculation above does not include any allowance for living expenses, so if he had put all his money in index funds, he would have had to live off the dividends or find some other source of income.)

Trump disputes the independent appraisals of his wealth by Forbes, Business Week (now Bloomberg) and others. He says he is worth about $10 billion today.

Using Trump's preferred estimates of his wealth, he has still performed worse than our hypothetical Main Street retiree. He told The New York Times he was worth $200 million in 1976, an amount that would be worth $12 billion today.

"That a purely un­man­aged in­dex fund’s re­turn could out­per­form Trump’s hands-on wheel­ing and deal­ing calls in­to ques­tion one of Trump’s chief selling points on the cam­paign trail: his busi­ness acu­men," writes S.V. Dáte in National Journal.

In a way, though, all of these comparisons are misleading. Donald Trump's father, Fred Trump, built his real-estate business on federal subsidies, as The Washington Post's Emily Badger has reported. Financing from Uncle Sam isn't available to the typical investor (although homeowners do benefit indirectly from federal subsidies and can deduct interest they pay on their mortgage from their tax bill). The younger Trump has continued that strategy, boasting about his ability to secure taxpayer dollars from local officials, as the Los Angeles Times has explained.

[Read more: How Donald Trump abandoned his father's middle-class empire for luxury building]

At other times, Trump has relied not on taxpayers but on banks and private concerns. Firms under his control have gone bankrupt on four occasions, but those catastrophes aren't fully reflected in Trump's net worth today, since his lenders absorbed the losses. The LeFraks, by contrast, have avoided imposing losses on their creditors, while still finding a way to turn a profit.

[Read more: What Trump didn’t say about his four big business bankruptcies]

Trump is running for president on his business acumen, but over his long career in real estate, he just hasn't been able to put up the numbers.