See How Jeff Bezos’ $2B Charity Compares to Buffett, Gates and Zuck

In the race to become the world’s first minted trillionaire, Jeff Bezos has a solid lead over runner-up Bill Gates. As for the third and fourth spots, the net worths of Warren Buffett and Mark Zuckerberg are practically neck-and-neck, according to the Bloomberg Billionaires Index. For people keeping score, four out of the top five world’s richest people are Americans, Zuckerberg’s wealth now tops Buffett’s and the majority of these wealthy people have gained their wealth via technology companies.

Among the world’s top billionaires, there’s a competition secondary to amassing the world’s wealth: Giving it all away. A common thread among the self-made billionaires — aside from their massive fortunes — is generosity and commitment to philanthropy. But they don’t all give equally.

Click to see the celebrities like Buffett who donate millions to charity.

Bill Gates and Warren Buffett: The Giving Pledge

Furthering their commitment to philanthropy, Bill and Melinda Gates created the Giving Pledge alongside their friend and fellow billionaire-philanthropist Warren Buffett in 2010. Buffett has long maintained that he will give away more than 99 percent of his wealth, which is currently $82.1 billion. He routinely makes charitable gifts to his foundations and the foundations for each of his three children. Of the top billionaires, Buffett is leading in the percentage of wealth he’s giving away.

Bill Gates: The Bill & Melinda Gates Foundation

Last year, Bill Gates donated $4.6 billion worth of Microsoft shares, about 5 percent of his $94.9 billion fortune. The Bill & Melinda Gates Foundation has been Gates’ primary focus since he left his day job at Microsoft in 2008 and stepped down as chairman of the board in 2014. As of the fourth quarter of 2016, the foundation has granted $41.3 billion in charitable donations since its establishment in 2000.

Check Out: 36 Celebrities Who Use Their Wealth to Pay It Forward

Mark Zuckerberg: The Chan Zuckerberg Initiative

At 34, Facebook’s CEO is the youngest of the super-rich, and Zuckerberg also seems to be following the playbook of the super-rich. Buffett, Gates and Zuckerberg have all committed to giving their children modest inheritances relative to their massive fortunes.