Cologne - The tightest relegation battle in Bundesliga history is going to go right down to the wire with a third of the clubs still fighting for survival heading into the final round of matches.

Even Hertha Berlin up in 13th cannot start to lay back and enjoy their summer just yet with everything still to play for, and nothing to be decided before approximately 17:20 CEST / 15:20 GMT on Saturday.

To help work out who needs what to stay up, bundesliga.com has all the relegation permutations for the six clubs who will be scrapping for their lives for one final 90 minutes of intense and dramatic football in the 2014/15 season.

Hertha are safe…
If they win, draw or lose by no more than one goal.

Hertha are in the play-off…
If Freiburg draw with Hannover and Stuttgart win, and Hertha lose by a scoreline which would see their goal difference drop below Hannover's (i.e. losing by more than two) or their goals scored remain inferior in the event of losing by two goals; and if Hamburg fail to win and overturn an inferior goal difference of 12.

Hertha are relegated…
If they lose by two goals or more (scoring fewer than three themselves), Freiburg draw with Hannover, Stuttgart win and HSV win by a big enough margin to overturn an inferior goal difference of 12.

Freiburg are safe…
If they pick up at least a point in Hannover.

Freiburg are in the play-off…
If they lose, Stuttgart win and HSV fail to win.

Freiburg are relegated…
If they lost and both HSV and Stuttgart win.

Hannover are safe…
If they win or if they draw and Stuttgart do not win, or if they lose by more than a single goal, if Stuttgart lose and Hamburg don't win, or if they lose by more than one goal, if Stuttgart and Hamburg both fail to win.

Hannover are in the play-off…
If they lose to Freiburg by more than a single goal and Stuttgart pick up at least a point and Hamburg do not win, or if they lose to Freiburg, Stuttgart fail to win and HSV win, or if they draw against Freiburg and Stuttgart win.

Hannover are relegated…
If they lose and both HSV and Stuttgart win, orif they lose by more than one goal, Stuttgart draw and Hamburg win.

Stuttgart are safe…
If they win their game against SC Paderborn.

Stuttgart are in the play-off…
If they draw and Hamburg don't win, but only if Hannover-Freiburg ends in a draw, or if they draw with Paderborn, Hannover lose by no more than one goal and HSV do not win, or if they win, Hannover-Freiburg ends in a draw and Hertha lose but the two results do not see Stuttgart overturn a four-goal inferior goal difference.

Stuttgart are relegated…
If they lose in Paderborn, or if they draw and Hamburg win, unless Freiburg beat Hannover by two goals or more.

Hamburg are safe…
If they beat Schalke and results elsewhere help them: Stuttgart would have to be held or beaten AND there would have to be a winner from the Hannover-Freiburg clash.

Hamburg are in the play-off…
If they beat Schalke, Stuttgart do not win and the Hannover-Freiburg game ends all square.

Hamburg are relegated…
If they fail to beat Schalke, or if they win their own game, but Stuttgart win and Hannover-Freiburg ends all square.

Paderborn are safe…
Only theoretically if they win their game, Hamburg pick up no more than a point and there is a loser in the Hannover-Freiburg game, but even then the East Westphalians would need to overturn an inferior goal difference of at least 16.

Paderborn are in the play-off…
If they beat Stuttgart, but only if HSV fail to win.

Paderborn are relegated…
If they lose or draw against Stuttgart, or if they beat Stuttgart, but HSV win at the same time.