Filing Status Calculator

Find out which of the five filing statuses you can use: single, married filing jointly, married filing separately, head of household, or qualifying surviving spouse. Each test shows pass or fail with its citation to the tax code or IRS Publication 501, and the head of household questions use the same dependent tests as the dependent eligibility page.

Covers tax years 2025 and 2026 under IRC §1, §2, §6013, and §7703 and Publication 501 (2025). Last verified 2026-09-25.

Step 1: Your marriage on December 31

A resident alien is someone who is not a citizen but counts as a U.S. resident for tax purposes, for example by holding a green card. Publication 519 explains the test.

If your spouse was alive on December 31 but has died since, choose Married. State law decides whether you were married or legally separated. A common-law marriage counts if the state where it began, or where you live now, recognizes it. A registered domestic partnership or civil union does not count as a marriage for federal tax purposes.

Step 2: Your home

Count rent, mortgage interest, property taxes, home insurance, repairs, utilities, and food eaten at home. Do not count clothing, education, medical care, vacations, life insurance, transportation, or the value of anyone’s work. Money paid from someone else’s benefits, such as a child’s Social Security, counts as paid by that person. Pub. 501 Worksheet 1 adds it up.

Step 3: Someone who might qualify you

Head of household needs a qualifying person, such as a child or a parent you support. Qualifying surviving spouse needs your own child or stepchild. Check one person at a time. The questions match the dependent tests on the dependent eligibility page.

Your marital status on December 31 decides where you start

The law looks at your marriage on the last day of the year, and that answer applies to the whole year (IRC §7703(a)(1)). A final decree of divorce, or a decree of separate maintenance, makes you unmarried (IRC §7703(a)(2)). Living apart without a decree, or under a temporary (interlocutory) decree, leaves you married.

  • Unmarried: you file as single, unless you qualify as head of household or qualifying surviving spouse, which then replace single (IRC §1(c)).
  • Married: you and your spouse can file one joint return if you both agree (IRC §6013(a); §1(a)(1)), or each file a separate return (IRC §1(d)). A married person who lives apart from their spouse may qualify as head of household (see below).
  • Spouse died during the year: the law treats you as married for the whole year, so you can file jointly with your spouse who died, unless you remarry by the end of the year (IRC §6013(a)(2); Pub. 501 (2025), Spouse died during the year).

A joint return is not allowed if either spouse was a nonresident alien at any time during the year, unless you both choose U.S. resident treatment for the whole year (IRC §6013(a)(1), (g), (h)).

Married but living apart: the “considered unmarried” rules

The law treats a married person as unmarried for head of household status when all four of these are true (IRC §7703(b); §2(c)).

  1. You file a separate return.
  2. You paid more than half the cost of keeping up your home for the year.
  3. Your spouse did not live in your home at any time during the last 6 months of the year. A spouse away only temporarily still counts as living there.
  4. Your home was the main home of your child, stepchild, or foster child for more than half the year, and you can claim the child as a dependent. You still meet this test if you cannot claim the child only because you released the claim to the other parent (IRC §152(e)).

A spouse who was a nonresident alien at any time during the year also leaves you considered unmarried for this status, unless you chose to treat your spouse as a U.S. resident (IRC §2(b)(2)(B), §6013(g), (h); Pub. 501 (2025), Nonresident alien spouse). Your spouse cannot be the person who qualifies you.

Head of household

You can file as head of household when you are unmarried or considered unmarried on December 31, you paid more than half the cost of keeping up a home for the year, and a qualifying person meets one of these three routes (IRC §2(b)(1); Pub. 501 (2025), Table 4).

  1. Your qualifying child who lived with you for more than half the year. The law tests the child without the release rules for divorced or separated parents, so the parent the child lives with keeps this status even after releasing the dependency claim, and the other parent cannot get it from the release (IRC §2(b)(1)(A)(i)). A child who was married on December 31 counts only if the child did not file a joint return and passes the citizen or resident test (IRC §2(b)(1)(A)(i)). A married child still counts if the only reason you can’t claim the child is that someone else can claim you (Pub. 501 (2025), Table 4, note 3).
  2. Another relative who is your dependent and lived with you for more than half the year, such as a grandparent, brother, sister, aunt, or uncle (IRC §2(b)(1)(A)(ii)). A person who is your dependent only because they lived with you all year as a member of your household, such as a friend, does not count (IRC §2(b)(3)(B)(i)).
  3. Your father or mother, if you can claim your parent as a dependent and you paid more than half the cost of keeping up your parent’s main home for the year. Your parent does not have to live with you (IRC §2(b)(1)(B)).

