Homes in W12 sell for a median of £635,000 across 530 sales over two years (HM Land Registry), which is -8% against the Hammersmith and Fulham median of £690,000. Set against the local average rent of £2,796 a month (ONS), that implies a 5.3% gross yield here versus 4.9% for Hammersmith and Fulham as a whole.
Rents are published per district, not per postcode, so the yield above applies the Hammersmith and Fulham average rent to W12 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.
W12 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