Options Trading Tools
This assumes a standard long calendar: sell a near-dated option and buy a longer-dated option at the same strike.
Enter what you paid and collected on each leg, then click Calculate Max Loss to see your net debit and capital at risk.