Champions League: How teams can qualify for the knockout rounds
The top two teams qualify for the round of 16, with the third-place team dropping into the Europa League and the bottom club eliminated from Europe.
If two teams are level on points, head-to-head record is the first tie-breaker.
The group stage is now completed.
Qualified as group winners: Barcelona, Bayern Munich, Borussia Dortmund, FC Porto, Juventus, Manchester City, Paris Saint-Germain, Real Madrid
Qualified as group runners-up: Ajax, AS Roma, Atletico Madrid, Liverpool, Lyon, Manchester United, Schalke, Tottenham Hotspur
Eliminated (drop into Europa League): Benfica, Club Brugge, Galatasaray, Inter Milan, Napoli, Shakhtar Donetsk, Valencia, Viktoria Plzen
Eliminated (bottom of group): AEK Athens, AS Monaco, CSKA Moscow, Hoffenheim, Lokomotiv Moscow, PSV Eindhoven, Red Star Belgrade, Young Boys