esc
ID checkers

UPN check letter:
England and Wales pupil number

Type a 13-character UPN to check its check letter, or the last 12 characters to work it out.

More tools for United Kingdom Other countries

How to use UPN check letter

  1. 01Type the UPN13 characters, or 12 without the letter.
  2. 02Read the resultValid, or the right check letter.
  3. 03See the workingEach character × its position.
Front and back of an ID card on one sheet of paper

H801200001001: sum 53, 53 mod 23 = 7 → H ✓.

A Unique Pupil Number is a check letter, the local authority number, the school’s establishment number, the year of allocation and a serial. The DfE guide gives the formula for the check letter; the tool runs it and shows each product.

UPN check letter: type a Unique Pupil Number and the tool runs the formula from the Department for Education’s guide for schools and local authorities. Type only the last 12 characters and it gives you the check letter to put in front.

What the 13 characters are

  • Character 1: the check letter.
  • Characters 2–4: the local authority number.
  • Characters 5–8: the DfE establishment number of the school that allocated the UPN.
  • Characters 9–10: the year of allocation, the year in which the academic year begins.
  • Characters 11–13: a serial number. A temporary UPN has a two-digit serial and a letter instead.

The DfE formula

The guide’s own example is H801200001001: the sum is 53, 53 ÷ 23 leaves 7, and 7 is H. The letters I, O and S are never check letters.

  1. Ignore the check letter. Multiply character 2 by 2, character 3 by 3, and so on up to character 13 by 13.
  2. Add the results and divide by 23.
  3. Look the remainder up: 0 = A, 1 = B, 2 = C, 3 = D, 4 = E, 5 = F, 6 = G, 7 = H, 8 = J, 9 = K, 10 = L, 11 = M, 12 = N, 13 = P, 14 = Q, 15 = R, 16 = T, 17 = U, 18 = V, 19 = W, 20 = X, 21 = Y, 22 = Z.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

How is the UPN check letter worked out?

Multiply characters 2 to 13 by their position (2 to 13), add the results and divide by 23. The remainder gives the letter: 0 = A, 1 = B and so on, skipping I, O and S.

What is a temporary UPN?

A UPN given while the pupil’s real UPN is not yet known. Its last character is a letter instead of a digit; the letter is turned into a number with the same table before the sum is made.

Can I find out which pupil a UPN belongs to?

No. The tool only checks the formula and doesn’t look anything up.

Is the UPN sent anywhere?

No. The check runs in your browser and nothing you type is sent to a server or stored.

How do I check a temporary UPN?

Type it as it is. The letter at the end is turned into a number with the same table (A = 0, B = 1 …) before the sum is made, as the DfE guide says.

Should a temporary UPN stay on the record?

No. The guide says to replace it as soon as the real UPN is known and to keep the temporary one in the ‘former UPN’ field.