This dataset contains replication data for the peer-reviewed article "Formal vs. informal mathematics: Assessing numeracy with school and market items in a large sample of school-aged children in North-West Nigeria". The article assesses the skill gap between formal and informal mathematics in school-aged children in North-West Nigeria. The dataset includes raw data, analysis data, and code files to replicate the analysis.