Three days is the right amount of time for a first trip to London. It covers the big four (Westminster Abbey, the Tower of London, St Paul's and the British Museum), plus the London Eye, Borough Market and the Natural History Museum, without spending half the trip on the Tube. The trick is to give each day one part of the city and walk it in a line.
So this is the plan I'd follow. Day 1 is Westminster: the Abbey, Churchill's war rooms, St James's Park, Buckingham Palace and the London Eye. Day 2 is the City and Bankside: the Tower, Tower Bridge, lunch at Borough Market, Tate Modern and St Paul's. Day 3 is the free museums and the parks: the British Museum, the Natural History Museum and a long walk across Hyde Park to Kensington. You'll walk 5-8 km a day, with one Tube ride on Day 3.
The order of the days matters more in London than in most cities, because the big sights close on different days. Westminster Abbey is shut to sightseers on Sundays, St Paul's sightseeing runs Monday to Saturday, and Borough Market is closed on Mondays (except from 30 November through December, when it opens daily for Christmas). Keep Days 1 and 2 on weekdays or Saturday, and put Day 3 on the Sunday if your trip has one. Prices are 2026 adult prices, and London has no tourist tax yet.
Got less time? The one-day London itinerary does the river from the Tower to Westminster in a single walk, and the two-day version splits Westminster and the City. Got longer? The five-day itinerary adds Greenwich by boat and Notting Hill. For everything else worth doing, see the best things to do in London.