Short put or call (standard): premium + the greater of 20% of the stock price minus the out-of-the-money amount, or 10% of the strike (puts) / stock price (calls).
Defined-risk spreads: requirement is the width × 100; the credit you receive offsets it, so buying power used = (width − credit) × 100.
Portfolio margin uses risk-based stress tests and can be much lower or higher.