• Foundation
  • About 13 min
  • 5 practice questions

Number codes and letter-to-number coding

Convert words to numbers by alphabet position, compute word values, and decode number codes using sums and positions.

If something looks wrong, please tell us.

Another family of questions turns letters into numbers. The most common coding uses the alphabet position (A = 1 ... Z = 26). Others use the sum of the positions, or a fixed number assigned to each letter in the question.

Letters into numbers

  • Alphabet position PAN is 16-1-14.
  • Sum of the positions CAT = 3 + 1 + 20 = 24.
  • Fixed numbers given in the question R = 1, A = 2, M = 3, S = 4, so MARS is 3214.

Useful values

LetterAEIMRTZ
Position15913182026

Worked examples

Example 1. What is the value of BAG if each letter is replaced by its position and the values are added? B = 2, A = 1, G = 7. The total is 2 + 1 + 7 = 10.

Example 2. If CAT = 24, what is DOG? CAT = 3 + 1 + 20 = 24, so the rule is the sum of positions. DOG = 4 + 15 + 7 = 26.

Example 3. Code the word PAN using letter positions written with dashes. P = 16, A = 1, N = 14. The code is 16-1-14.

Example 4 (fixed numbers). In a code, R = 1, A = 2, M = 3, S = 4. Find the code for MARS. M = 3, A = 2, R = 1, S = 4. The code is 3214.

Example 5 (decoding). Using positions, what word does 3-1-14 spell? 3 = C, 1 = A, 14 = N. The word is CAN.

Know your alphabet positions well; memorise A=1, E=5, J=10, O=15, T=20, Z=26 as anchor points.

— Rule to remember

Key takeaways

  • A = 1 to Z = 26 is the standard unless the question gives other values.
  • Check whether the question wants a list of positions or their sum.
  • Decode numbers back to letters by counting along the alphabet.

Check your understanding

  1. 1. If each letter is replaced by its position and the values are added, what is the value of CAB?

    1. 6
    2. 5
    3. 7
    4. 8
    Show answer

    Answer: A. C = 3, A = 1, B = 2, and 3 + 1 + 2 = 6.

  2. 2. If BAD = 7, what is FED?

    1. 14
    2. 16
    3. 17
    4. 15
    Show answer

    Answer: D. BAD = 2 + 1 + 4 = 7, so the rule is the sum of positions. FED = 6 + 5 + 4 = 15.

  3. 3. Using letter positions written with dashes, what is the code for SUN?

    1. 19-21-14
    2. 18-21-14
    3. 19-20-14
    4. 19-21-13
    Show answer

    Answer: A. S = 19, U = 21, N = 14, so the code is 19-21-14.

  4. 4. Using letter positions, what word does 8-1-20 spell?

    1. GAT
    2. HAT
    3. HAS
    4. IAT
    Show answer

    Answer: B. 8 = H, 1 = A, 20 = T. The word is HAT.

  5. 5. In a code, P = 5, E = 2, N = 7 and T = 9. What is the code for TEN?

    1. 297
    2. 529
    3. 927
    4. 972
    Show answer

    Answer: C. Write each letter's number in order: T = 9, E = 2, N = 7. The code is 927.

Sign in to keep track of the lessons you finish.

Next lesson → Mixed and multi-step codes

Privacy · Terms · Refunds · Delivery