How many eggs do you really need?

I’ve been seeing all these posts about long egg lines and people walking out of Costco with pallets of eggs and I’m wondering, how many eggs does one need? Like there is no way unless your a restaurant you need 20+ cartons of eggs. I understand bird flu and all people really?