Skip to content
Ferramenta gratuita

Calculadora do Substantial Presence Test

O Substantial Presence Test (SPT) do IRS decide se quem não é cidadão é residente fiscal nos EUA. É uma fórmula ponderada de 3 anos, fácil de aplicar mal e cara de deixar passar. Introduza os seus números e veja a sua situação.

Dias nos Estados Unidos

Conte qualquer dia em que esteve fisicamente presente nos EUA, com exceções limitadas (dias de trânsito, dias como pessoa isenta, dias por motivo médico). Os dias parciais contam como dias completos.

Total ponderado
0.00 / 183
  • 2026: 0 × 1 = 0.00
  • 2025: 0 × 1/3 = 0.00
  • 2024: 0 × 1/6 = 0.00

What the test actually requires

The Substantial Presence Test is set out in the Internal Revenue Code, and it is two conditions rather than one. Meeting only the weighted total is not enough.

You are a US tax resident under the test for a calendar year if both hold:

  • Esteve fisicamente presente nos EUA durante pelo menos 31 dias no ano em curso, E
  • O seu total ponderado é de 183 dias ou mais:ano em curso + 1/3 × ano anterior + 1/6 × dois anos antes

You were present in the United States on at least 31 days during the current year, and 183 or more weighted days across three years, counting every day of the current year, a third of the days of the prior year, and a sixth of the days of the year before that.

Failing this test does not mean you are outside the US net. The green-card test runs alongside it, and holding a green card makes you a resident regardless of how few days you spend in the country.

Five travel patterns, worked

The weighting is what makes the test hard to eyeball. A pattern that feels obviously safe can clear 183, and a year spent almost entirely abroad can still count.

Each row below runs the same formula: current-year days in full, prior year divided by three, the year before divided by six.

Weighted totals are rounded to two decimals.

PatternThis yearLast yearTwo years agoWeightedResident under the test?
120 days a year, three years running120120120180.00No, three days short
A longer current year150120120210.00Yes
Heavy prior years, lighter now130180180220.00Yes
Almost all the days in prior years25330330190.00No, under 31 days this year
122 days a year, three years running122122122183.00Yes, exactly 183

The fourth row is the one worth remembering. Twenty-five days in the country clears 183 weighted days comfortably, and the 31-day condition is the only thing keeping that person out of residency.

Which days count

The default is broad: any day on which you were physically present in the United States at any moment counts as a full day, including the day you arrive and the day you leave.

A short list of days is excluded outright:

  • Days you regularly commute to work from a residence in Canada or Mexico.
  • Days you are in the United States for less than 24 hours while in transit between two places outside it.
  • Days you are in the country as a crew member of a foreign vessel.
  • Days you could not leave because of a medical condition that arose while you were here.

The United States means the fifty states and the District of Columbia for this purpose. Time in the US territories is generally outside the test.

Pessoas isentas

Algumas categorias de pessoas excluem totalmente os seus dias nos EUA: pessoas ligadas a governos estrangeiros (visto A ou G), professores e estagiários com visto J ou Q (com limites), estudantes com visto F, J, M ou Q (limitado a 5 anos civis) e algumas outras. Se é uma pessoa isenta, os dados que introduzir nesta calculadora devem refletir apenas os dias não isentos.

Some people do not count their days at all while their exempt status lasts:

  • Students on F, J, M or Q visas, generally for five calendar years.
  • Teachers and trainees on J or Q visas, generally for two of the previous six years.
  • Individuals connected to a foreign government on A or G visas.
  • Professional athletes competing in a charitable sports event.

Exempt status is not automatic in practice. It is claimed on Form 8843, and that form is filed for the year even by people with no US income to report.

What happens if you meet it

Meeting the test makes you a US tax resident, which means worldwide income is reportable, not just the income you earned in the country. The foreign-account reporting rules follow along with it.

