Medicare Card Number Checker and Validator (Australia)

Type a Medicare card number to see if its structure and check digit are valid and what each part means.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Type the number

    Enter the Medicare number, with or without spaces.

  2. 2
    Read the result

    See if the structure passes.

  3. 3
    Check the parts

    Read the check digit, issue number and IRN.

  4. 4
    Fix failures

    Use the expected digit to find a typing error.

  5. 5
    Use the official systems

    Confirm eligibility through the official channels.

About this tool

An Australian Medicare card number has ten digits, plus an individual reference number (IRN) of one digit that shows the person on the card. The ninth digit is a check digit, calculated from the first eight with fixed weights. This checker tests the length, the first digit (2 to 6), the check digit and the issue number, and shows the formatted number. It only tests the structure. It cannot tell you whether the card is current or who owns it, and it is useful for form builders and data cleaning.

Who this is for

Developers and administrators who handle patient or claim forms, practice managers who want to catch typing mistakes at the desk, and anyone who wants to understand the card number.

The structure

The first digit is between 2 and 6. The next seven digits are an identifier. The ninth digit is a check digit. The tenth is the issue number of the card, which is 1 for the first card and increases when a new card is issued. A person on the card is identified by the IRN, a number from 1 to 9 written to the left of the person's name. The number is usually shown as four digits, five digits and one digit, for example 2123 45670 1.

The check digit

Multiply the first eight digits by the weights 1, 3, 7, 9, 1, 3, 7 and 9 from left to right and add the results. The remainder after dividing by 10 must equal the ninth digit. For 2123 4567: 2×1 + 1×3 + 2×7 + 3×9 + 4×1 + 5×3 + 6×7 + 7×9 = 2 + 3 + 14 + 27 + 4 + 15 + 42 + 63 = 170, the remainder is 0, so the ninth digit must be 0.

What the checker tells you

For a valid structure the tool shows the formatted number, the check digit, the issue number and the IRN if you entered it. For an invalid one it says why: wrong length, characters that are not digits, a first digit outside 2 to 6, a bad check digit or an issue number of zero. For a bad check digit it shows the digit it expected.

What it cannot do

A number that passes can still be a card that was cancelled, expired or never issued. The tool does not connect to Medicare, so it cannot check the name, the expiry date or eligibility. In practice, health providers verify cards through the official systems. Use this tool for catching typing mistakes before you send data.

Worked example

2123 45670 1 passes: the check digit is 0 and the issue number is 1. 2123 45671 1 fails because the expected digit is 0. A number starting with 1 fails because Medicare numbers start with 2 to 6.

Privacy

The number is checked in your browser. Nothing is sent or saved. Do not share real card numbers in public places.

Limits

Structure only. It is not a way of confirming eligibility for healthcare.

Worked example

2123 45670 1 passes the Medicare number check; 2123 45671 1 fails because the check digit should be 0.

Quick facts

Frequently asked questions

How many digits does a Medicare number have?

Ten digits, plus an individual reference number of one digit for the person on the card.

What is the first digit?

A number from 2 to 6.

How is the check digit calculated?

The first eight digits are weighted 1, 3, 7, 9, 1, 3, 7, 9, and the sum modulo 10 is the ninth digit.

Does a pass mean the card is valid?

No. It only means the structure is right. The card may be expired or cancelled.

Is the number sent anywhere?

No. The check runs in your browser.

Can I check many numbers?

Yes. Paste one per line.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages