In most states, children are required to attend school from the age of six or seven (generally, kindergarten or first grade) until they turn eighteen (generally bringing them through twelfth grade, the end of high school); some states allow students to leave school at sixteen or seventeen. About 12% of children are enrolled in parochial or nonsectarian private schools. Just over 2% of children are homeschooled.