Homes in DN2 sell for a median of £180,000 across 307 sales over two years (HM Land Registry), which is 0% against the Doncaster median of £180,000. Set against the local average rent of £691 a month (ONS), that implies a 4.6% gross yield here versus 4.6% for Doncaster as a whole.
Rents are published per district, not per postcode, so the yield above applies the Doncaster average rent to DN2 prices. It's the right way to compare postcodes on entry price, but rents do vary street by street, and gross yield ignores costs, voids and mortgage interest.
DN2 averages tell you where to look, not whether one particular flat stacks up. Paste a listing and gemhome runs the actual numbers: yield, cash flow, the lender stress test, EPC work and what the public records say about that specific address.
Check a buy-to-let