ovulation

I was wondering if anyone knows how long an egg survives. I've heard 12-24 hours others say 72 hours .. I know sperm can survive for 5 days.