The relationship between executive functions (EF) and academic achievement is wellestablished, but leveraging this insight to improve educational outcomes remains elusive. Here, we propose a framework for relating the role of specific EF on specific precursor skills that support later academic learning. Starting from the premise that executive functions contribute to general math skills both directly -supporting the execution of problem solving strategies -and indirectly -supporting the acquisition of precursor mathematical content, we hypothesize that the contribution of domain-general EF capacities to precursor skills that support later learning can help explain relations between EF and overall math skills. We test this hypothesis by examining whether the contribution of inhibitory control on general math knowledge can be explained by inhibition's contribution to processing rational number pairs that conflict with individual's prior whole number knowledge. In 97 college students (79 female, age = 20.58 years), we collected three measures of EF: working memory (backwards spatial span), inhibition (color-word Stroop) and cognitive flexibility (task switching), and timed and untimed standardized measures of math achievement. Our target precursor skill was a decimals comparison task where correct responses were inconsistent with prior whole number knowledge (e.g., 0.27 vs. 0.9). Participants performed worse on these trials relative to the consistent decimals pairs (e.g., 0.2 vs. 0.87). Individual differences in the Stroop task predicted performance on inconsistent decimal comparisons, which in turn predicted general math achievement. With respect to relating inhibitory control to math achievement, Stroop performance was an independent predictor of achievement after accounting for age, working memory and cognitive flexibility, but decimal performance mediated this relationship. Finally, we found inconsistent decimals performance mediated the relationship of inhibition with rational number performance, but not other advanced mathematical concepts. These results pinpoint the specific contribution of inhibitory control to rational number understanding, and more broadly are consistent with the hypothesis that acquisition of foundational mathematical content can explain the relationships between executive functions and academic outcomes, making them promising targets for intervention.