The amount of money individual schools will receive from a £120m fund to close the attainment gap has been revealed.

More than 2300 schools across Scotland will receive additional support worth thousands of pounds.

How schools spend the money to close the attainment will be up to head teachers.

The allocation of funds is based on how many pupils at primary school or in S1 to S3 are eligible for free school meals. Each eligible pupil sees their school receive around £1200.

Schools in Glasgow will receive the most funding with £21.6m going to 188 primary and secondary schools in the city.

Primary schools receiving the most money:

Secondary schools receiving the most money:

Education secretary John Swinney said: "I want every child in Scotland to have the best possible start in life and it is unacceptable for children from the poorest backgrounds to have their chances limited by circumstances outside their control.

"This government has made clear our priority is to close the poverty-related attainment gap and our new £120m pupil equity funding is aimed at doing just that.

"We are providing additional ring-fenced funding which will enable individual schools to target support where it is needed the most.

"The allocations I am announcing today will let parents, teachers and school leaders see how much funding their schools will receive in 2017-18 to help break the inter-generational cycle of deprivation."

Dalmarnock Primary School head teacher Nancy Clunie said: "This additional funding will make a huge difference to the children at our school.

"We already do a lot of work with our partners to put on activities involving parents to improve the health and well-being of the whole family, as less stressed children make better learners.

"For example, we have a weekly family meal and homework group and a summer club during the school holidays. The pupil equity funding will enable us to expand these activities."

Scottish Labour said the Scottish Governments sums do not add up for the fund.

The party's education spokesman Daniel Johnson said: "It was Labour to first put closing the attainment gap with extra funding onto the agenda in the Scottish Parliament - but we would have paid for it by asking the richest 1% to pay a little more with a 50p top rate of tax. Instead, the SNP is taking it by perversely cutting the pre-existing schools budget.

"The SNP sums simply don't add up on schools funding. Ministers cannot cut the gap between the richest and the rest while they slash £327m from local education budgets across Scotland.

"Head teachers will see this new funding alongside shrinking budgets, so it's simply SNP spin after £1.4bn of cuts since 2011."

You can find out how much money your child's school will receive by downloading the table on this link.