How to use this checker
- Ex-dividend date: copy it from the company’s dividend announcement or your broker’s quote page.
- Date you bought: the day your buy order filled, or the day you plan to buy.
- Date you sold: optional. Fill it in if you sold, or plan to sell, around the ex-date.
- Pay date: optional. It only completes the timeline; it doesn’t change the answer.
The rule
You get the dividend if:
Buy date < Ex-date, and
Sell date ≥ Ex-date (or you still own the shares)
Last day to buy = the trading day before the ex-date
In words: you must own the shares when the ex-date begins. Buying any day before the ex-date works, including the very last trading day before it. Buying on the ex-date is one day too late. Selling on the ex-date, or any time after, does not take the dividend away from you.
A “trading day” is a weekday when the New York Stock Exchange is open. The calculator skips Saturdays, Sundays and NYSE holidays when it counts back from the ex-date.
Worked example
The starting numbers use an ex-date of Tuesday, January 19, 2027. Count back one trading day:
- Monday, January 18, 2027 is Martin Luther King, Jr. Day. The market is closed, so it’s skipped.
- Sunday and Saturday before it are weekend days, also skipped.
- That leaves Friday, January 15, 2027 as the last day to buy.
The purchase on Friday, January 15, 2027 settles one business day later. The holiday and the weekend don’t count, so it settles on Tuesday, January 19, 2027: the ex-date and the record date. You’re on the list, so the answer is yes. Change the buy date to Tuesday, January 19, 2027 and the answer turns to no.
Ex-date, record date and pay date
Every dividend comes with a set of dates from the company:
- Declaration date: the board announces the amount and the other dates.
- Ex-dividend date: from this day on, buyers don’t get the upcoming payment. It’s set by the exchange based on the record date.
- Record date: the company takes its list of shareholders who will be paid.
- Pay date: the cash lands in your brokerage account, often two to four weeks later.
A stock trade takes time to “settle”, meaning the shares officially change hands. Since May 28, 2024, US stock trades settle one business day after the trade (T+1). A purchase made the day before the record date settles on the record date, just in time. That is why the ex-date and the record date are now the same day. Under the old two-day rule (T+2), the ex-date came one business day before the record date, and many older articles still say so.
Why buying on the ex-date doesn’t work
A purchase on the ex-date settles the next business day, after the company has already taken its list. The seller was still the owner of record, so the seller gets the dividend. The share price reflects this: it usually opens lower on the ex-date by roughly the dividend amount, because new buyers aren’t getting that payment.
Selling around the ex-date
You can sell on the ex-date and still receive the dividend. You were the owner when the ex-date began, so the payment is yours even though someone else holds the shares on the pay date. Expect to sell at a price that is already lower by about the dividend, though.
Taxes are a separate question. A dividend only counts as “qualified”, and gets the lower 0%, 15% or 20% rate, if you held the shares for more than 60 days during the 121-day period that starts 60 days before the ex-date. Buy the day before the ex-date and sell a week later, and the dividend is taxed as ordinary income.
Special cases
Large special dividends. When a one-time dividend is 25% or more of the share price, FINRA sets the ex-date for the first business day after the pay date instead. For these, selling before the ex-date means you sell the right to the dividend along with the shares, so read the announcement carefully.
Mutual funds don’t trade during the day, and their distribution dates work differently. This checker is for stocks, ETFs, REITs and other exchange-traded shares.
Orders after hours. What counts is the trade date, the day your order actually fills. An order you place on a Saturday, or late in the evening, fills on the next trading day.
Tip: brokers often show the ex-date on the stock’s quote page as “Ex-dividend date”. If it shows a record date only, the ex-date is the same day under T+1, unless it’s a special dividend of 25% or more.
Want to know how big the dividend will be? Use the Dividend Calculator. To see how much the price should drop on the ex-date, use the Ex-Dividend Price Drop Calculator.