The mechanism is subtraction from the denominator. A company's earnings per share is its net income divided by the shares outstanding. A buyback reduces the shares outstanding, so even with net income unchanged, earnings per share rises. That is genuine value for the remaining owners, because each share now has a claim on a larger slice of the same profit, but it is also why a buyback can make results look better than the underlying business is doing. A company whose total profit is flat can still report rising earnings per share simply by buying back stock, so a reader comparing per-share figures over time needs to know whether the share count was falling.
A buyback is a choice against a dividend, and the trade-offs are real. Paying a dividend commits a company to a payment shareholders come to expect, and cutting one later is read as bad news. A buyback is discretionary and can be paused quietly, which gives management flexibility but also lets buybacks be timed poorly, often heaviest when prices and cash are high and thinnest when the stock is cheap. A buyback also benefits a continuing holder without forcing a taxable event on them, while a dividend is taxed in the year it is received. Which method serves shareholders better is a genuine debate, and it turns on price, taxes, and how disciplined the company is about buying only when the shares are worth it.
The tax picture differs on both sides, company and investor. For a shareholder who holds through a buyback, there is no tax, because they received nothing and simply own a larger share of the company; tax arises only if and when they sell. A dividend, by contrast, is taxed in the year received. On the company side, a 1% federal excise tax has applied since the start of 2023 to the value of stock a publicly traded corporation repurchases, under Internal Revenue Code section 4501, enacted in the Inflation Reduction Act of 2022. The tax is imposed on the corporation, not the investor, with a de minimis exception for companies whose annual buybacks are below a threshold. It raised the cost of buybacks modestly without changing the basic reasons companies use them.
A buyback is not a stock split, though both change the share count. A split changes the number of shares without any cash changing hands and without altering the company's value or any holder's percentage stake. A buyback spends real cash to reduce the share count, which does raise a continuing holder's percentage ownership and per-share claim. The two are often confused because both touch the share count, but only one of them is an economic event.