The secret life of TFNs

Rudd Mantell Accountants • July 18, 2024

Tax file numbers (TFNs) are so much an everyday element when dealing with tax and the ATO that many taxpayers won’t give it a second thought when tax return software responds with an “invalid” message when a TFN is entered.

The common thought will be that it’s human error, so naturally one’s first reaction will be to check the numbers you entered, followed by carefully re-entering them.


Most of the time the problem will be fixed and its business as usual, but here’s a passing thought — how does the tax return software know what is, and what is not, a valid TFN? Especially when you consider that its validity or otherwise is not dependant on matching those numbers with someone’s name and/or birthday and/or address and so on. These identifiers are used to cross-check a person’s identity of course, but the initial validity of a TFN is known via another factor — the “TFN algorithm”.


This verification algorithm, also known as a check digit algorithm, is embedded in each unique TFN. As with a lot of these things, this is best explained using an example. However, you need to keep a number in mind, which in this case is the number 11.


To make the algorithm work, a fixed weighting is applied to each number of the TFN.


In order from the left, these weightings are 1, 4, 3, 7, 5, 8, 6, 9, 10. 


Example: 123 456 782


TFN 1 2 3 4 5 6 7 8 2
Weight 1 4 3 7 5 8 6 9 10
Sum 1 8 9 28 25 48 42 72 20


Validation: 1 + 8 + 9 + 28 + 25 + 48 + 42 + 72 + 20 = 253


As 253 is a multiple of 11 the TFN is valid.


To check for yourself, try the above with your own TFN.

By Rudd Mantell Accountants February 10, 2026
Learn how topping up your super could help reduce your tax bill after a capital gain, and when catch-up concessional contributions may be worth considering.
By Rudd Mantell Accountants February 10, 2026
See what self-employed Australians should know about avoiding preventable tax issues and navigating an ATO audit with greater clarity and confidence.
By Rudd Mantell Accountants February 10, 2026
Explore what debt forgiveness can mean for tax, including key differences between private debts, commercial debts, and possible CGT outcomes.
By Rudd Mantell Accountant February 10, 2026
Read more about permanent incapacity and super, including when total and permanent disability may create an opportunity to access super before retirement.
By Rudd Mantell Accountants February 10, 2026
Learn what can happen for CGT when you buy a new home before selling your old one, and why timing can affect your main residence exemption.
By Rudd Mantell Accountants February 10, 2026
Find out what six key super changes in 2026 could mean for you, from payday super and higher caps to legacy pension flexibility and fund transparency.
By Rudd Mantell Accountants January 30, 2026
Read more about the Age Pension and CGT implications of caravanning around Australia for 12 months, especially if you keep or rent out your home.
By Rudd Mantell Accountants January 30, 2026
Explore how the ATO’s updated guidance may affect holiday home owners claiming deductions for interest, rates, insurance, and maintenance.
By Rudd Mantell Accountants January 27, 2026
See what Australians should know about super scams, including pressure tactics, unlicensed advice, and steps to help keep retirement savings secure.
By Rudd Mantell Accountants September 1, 2025
An important reminder: Interest incurred in income years starting on or after 1 July will no longer be deductible, regardless of whether the debt relates to an earlier income year.