Sperm survival

I’m confused. How long does sperm survive? Some sites say 5 days. But then there are other sites including the instructions to my ovulation kit that say up to 3 days. Which one is it? I’ve always heard 5 days.