https://help.gosimpletax.com/hc/en-gb/articles/115001826324-Dividend-income-tax-calc-example-2016-17
“I have a non-dividend income of £40,000, and receive dividends of £9,000 outside of an ISA”
Of the £40,000 non-dividend income, £11,000 is covered by the Personal Allowance, leaving £29,000 to be taxed at basic rate.
This leaves £3,000 of income that can be earned within the basic rate limit before the higher rate threshold is crossed. The Dividend Allowance covers this £3,000 first, leaving £2,000 of Allowance to use in the higher rate band. All of this £5,000 dividend income is therefore covered by the Allowance and is not subject to tax.
The remaining £4,000 of dividends are all taxed at higher rate (32.5%).