Jeff Bezos and Mark Zuckerberg have each seen their fortunes swell by more than $20 billion this year

Mark ZuckerbergGetty$US20 billion — and the year is barely half over. Pictured: Mark Zuckerberg.

Jeff Bezos and Mark Zuckerberg, the founders and CEOs of Amazon.com and Facebook, respectively, have added a gob-smacking amount of money to their wealth in 2017 — more than $US40 billion combined.

Bezos and Zuckerberg have each seen their fortunes swell by more than $US20 billion this year as their companies’ have thrived, according to data from the Bloomberg Billionaires Index.

Amazon’s chief executive has gained $US22.6 billion year-to-date and is now the second-richest person in the world with a net worth of $US87.9 billion, trailing only Bill Gates ($US91.7 billion).

Zuckerberg is up $US20.1 billion on the year, and his $US70.1 billion fortune makes him the fifth-richest person on earth.

The secret to their riches is pretty straightforward: Both of their net worths are tied heavily to tech giants they founded and run, each of which is having a strong performance in 2017.

For Bezos, 93% of his net worth, or $US81.7 billion, is tied up in Amazon stock, dwarfing other high profile investments like rocket company Blue Origin ($US3 billion) and The Washington Post ($US250 million), according to Bloomberg data. Amazon stock is up 36% year-to-date.

Zuckerberg has nearly all of his fortune in Facebook stock as well — $US67.6 billion, or 96%. The rest is comprised of cash, real estate, and other miscellaneous assets. Facebook stock is up 41% in 2017.

NOW WATCH: Money & Markets videos

Business Insider Emails & Alerts

Site highlights each day to your inbox.

Follow Business Insider Australia on Facebook, Twitter, LinkedIn, and Instagram.