Raven

UK Statutory Residence Test calculator

Count your UK days for a tax year the way HMRC does: a day counts if you are in the UK at midnight. See which automatic test applies at 16, 46, 91 and 183 days, how many ties would make you resident, and what the deeming rule adds.

Your dates

Stays in the UK (arrival day counts if you stay the night; departure day does not)
Your circumstances

Results

Updates as you type. Nothing is sent to a server.

Not legal or tax advice. This calculator is an informational tool based on published rules as we understand them on 2026-09-25. Rules change and your facts matter; confirm your position with a qualified adviser or the authority before relying on it.

Frequently asked questions

What is the midnight rule?

For the Statutory Residence Test a day counts as a day spent in the UK if you are in the UK at the end of the day (midnight). Your arrival day counts if you stay overnight; your departure day does not. Day trips that end abroad do not count, and transit days where you do not leave the airport (or do nothing unrelated to your journey) are ignored.

What do the 16, 46, 91 and 183 thresholds mean?

They are the automatic tests. Fewer than 16 days: automatically non-resident if you were UK resident in any of the previous three tax years. Fewer than 46 days: automatically non-resident if you were not. Fewer than 91 days: automatically non-resident if you work full-time overseas (with no more than 30 UK workdays). 183 days or more: automatically UK resident. Between those, the sufficient-ties test decides.

What is the deeming rule?

If you were UK resident in at least one of the previous three tax years, have at least three UK ties, and have more than 30 "qualifying days" in the year (days you were in the UK but not at midnight), then every qualifying day after the 30th is treated as a day spent in the UK. Turn it on in the calculator to see its effect; it exists to stop people avoiding residence by leaving before midnight.

What counts as a UK tie?

Family tie (spouse, civil partner or minor child resident in the UK), accommodation tie (a place to live available for 91 or more days that you use at least one night), work tie (40 or more UK workdays of more than 3 hours), 90-day tie (more than 90 UK days in either of the previous two tax years) and, for leavers only, the country tie (more UK midnights than any other single country).

When does the UK tax year run?

From 6 April to 5 April of the following year. The 2026/27 tax year runs from 6 April 2026 to 5 April 2027.

What about exceptional circumstances?

Up to 60 days spent in the UK because of exceptional circumstances beyond your control (serious illness, national emergency) can be disregarded for some day counts. The calculator does not model this; deduct such days yourself and keep evidence.