Persistfolio
Smart Dataset Explorer · 2023 CDC Youth Risk Behavior Survey

Sleep and academic performance: do students who sleep more report better grades?

How does the share of students reporting mostly A’s (or A’s and B’s) differ by how many hours they sleep on a school night?

Survey-weighted estimates for U.S. high school students (grades 9–12) · 13,937 students answered both questions · data release student-health-yrbs2023-r1 · published December 1, 2026

Main finding

Students who sleep 7 or 8 hours on school nights report mostly A's most often: 51.7% at 8 hours, compared with 31.1% at 4 hours or less. The pattern is not "more is always better": at 9 hours and 10 hours or more the share is lower again.

An association in self-reported survey answers, not evidence that one causes the other, and not a prediction for any student.

Share reporting mostly A's, by school-night sleep

Overall: Mostly A's
43.7%
95% CI 40.2%–47.2% · n=13,937
Highest group
51.7%
8 hours
Lowest group
31.1%
4 hours or less
4 hours or less vs 8 hours
−20.6 pts
95% CI −26.5 to −14.6

Mostly A's, by school-night sleep (hours)

U.S. high school students, 2023. Share among students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).

Survey-weighted estimate95% confidence interval* Imprecise (relative SE > 30%)n = students in the denominator (unweighted)
Table of estimates
Mostly A's by school-night sleep (hours). Denominator: students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).
School-night sleep (hours)Students (n)Weighted %95% CISE (pts)Reliability
4 hours or less1,27431.1%25.5%–37.4%3.00reliable
5 hours2,03134.1%29.8%–38.7%2.23reliable
6 hours3,45141.0%37.2%–44.9%1.92reliable
7 hours3,96549.3%45.5%–53.2%1.93reliable
8 hours2,42251.7%46.9%–56.4%2.39reliable
9 hours59544.8%38.3%–51.6%3.37reliable
10 hours or more19938.9%29.4%–49.3%5.08reliable
All in this group13,93743.7%40.2%–47.2%1.78reliable
Comparisons between groups
Differences in percentage points with design-based 95% confidence intervals (t on 73 degrees of freedom). Many comparisons are shown; treat a single interval that barely excludes zero with caution.
ComparisonDifference95% CIpInterval
4 hours or less vs 8 hours−20.6−26.5 to −14.6<0.001excludes 0
5 hours vs 8 hours−17.6−22.5 to −12.7<0.001excludes 0
6 hours vs 8 hours−10.7−14.9 to −6.4<0.001excludes 0
7 hours vs 8 hours−2.3−5.8 to +1.20.186includes 0
9 hours vs 8 hours−6.9−13.4 to −0.30.040excludes 0
10 hours or more vs 8 hours−12.8−23.9 to −1.70.025excludes 0
10 hours or more vs 4 hours or less+7.8−4.8 to +20.30.223includes 0

Key findings

  • Across the 7 sleep answers, the share reporting mostly A's rises from 31.1% (4 hours or less) through 41.0% (6 hours) to 49.3% (7 hours) and 51.7% (8 hours).
  • It is lower at 9 hours (44.8%; difference from 8 hours −6.9 percentage points, 95% CI −13.4 to −0.3; the 95% interval excludes zero) and at 10 hours or more (38.9%; −12.8 percentage points, 95% CI −23.9 to −1.7; the 95% interval excludes zero). Only 199 students report 10 hours or more, so that estimate is uncertain.
  • Mostly A's or B's follows the same shape: 57.8% at 4 hours or less, 82.3% at 8 hours. Mostly D's or F's is most common among the shortest sleepers (20.0% at 4 hours or less vs 4.6% at 8 hours).
  • In three groups, the share reporting mostly A's is 49.7% for 8 hours or more and 33.0% for 5 hours or less: a difference of +16.7 percentage points, 95% CI +12.1 to +21.4; the 95% interval excludes zero.
  • The gap in mostly A's or B's between 8+ and ≤5 hours is positive for both female and male students and positive in every grade from 9th to 12th (6 of 6 intervals exclude zero).
  • Within each social media frequency group the direction is the same (8+ hours above ≤5 hours in 5 of 5 groups), but 3 of those 5 intervals include zero because the non-user and light-user groups are small.

Grade distribution in each sleep group

