A Federal Tax calculator I made after finding out my tax savings would be $12k if I married my girlfriend.
If you stay married for at least ten years, and one spouse has a significantly better social security record, the other spouse can claim spousal benefits if your marriage is still in force or they are unmarried.
Hard to value that though.
Depending on circumstances, you might save considerably more in other areas - being covered as a spouse on the other's employer health insurance, reduced car insurance rates, state & local tax savings, ...
[dead]
Divorce is way more expensive than your savings. I went through this; you save $12-16k/yr for 10 years and if you invest the difference smartly, it's $300k.
Without a prenup, and most don't cover earnings during your marriage anyway (They're hard to keep updated yearly), you're giving away half in California, which can be over $1M if you're a diligent saver and investor. Then if your spouse is REALLY nasty, you'll owe her spousal support that can be thousands per month, depending on your income (and income POTENTIAL), for the rest of her life (after 10 years of marriage in CA).
Any cost savings are completely nullified by divorce if you're a high earner and almost never make sense. Don't get married for tax savings, marry for other reasons and have the most iron-clad prenup you can afford and get your partner to agree to. I promise you, your future self will thank you.