The data was compiled by the charity JustGiving

Bedford has been revealed as the most generous town in the UK in terms of charity donations, according to charitable donations website JustGiving.

The town in Bedfordshire raised a total of £1,145,967 for charity from 41,631 donors between May 2013 and May 2014, according to figures released by JustGiving.

Cambridge comes closely behind as the second most generous having raised £1,440,634 for charity from 48, 295 donors.

The data was compiled by comparing the amount raised in terms of population. Aberdeen actually gave the most amount of money at £1,872,610, but has a population nearly three-times as much as first-placed Bedford.

The smallest town to make the top-ten was Brentwood, where more than a third of its 74,000 residents raised a total of £750,509 for charity.

Top-10 Most Generous Towns

Charlie Wells, chief marketing officer at JustGiving told ITV News: "Congratulations to Bedford. Looking at this data has been a real insight into how the nation donates, with some towns and cities emerging as giving hotspots.

"Online giving is transforming the way people give, helping causes to reach more people, raise more money and inspire more giving."