The first year is rarely a clean split. Residency generally starts on the first day of presence in the year you meet the test, which leaves you filing as a dual-status taxpayer for that year.

There are two ways out of the result even after the day count is met: the closer-connection exception below, and a tax treaty tie-breaker.

A exceção por ligação mais estreita

Mesmo cumprindo o SPT, ainda pode ser tratado como não residente se tudo isto for verdadeiro: os seus dias nos EUA no ano em curso são menos de 183, mantém o seu domicílio fiscal num país estrangeiro e tem uma ligação mais estreita com esse país. Apresente o Form 8840 para reclamar a exceção.

The exception is not available to everyone who wants it. It requires fewer than 183 days in the current year, a tax home in the foreign country for the whole year, and a closer connection to that country than to the United States, and it is closed off if you have applied for a green card.

When a treaty overrides the count

If your home country has a tax treaty with the United States and both countries consider you resident, the treaty's tie-breaker decides which one wins, working through permanent home, centre of vital interests, habitual abode and then nationality. A treaty result can override the day count, but it has to be claimed rather than assumed.

Common mistakes

  • Counting only the current year. The two prior years carry real weight, and they are what turns a modest travel pattern into residency.
  • Treating part days as part days. A two-hour layover that clears immigration is a full day.
  • Assuming a visa type exempts you forever. The student and teacher exemptions run out, and the day count starts from the moment they do.
  • Forgetting Form 8843. Exempt status is claimed, not granted, and the claim is a filing.
  • Relying on a treaty without filing for it. A tie-breaker position is a disclosed treaty-based return position, not a private conclusion.

Go deeper

Perguntas

O Substantial Presence Test, passo a passo

Qual é a fórmula do Substantial Presence Test?

Em geral é residente fiscal nos EUA num ano se passar pelo menos 31 dias no país nesse ano e o seu total ponderado chegar a 183 dias: todos os dias deste ano nos EUA, mais um terço dos dias do ano passado, mais um sexto dos dias do ano anterior a esse.

Que dias não contam para o Substantial Presence Test?

As exclusões comuns incluem os dias como pessoa isenta (por exemplo, certos estudantes e professores com visto F e J, durante um número limitado de anos), os dias em que não pôde sair devido a uma condição médica surgida nos EUA, os dias em trânsito de menos de 24 horas e as deslocações regulares a partir do Canadá ou do México. Cada isenção tem condições detalhadas, por isso consulte as regras do IRS para o seu caso.

O que é a exceção por ligação mais estreita?

Se esteve nos EUA menos de 183 dias no ano em curso, mantém o seu domicílio fiscal num país estrangeiro e conserva uma ligação mais estreita com esse país, em geral pode evitar a residência americana desse ano mesmo que a fórmula ponderada chegue a 183. Reclama-a apresentando o Form 8840 dentro do prazo.

O SPT aplica-se a quem tem green card?

Não. Os residentes permanentes legais são residentes fiscais nos EUA pelo teste do green card, independentemente da contagem de dias. O SPT importa a quem não tem green card: visitantes, trabalhadores com vistos de não imigrante e viajantes de negócios frequentes.

O que acontece se cumprir o Substantial Presence Test?

Em geral é tratado como residente fiscal nos EUA nesse ano civil, o que normalmente significa declarar o rendimento mundial. O primeiro e o último ano podem ser divididos em períodos de estatuto dual, e os tratados fiscais podem anular o resultado, pelo que vale a pena confirmar os detalhes com um profissional.

Esta calculadora é privada?

Sim. É executada inteiramente no seu navegador e nada do que introduz sai do seu dispositivo.

Acompanhe o SPT em tempo real no seu iPhone

Tax Days executa o cálculo ponderado completo do SPT de 3 anos à medida que regista viagens. As notificações são enviadas 30, 14, 7, 3 e 1 dias antes de ultrapassar os 183 dias ponderados.

Download Tax Days on the App Store