If Real Madrid win the trophy, they will have earned €53.5 million; if At. Madrid is the winner, they will earn €52M. FC Barcelona have earned €30.5M
One of the main attractions UEFA Champions League has is the economic reward for the teams competing. They earn money according to their result in the competition.
All the teams playing the group stage receive €12 million from UEFA. Then, €1.5M for each victory and €500,000 for every draw. In case of Barça (4 wins and 2 draws), they earned €19 million.
Then they also earned €5.5M for having reached round of 16 and €6M for arriving in quarterfinals. So in total, Barça earned €30.5M.
Right now they are the ones to have earned more, since in the group stage they had 5 wins and 1 draw, so €20M. Then, €11.5M for being in round of 16 and quarterfinals, plus €7M for playing the semifinals. In total, €38.5M.
Furthermore, they got €10.5M for having reached the final, which could become €15M if they win it. So, they will earn €49M if they lose the final or €53.5M if they win it.
The opponent of the Whites in the final have similar numbers. The only difference is that they won 4 matches instead of 5 in the group stage. So they ended this phase with €18.5M, they reached semifinals with €37M and they can get 10.5 or 15 more, depending on the final result.
So they can earn €47.5M if they lose or €52M if they win.