Grade distribution in each sleep group

Survey-weighted share of students in each grade category; each bar adds to 100%.

Mostly A'sMostly B'sMostly C'sMostly D's or F's

Share reporting mostly A's or B's, by school-night sleep

Widening the outcome to mostly A's or B's counts more students as doing well; the comparison across sleep answers is the same as above.

Share reporting mostly A's or B's, by school-night sleep

U.S. high school students, 2023. Share among students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).

Survey-weighted estimate95% confidence interval* Imprecise (relative SE > 30%)n = students in the denominator (unweighted)
Table of estimates
Mostly A's or B's by school-night sleep (hours). Denominator: students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).
School-night sleep (hours)Students (n)Weighted %95% CISE (pts)Reliability
4 hours or less1,27457.8%51.3%–63.9%3.17reliable
5 hours2,03165.6%61.6%–69.4%1.97reliable
6 hours3,45174.6%70.9%–77.9%1.75reliable
7 hours3,96581.7%78.6%–84.5%1.48reliable
8 hours2,42282.3%78.6%–85.5%1.72reliable
9 hours59580.5%73.7%–85.9%3.05reliable
10 hours or more19972.2%60.6%–81.4%5.26reliable
All in this group13,93775.6%72.8%–78.2%1.34reliable
Comparisons between groups
Differences in percentage points with design-based 95% confidence intervals (t on 73 degrees of freedom). Many comparisons are shown; treat a single interval that barely excludes zero with caution.
ComparisonDifference95% CIpInterval
4 hours or less vs 8 hours−24.6−30.4 to −18.8<0.001excludes 0
5 hours vs 8 hours−16.7−20.7 to −12.7<0.001excludes 0
6 hours vs 8 hours−7.7−11.5 to −4.0<0.001excludes 0
7 hours vs 8 hours−0.6−4.1 to +2.90.730includes 0
9 hours vs 8 hours−1.9−7.7 to +4.00.530includes 0
10 hours or more vs 8 hours−10.2−19.8 to −0.50.039excludes 0
10 hours or more vs 4 hours or less+14.4+4.0 to +24.90.007excludes 0

Share reporting mostly D's or F's, by school-night sleep

The other end of the grade scale: the share of students reporting mostly D's or F's.

Share reporting mostly D's or F's, by school-night sleep

U.S. high school students, 2023. Share among students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).

Survey-weighted estimate95% confidence interval* Imprecise (relative SE > 30%)n = students in the denominator (unweighted)
Table of estimates
Mostly D's or F's by school-night sleep (hours). Denominator: students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).
School-night sleep (hours)Students (n)Weighted %95% CISE (pts)Reliability
4 hours or less1,27420.0%15.8%–24.9%2.28reliable
5 hours2,03111.3%9.1%–14.1%1.26reliable
6 hours3,4516.8%5.1%–8.9%0.95reliable
7 hours3,9655.6%4.2%–7.5%0.82reliable
8 hours2,4224.6%3.4%–6.1%0.67reliable
9 hours5954.9%2.7%–8.9%1.48imprecise
10 hours or more19913.6%7.0%–24.8%4.35imprecise
All in this group13,9377.8%6.4%–9.4%0.75reliable
Comparisons between groups
Differences in percentage points with design-based 95% confidence intervals (t on 73 degrees of freedom). Many comparisons are shown; treat a single interval that barely excludes zero with caution.
ComparisonDifference95% CIpInterval
4 hours or less vs 8 hours+15.4+11.1 to +19.7<0.001excludes 0
5 hours vs 8 hours+6.8+4.4 to +9.2<0.001excludes 0
6 hours vs 8 hours+2.2+0.2 to +4.20.033excludes 0
7 hours vs 8 hours+1.0−0.7 to +2.70.225includes 0
9 hours vs 8 hours+0.3−2.8 to +3.50.832includes 0
10 hours or more vs 8 hours+9.0+0.7 to +17.30.033excludes 0
10 hours or more vs 4 hours or less−6.4−15.3 to +2.50.158includes 0

Mostly A's: three sleep groups

The same question in three broader sleep groups (5 hours or less, 6–7 hours, 8 hours or more), the grouping used in the dataset's research notebook. Broader groups give narrower intervals.

Mostly A's: three sleep groups

