How does the divorced spouse Social Security rule work?

If your marriage lasted at least 10 years and you are currently unmarried, you may claim up to 50% of your ex-spouse’s full retirement age benefit if it exceeds your own. Your claim has no effect on your former spouse’s benefit or any benefits their current spouse may receive.