While sleep positively impacts well-being, health, and productivity, the effects of societal factors on sleep remain underexplored. Here we analyze the sleep of 30,082 individuals across 11 countries using 52 million activity records from wearable devices. Our data are consistent with past studies of gender and age-associated sleep characteristics. However, our analysis of wearable device data uncovers differences in recorded vs. self-reported bedtime and sleep duration. The dataset allowed us to study how country-specific metrics such as GDP and cultural indices relate to sleep in groups and individuals. Our analysis indicates that diverse sleep metrics can be represented by two dimensions: sleep quantity and quality. We find that 55% of the variation in sleep quality, and 63% in sleep quantity, are explained by societal factors. Within a societal boundary, individual sleep experience was modified by factors like exercise. Increased exercise or daily steps were associated with better sleep quality (for example, faster sleep onset and less time awake in bed), especially in countries like the U.S. and Finland. Understanding how social norms relate to sleep will help create strategies and policies that enhance the positive impacts of sleep on health, such as productivity and well-being.