It can be set by the judge. She can’t get more than 50% ever. The judge can award more than the above example but they rarely do. Some states have formulas for it. It’s not automatic either. I know people that wrote it into the divorce that they weren’t entitled to any of it and it was agreed upon because there were other considerations. It just depends on what you agree on or if there is no agreement, what the judge / state thinks.