Fairport and Webster rank among the top 10 places to retire in New York.

The Rochester suburbs ranked third and sixth respectively, a report from Smart Asset shows.

Smart Asset studied state and local income and sales tax rates and calculated effective rates based on a typical retiree, earning $35,000 annually and spending their disposable income on taxable goods. It also looked at the number of doctors’ offices, recreation centers and retirement centers per thousand residents in each area. Smart Asset also determined the number of seniors in each area as a percentage of the total population.

Fairport’s effective tax rate is 17.9 percent and has 7.8 doctors’ offices per 1,000 people, the report states. The area has 3.5 recreation centers and 0.7 retirement centers per 1,000 people. More than 21 percent of Fairport’s residents are seniors.

Webster and Fairport have the same tax rate, with 7.1 doctors’ offices per 1,000 people, four recreation centers and 0.4 retirement centers per 1,000 people. Nearly 15 percent of Webster’s population is seniors.

Great Neck in Nassau County took the top position on the list.