Thanks to goals from Roberto Firmino, Nathaniel Phillips and Alex Oxlade-Chamberlain.
Liverpool are above fifth-placed Leicester on goal difference, with the Reds on +24 and the Foxes on +20.
If Jurgen Klopp's side win their final game at home to Crystal Palace on Sunday, they should finish in the top four and salvage a difficult campaign that saw them tamely surrender the title to Manchester City.
Leicester host Tottenham on Sunday, while third-placed Chelsea, one point above Liverpool, travel to Aston Villa.
“We had to win the ‘semi-final' and we did. Nothing is decided yet but we improved our position and we have the final,” Klopp said.
“That's what we needed. It's what we deserve because this was a top performance.”
Fifth and sixth place finishes secure a spot in next season's Europa League, while seventh place brings entry into a play-off for the new Europa Conference League.
This article was most recently revised and updated 2 years ago