U.S. high school students, 2023. Share among students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).

Survey-weighted estimate95% confidence interval* Imprecise (relative SE > 30%)n = students in the denominator (unweighted)
Table of estimates
Mostly A's by school-night sleep (3 groups). Denominator: students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).
School-night sleep (3 groups)Students (n)Weighted %95% CISE (pts)Reliability
5 hours or less3,30533.0%28.8%–37.4%2.17reliable
6–7 hours7,41645.5%41.9%–49.2%1.84reliable
8 hours or more3,21649.7%45.3%–54.1%2.22reliable
All in this group13,93743.7%40.2%–47.2%1.78reliable
Comparisons between groups
Differences in percentage points with design-based 95% confidence intervals (t on 73 degrees of freedom). Many comparisons are shown; treat a single interval that barely excludes zero with caution.
ComparisonDifference95% CIpInterval
6–7 hours vs 5 hours or less+12.5+9.4 to +15.7<0.001excludes 0
8 hours or more vs 5 hours or less+16.7+12.1 to +21.4<0.001excludes 0

Mostly A's or B's by sleep, within each sex

Is the sleep gap present for both female and male students? Each panel repeats the comparison within one group.

Mostly A's or B's by sleep, within each sex

U.S. high school students, 2023. Share among students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).

Female

Male

Survey-weighted estimate95% confidence interval* Imprecise (relative SE > 30%)n = students in the denominator (unweighted)
Table of estimates
Mostly A's or B's by school-night sleep (3 groups), within sex. Denominator: students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).
SexSchool-night sleep (3 groups)Students (n)Weighted %95% CISE (pts)Reliability
Female5 hours or less1,75267.9%64.1%–71.6%1.89reliable
Female6–7 hours3,62082.4%79.2%–85.3%1.54reliable
Female8 hours or more1,52283.7%79.8%–87.0%1.81reliable
FemaleAll in this group6,89479.2%76.6%–81.5%1.23reliable
Male5 hours or less1,52656.7%51.7%–61.4%2.44reliable
Male6–7 hours3,76374.8%71.0%–78.2%1.81reliable
Male8 hours or more1,67979.8%74.7%–84.1%2.35reliable
MaleAll in this group6,96872.3%68.7%–75.7%1.77reliable
Comparisons between groups
Differences in percentage points with design-based 95% confidence intervals (t on 73 degrees of freedom). Many comparisons are shown; treat a single interval that barely excludes zero with caution.
SexComparisonDifference95% CIpInterval
Female6–7 hours vs 5 hours or less+14.5+11.3 to +17.7<0.001excludes 0
Female8 hours or more vs 5 hours or less+15.7+10.7 to +20.8<0.001excludes 0
Male6–7 hours vs 5 hours or less+18.1+13.6 to +22.6<0.001excludes 0
Male8 hours or more vs 5 hours or less+23.2+18.5 to +27.9<0.001excludes 0

Mostly A's or B's by sleep, within each grade level

The same check within each grade level, 9th to 12th.

Mostly A's or B's by sleep, within each grade level

U.S. high school students, 2023. Share among students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).

9th grade

10th grade

11th grade

12th grade

