A recent survey of 2,000 people by mattress company Amerisleep suggests “perfectly happy” people get 7.1 hours of sleep per night.

"Mostly happy" people sleep seven hours and "somewhat happy" people sleep 6.9 hours, the study shows. Women reported getting the least amount of sleep, and those reporting the fewest hours also said they were the least happy.

“Less than 6.8 hours of sleep meant complete unhappiness in relationships, constant worry, and never a shred of gratitude,” the report states.

The survey also found that those 25 or younger get a lot of sleep regardless of happiness level. Single people report sleeping the most, while separated people sleep the least. Pre-bed activities best for sleep include meditation or taking a shower, and activities associated with less sleep include working or playing video games, according to the report.

The National Sleep Foundation recommends adults ages 18 to 64 sleep between seven and nine hours a night. Children and teenagers require more.

If you're thinking about suicide or know someone who is, you can call the National Suicide Prevention Lifeline 24/7 at 1-800-273-8255. You can also text the Crisis Text Line at 741-741 to connect with a trained crisis counselor right away.