(STACKER) – Want to make a comedian laugh? Tell them you’re getting into comedy to get rich. They might tell you the road ahead is bumpy at best and downright soul-crushing at worst, as one navigates through lonely hotel rooms and lifeless audiences while honing their craft. Only the truly passionate need apply because anyone else is bound to be disappointed.

And yet, for the precious few who do succeed, comedy can pay off quite handsomely. For proof, look no further than the world’s richest comedians. Whether through writing, performing, or both, these individuals have forged an enduring path and reaped spectacular rewards as a result. It’s said that laughter is the best medicine. And they’ve deftly managed to fill the most prescriptions.

So who’s earned the most buck for their comedic bang? Examples include such comedians as ventriloquist Jeff Dunham, movie star Adam Sandler, and iconic show creator Seth MacFarlane, among other funny people. If there’s a throughline, it’s that one must find their own distinctive voice and nurture it over time, even as one evolves stylistically or explores different mediums.

Stacker gathered data from Celebrity Net Worth on entertainment’s richest comedians and itemized the top 25 by current net worth. The net worth figures on this list were calculated using a proprietary formula that factored in the publicly available data about each person including salaries, real estate holdings, divorces, record sales, royalties, and endorsements—minus estimated taxes, manager’s fees, agent fees, and lifestyle expenses.

#25. Jeff Dunham

– Net worth: $140 million

#24. Bill Maher

– Net worth: $140 million

#23. Rowan Atkinson

– Net worth: $150 million

#22. Joan Rivers

– Net worth: $150 million

#21. Terry Fator

– Net worth: $160 million

#20. Stefan Raab

– Net worth: $160 million

#19. Sacha Baron Cohen

– Net worth: $160 million

#18. Drew Carey

– Net worth: $165 million

#17. Bill Murray

– Net worth: $180 million

#16. Steve Harvey

– Net worth: $200 million

#15. Ray Romano

– Net worth: $200 million

#14. Conan O’Brien

– Net worth: $200 million

#13. Dan Aykroyd

– Net worth: $250 million

#12. Seth MacFarlane

– Net worth: $300 million

#11. Larry David

– Net worth: $400 million

#10. David Letterman

– Net worth: $400 million

#9. Adam Sandler

– Net worth: $440 million

#8. Kevin Hart

– Net worth: $450 million

#7. Jay Leno

– Net worth: $450 million

#6. Ellen DeGeneres

– Net worth: $500 million

#5. Trey Parker

– Net worth: $600 million

#4. Matt Groening

– Net worth: $600 million

#3. Matt Stone

– Net worth: $700 million

#2. Byron Allen

– Net worth: $800 million

#1. Jerry Seinfeld

– Net worth: $950 million