In the US, K-12 education lasts for thirteen years, split into elementary school (K-5), middle school (6-8), and high school (9-12). Each level is tailored for different ages and builds on what was learned before.