BONUS Article The secret life of TFNs

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” 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 it’s 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 is embedded in each unique TFN and is also known as a check digit algorithm. As with a lot of these things, this 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.

Let’s take the following TFN as an example — 123 456 782. Now multiply each digit by the weightings, in order. So that’s 1 x 1 = 1, 2 x 4 = 8, 3 x 3 = 9, 4 x 7 = 28, 5 x 5 = 25, 6 x 8 = 48, 7 x 6 = 42, 8 x 9 = 72 and 2 x 10 = 20.

Now, add those results together. 1 + 8 + 9 + 28 + 25 + 48 + 42 + 72 + 20 = 253. Now, remember that number you were keeping in mind? If the total you arrived at is a multiple of 11, you’ve got yourself a true TFN.

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

The check digit algorithm used to be kept secret and was kept in the ATO’s vault for decades, but in more modern times the algorithm has had to be shared with many external entities such as software developers, who are generally required to sign a confidentiality agreement.