The City of Somerville estimates that a 2% real estate transfer fee — with 1% paid by sellers and 1% paid by buyers, and that exempts owner-occupants (defined as persons residing in the property for at least two years) — could generate up to $6 million per year for affordable housing. The hotter the market, and the greater the number of property transactions, the more such a fee would generate.