'max profit' is extracted from Thinkorswim dialog window.
Call Spread = 165/175
Max Profit = 175-165 = 10 minus cost (4.53) = 5.47 ($547)
In your picture, price of 165 = 7
Your showing cost of 180 but cost of 175 must be 2.47
Cost of trade = 7 minus 2.47 = 4.53 ($453)
Spread = 10 (175-165)
Cost = 4.53 (7-2.47)
Max Profit = 5.47 (10-4.53)