A person you can claim only through a multiple-support agreement (a signed Form 2120 that lets one of several people who together paid for someone’s support claim that person) never qualifies you (IRC §2(b)(3)(B)(ii)). You cannot file as head of household if you were a nonresident alien at any time during the year (IRC §2(b)(3)(A)), or if you qualify as a qualifying surviving spouse, which the law puts first (IRC §2(b)(1)). One person can qualify only one taxpayer for this status (Pub. 501 (2025), Table 4, note 1). If someone else could also claim the same child, the tie-breaker decides who may.

Qualifying surviving spouse

For the two years after the year your spouse died, you can use the joint return tax rates on your own return when every one of these is true (IRC §2(a); §1(a)(2); Pub. 501 (2025), Qualifying Surviving Spouse). In the year of death itself, you can file jointly instead.

  1. Your spouse died in one of the two years before this one, and you did not remarry before the end of this year.
  2. You and your spouse could have filed a joint return for the year of death, whether or not you did.
  3. Your son, daughter, stepson, or stepdaughter lived in your home all year. An adopted child counts; a foster child does not. You must be able to claim the child as a dependent, or could claim the child except that the child’s gross income was too high, the child filed a joint return, or someone else can claim you as a dependent. Unlike head of household, you lose this status if you released the dependency claim for the child to the other parent (IRC §2(a)(1)(B)(ii); compare §2(b)(1)(A)(i)).
  4. You paid more than half the cost of keeping up your home for the year.

After the two years end, you may qualify as head of household.

Related questions

Whether someone is your dependent, and who wins when two people can claim the same child: see Can I claim someone as a dependent?. The credit a qualifying child can bring: see the child tax credit calculator. Your standard deduction for each status: see the standard deduction calculator. Whether you must file at all: see Do I have to file a tax return?.

Common Questions

What are the five filing statuses?

Single, married filing jointly, married filing separately, head of household, and qualifying surviving spouse (Pub. 501 (2025), Filing Status). Your status sets your tax rates (IRC §1(a)-(d)). It also changes your standard deduction and whether you must file at all; the standard deduction and “Do I have to file” calculators on this site show how. If more than one status fits, Pub. 501 says to use the one that gives you the lowest tax.

I got divorced in December. Am I single for the whole year?

You are unmarried for the whole year if the divorce decree was final by December 31 (IRC §7703(a)). You then file as single, or as head of household if a qualifying person lived with you and you kept up the home, which replaces single (IRC §1(c)). A temporary (interlocutory) decree, one that is not yet final, leaves you married.

We are separated but not divorced. Can I file as head of household?

Yes, if you meet the four tests under “Married but living apart” on this page: you file separately, you paid over half the cost of your home, your spouse did not live there from July 1 on, and your child lived with you for more than half the year and you can claim the child as a dependent, or could except that you released the claim to the other parent (IRC §7703(b); §2(c)).

My spouse died this year. What status do I use?

For the year of death, the law treats you as married for the whole year, so you can file a joint return for yourself and your spouse, unless you remarry by the end of the year (on or before December 31) (IRC §6013(a)(2); §7703(a)(1)). For the next two years, you may be able to file as a qualifying surviving spouse if a dependent child or stepchild lives with you all year and you keep up the home.

Can I file as head of household if my parent does not live with me?

Yes, if you can claim your father or mother as a dependent and you paid more than half the cost of keeping up your parent’s main home, including a rest home, for the year (IRC §2(b)(1)(B)). A grandparent must live with you instead.

My ex and I share custody. Which of us can file as head of household?

Usually the parent the child lived with for the greater number of nights during the year (Pub. 501 (2025), Custodial parent and noncustodial parent). A written release (Form 8332) lets the other parent claim the child as a dependent, but it does not move head of household status: the law tests the child for this status without the release rules (IRC §2(b)(1)(A)(i); Pub. 501 (2025), Table 4, note 2).

Is this calculator free?

Yes. It is free, with no signup. It shows every test for all five statuses with its citation, and it takes the dependent tests from the dependent eligibility page.

Download the Filing Status Calculator Compliance Card (PDF) — its sources, its limits, and what happens to what you enter

This page provides general information about IRS procedures. It is not personalized tax advice, and reading it does not create a practitioner-client relationship with Forrest Baumhover, Fbaum Enterprises LLC, or The Federal Tax Desk. Every situation is different — if real money or a real deadline is on the line, consider having a licensed CPA, EA, or tax attorney review your specific facts before you act.

Get plain-English help with IRS letters

Free weekly explanations of IRS notices, penalties and your options — written to be read by the person holding the letter, not their accountant.

Subscribe free →