Survey-weighted estimate95% confidence interval* Imprecise (relative SE > 30%)n = students in the denominator (unweighted)
Table of estimates
Mostly A's or B's by school-night sleep (3 groups), within grade level. Denominator: students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).
Grade levelSchool-night sleep (3 groups)Students (n)Weighted %95% CISE (pts)Reliability
9th grade5 hours or less83362.7%56.6%–68.4%2.98reliable
9th grade6–7 hours1,96177.8%74.1%–81.2%1.77reliable
9th grade8 hours or more1,11481.2%75.7%–85.7%2.50reliable
9th gradeAll in this group3,90875.9%72.5%–79.0%1.64reliable
10th grade5 hours or less88354.9%47.7%–61.9%3.59reliable
10th grade6–7 hours1,90277.2%73.0%–81.0%1.99reliable
10th grade8 hours or more84181.7%76.8%–85.8%2.27reliable
10th gradeAll in this group3,62673.1%69.1%–76.8%1.93reliable
11th grade5 hours or less81765.9%60.1%–71.2%2.80reliable
11th grade6–7 hours1,82479.3%74.9%–83.1%2.06reliable
11th grade8 hours or more70778.6%67.8%–86.6%4.71reliable
11th gradeAll in this group3,34876.0%71.8%–79.8%2.01reliable
12th grade5 hours or less74468.7%60.7%–75.7%3.78reliable
12th grade6–7 hours1,67079.3%74.8%–83.2%2.10reliable
12th grade8 hours or more52885.1%80.7%–88.7%1.98reliable
12th gradeAll in this group2,94277.9%73.8%–81.4%1.91reliable
Comparisons between groups
Differences in percentage points with design-based 95% confidence intervals (t on 73 degrees of freedom). Many comparisons are shown; treat a single interval that barely excludes zero with caution.
Grade levelComparisonDifference95% CIpInterval
9th grade6–7 hours vs 5 hours or less+15.1+9.5 to +20.8<0.001excludes 0
9th grade8 hours or more vs 5 hours or less+18.5+11.8 to +25.3<0.001excludes 0
10th grade6–7 hours vs 5 hours or less+22.3+15.7 to +28.9<0.001excludes 0
10th grade8 hours or more vs 5 hours or less+26.8+19.7 to +33.8<0.001excludes 0
11th grade6–7 hours vs 5 hours or less+13.4+7.8 to +19.0<0.001excludes 0
11th grade8 hours or more vs 5 hours or less+12.8+2.4 to +23.10.016excludes 0
12th grade6–7 hours vs 5 hours or less+10.6+3.4 to +17.80.005excludes 0
12th grade8 hours or more vs 5 hours or less+16.4+8.3 to +24.5<0.001excludes 0

Mostly A's by sleep, within each social media frequency group

Students who use social media more often also tend to sleep less, so the sleep comparison is repeated within each social media frequency group.

Mostly A's by sleep, within each social media frequency group

U.S. high school students, 2023. Share among students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).

Do not use

Less than daily

About once a day

Several times a day

About hourly or more

Survey-weighted estimate95% confidence interval* Imprecise (relative SE > 30%)n = students in the denominator (unweighted)
Table of estimates
Mostly A's by school-night sleep (3 groups), within social media frequency (5 groups). Denominator: students who reported an A–F grade ('None of these grades', 'Not sure' and blanks excluded).
Social media frequency (5 groups)School-night sleep (3 groups)Students (n)Weighted %95% CISE (pts)Reliability
Do not use5 hours or less17149.0%32.0%–66.2%8.93reliable
Do not use6–7 hours32651.2%41.6%–60.7%4.84reliable
Do not use8 hours or more24857.6%51.3%–63.6%3.10reliable
Do not useAll in this group74552.9%46.2%–59.4%3.32reliable
Less than daily5 hours or less27037.2%28.2%–47.1%4.78reliable
Less than daily6–7 hours49843.7%36.3%–51.3%3.80reliable
Less than daily8 hours or more25748.8%37.0%–60.7%6.06reliable
Less than dailyAll in this group1,02543.1%36.6%–49.9%3.36reliable
About once a day5 hours or less14343.0%28.1%–59.3%8.08reliable
About once a day6–7 hours40148.1%39.6%–56.8%4.37reliable
About once a day8 hours or more21055.7%42.9%–67.8%6.38reliable
About once a dayAll in this group75449.3%41.5%–57.2%3.98reliable
Several times a day5 hours or less1,09234.0%28.5%–40.0%2.92reliable
Several times a day6–7 hours2,79348.9%44.2%–53.6%2.37reliable
Several times a day8 hours or more1,12651.5%46.6%–56.4%2.45reliable
Several times a dayAll in this group5,01146.5%42.3%–50.8%2.14reliable
About hourly or more5 hours or less1,33127.0%22.9%–31.4%2.14reliable
About hourly or more6–7 hours2,63039.7%35.3%–44.3%2.27reliable
About hourly or more8 hours or more1,02044.0%38.2%–50.0%2.97reliable
About hourly or moreAll in this group4,98137.5%33.9%–41.2%1.86reliable
Comparisons between groups
Differences in percentage points with design-based 95% confidence intervals (t on 73 degrees of freedom). Many comparisons are shown; treat a single interval that barely excludes zero with caution.
Social media frequency (5 groups)ComparisonDifference95% CIpInterval
Do not use6–7 hours vs 5 hours or less+2.2−18.6 to +23.00.833includes 0
Do not use8 hours or more vs 5 hours or less+8.6−9.5 to +26.70.347includes 0
Less than daily6–7 hours vs 5 hours or less+6.5−5.0 to +18.00.262includes 0
Less than daily8 hours or more vs 5 hours or less+11.7−1.3 to +24.70.077includes 0
About once a day6–7 hours vs 5 hours or less+5.1−12.7 to +22.90.568includes 0
About once a day8 hours or more vs 5 hours or less+12.7−9.2 to +34.60.253includes 0
Several times a day6–7 hours vs 5 hours or less+14.9+8.9 to +20.9<0.001excludes 0
Several times a day8 hours or more vs 5 hours or less+17.5+11.8 to +23.2<0.001excludes 0
About hourly or more6–7 hours vs 5 hours or less+12.8+7.9 to +17.6<0.001excludes 0
About hourly or more8 hours or more vs 5 hours or less+17.0+9.6 to +24.4<0.001excludes 0

