Key Speakers At 2015 The Fortune Global Forum
Marissa Mayer, president and chief executive officer of Yahoo, listens during the 2015 Fortune Global Forum in San Francisco on Nov. 3, 2015. Photograph by David Paul Morris—Bloomberg via Getty Images

Here’s How Much Yahoo CEO Marissa Mayer May Make If She Gets Fired

Mar 29, 2016

If Marissa Mayer, chief executive officer and president of Yahoo, gets discharged from her role, she could leave the company with a golden parachute worth millions.

Factoring in two separate scenarios as well as the terms of Mayer's employment contract, accessible via the Securities and Exchange Commission's website, the chief exec could leave either with $37 million or $12.5 million, CNNMoney reports. Which payout depends on the circumstances of her hypothetical departure.

Get Data Sheet, Fortune’s technology newsletter.

Yahoo (yhoo) is, of course, exploring a sale of its core Internet business. If Mayer were get the ax after helping to facilitate a deal, then her stock awards would immediately vest, landing her the bigger payday.

"She would get to take home three years salary ($3 million), roughly $9.5 million in stock awards that are scheduled to vest over the course of 2016 and about $24.5 million worth of awards that are scheduled to vest down the road," according to CNNMoney's calculations. That adds up to a total of $37 million.

For more on Yahoo's Marissa Mayer, watch:

In the second scenario—that Mayer gets fired prior to a sale—she would make about a third of that sum. In total, $12.5 million: "$1 million in salary, a $2 million cash bonus and $9.5 million in stock that would vest in 2016," per CNNMoney's David Goldman.

Yahoo's share price has dropped roughly 30% since Nov. 2014, significantly reducing the financial windfall that would result from the release of Mayer's stock awards.

"We have no comment on the reports," wrote Yahoo spokesperson Rebecca Neufeld in an email to Fortune.

All products and services featured are based solely on editorial selection. FORTUNE may receive compensation for some links to products and services on this website.

Quotes delayed at least 15 minutes. Market data provided by Interactive Data. ETF and Mutual Fund data provided by Morningstar, Inc. Dow Jones Terms & Conditions: S&P Index data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. Terms & Conditions. Powered and implemented by Interactive Data Managed Solutions