Towns across Ayrshire have dominated a recent list showing the most affordable places to buy a home in the UK with one making the top spot.

The research, which was carried out by Zoopla, looked at a locality's median house value to create a ratio showing how much a home costs compared to a couple's annual salary.

Speaking of the research, the online property site said: "Places with the cheapest house prices aren’t always the most affordable if local wages are also low.

"Our latest analysis shows that couples have to spend 3.8 times their combined annual salary to buy the average UK home, worth £276,000."

Ayrshire Today: Girvan, Cumnock, Saltcoats, Ardrossan and Irvine were the Ayrshire spots named among the most affordable places by Zoopla.Girvan, Cumnock, Saltcoats, Ardrossan and Irvine were the Ayrshire spots named among the most affordable places by Zoopla. (Image: Getty)

See the Ayrshire town named the most affordable place to buy a home in the UK

Cumnock in East Ayrshire was named the most affordable place to buy a home in the UK by Zoopla with a median house value of £79,030.

The average income of a couple in this area was found to be around £75,665, making the 'house price to earnings ratio' 1.04.

Also on the list were the Ayrshire towns of Saltcoats, Ardrossan, Girvan and Irvine.

Other Scottish locations like Wishaw, Greenock and Port Glasgow were also listed with only two spots outside of Scotland making the cut.

See the UK's 10 most affordable places to buy a home

Here are the most affordable towns to buy a home in the UK, including the median values, average annual earnings and ratios of each area.

Cumnock, Scotland

Value of a home: £79,030

Annual income: £75,665

Ratio: 1.04

Shildon, North East

Value of a home: £69,650

Annual income: £65,438

Ratio: 1.06

Greenock, Scotland

Value of a home: £93,790

Annual income: £76,700

Ratio: 1.22

Saltcoats, Scotland

Value of a home: £93,190

Annual income: £74,949

Ratio: 1.24

Ardrossan, Scotland

Value of a home: £94,170

Annual income: £74,949

Ratio: 1.26

Ayrshire Today: Only two spots outside of Scotland made the list.Only two spots outside of Scotland made the list. (Image: Getty)

Girvan, Scotland

Value of a home: £102,130

Annual income: £80,426

Ratio: 1.27

Irvine, Scotland

Value of a home: £95,965

Annual income: £74,949

Ratio: 1.28

Port Glasgow, Scotland

Value of a home: £98,710

Annual income: £76,700

Ratio: 1.29

Peterlee, North East

Value of a home: £85,300

Annual income: £65,438

Ratio: 1.30

Wishaw, Scotland

Value of a home: £98,695

Annual income: £75,334

Ratio: 1.31