What was measured

  • Grades: “During the past 12 months, how would you describe your grades in school?” (Q87). Students choose mostly A's, B's, C's, D's or F's, “None of these grades” or “Not sure”. Only students who chose a letter grade are included.
  • Sleep: “On an average school night, how many hours of sleep do you get?” (Q85). Answers are in CDC’s categories; groups are formed from them before looking at results.
  • Who is included: students who answered both questions in the 2023 national Youth Risk Behavior Survey of public and private high schools (13,937 students). Each estimate is the survey-weighted share within a group, so it describes U.S. high school students, not only the students sampled.

Methods and limitations

Methodology
  • Data: Persistfolio release student-health-yrbs2023-r1 of the 2023 CDC national Youth Risk Behavior Survey (20,103 questionnaires from U.S. students in grades 9–12), with CDC's original response codes. Dataset page and free download.
  • Estimates: survey-weighted proportions within each group, using CDC's weight, so they describe U.S. high school students rather than only the students sampled. Groups are defined from CDC's answer codes before looking at results.
  • Uncertainty: 95% confidence intervals use Taylor-series linearization with CDC's 16 strata and 89 primary sampling units (with-replacement, 73 degrees of freedom), a logit-transformed t interval for each share and a t interval for each difference. Groups are estimated within the full design, never by cutting the sample.
  • Check against CDC: this method gives 77.0% (73.5%–80.1%) for students using social media several times a day or more, matching CDC's published estimate. Every number on the research pages is also recomputed by an independent Python script and compared in automated tests.
  • Reliability rules (Persistfolio): a group with fewer than 100 students is not estimated; an estimate with a relative standard error above 30% is marked imprecise. Unweighted group sizes (n) are shown next to every estimate.
  • Denominators: each outcome counts only students who answered that question; grade outcomes exclude "None of these grades", "Not sure" and blanks. A student is included in a comparison only if they answered every question it uses.
Limitations
  • All answers are self-reported on one questionnaire at one time (cross-sectional). Results are associations, not causes or effects.
  • Grades are students' own descriptions, not school records. Social media is measured as frequency of use, not time spent, platform or content.
  • Other differences between groups (school, family, health, workload) are not controlled. Splitting by one other factor is a consistency check, not an adjustment for everything else.
  • Only students in school on the survey day are represented; the overall response rate was 35.4%. Weights adjust for known nonresponse patterns but cannot remove every bias.
  • Intervals reflect sampling error only. Many comparisons are possible; a single interval that barely excludes zero deserves caution.
  • No result here predicts the grades, health or behaviour of any individual student.

Source: CDC, 2023 national Youth Risk Behavior Survey. The original YRBS data and documentation are available free of charge from CDC. Use of CDC data, and any link to CDC, ATSDR or HHS websites, does not imply endorsement by CDC, ATSDR, HHS or the United States Government of Persistfolio, this dataset or its conclusions.

Reproduce these numbers

Every number on this page is calculated from the free dataset release student-health-yrbs2023-r1 (dataset page), which includes survey weights, strata and PSUs, a data dictionary and an executed Python notebook. The same figures are recomputed by an independent Python script in Persistfolio's automated tests and must agree to ten decimal places before the page can be published.