For call options, this is the difference between the stock price and the striking price, if that difference is a positive number, or zero otherwise. For put option it is the difference between the striking price and the stock price, if that difference is positive, and zero otherwise. Typical types of diagonal spreads are diagonal

