NEETJEE.guru
MathematicsJEE

Units-Digit Patterns of Squares

By Admin 16 November 2026 Updated 27 November 2026 8 min read 7 views
On this page· 13 sections
Overview

Source & scope. Class 8 Mathematics (Ganita Prakash, Part 1), Chapter 1 A Square and a Cube, Section 1.1 Square Numbers, the part on patterns in squares. Previous: Square Numbers and Perfect Squares. Next: Squares as Sums of Odd Numbers.

Source & scope. Class 8 Mathematics (Ganita Prakash, Part 1), Chapter 1 A Square and a Cube, Section 1.1 Square Numbers, the part on patterns in squares. Previous: Square Numbers and Perfect Squares. Next: Squares as Sums of Odd Numbers.

Every perfect square ends in or , and no perfect square ends in or . The last digit of a number alone fixes the last digit of its square, so a number ending in or is definitely not a perfect square. The number of trailing zeros of a square is always even, and the square of an even number is even while the square of an odd number is odd.

At a glance

  • Allowed endings: .
  • Forbidden endings: (a number with such an ending is never a perfect square).
  • Not a confirmation: ending in does not prove a square, since and are squares but is not.
  • Trailing zeros: a square has twice as many as its base, so always an even number.
  • Parity: even is even; odd is odd.

Learning objectives

  • State which digits a perfect square can and cannot end in.
  • Use the units digit to rule out a number as a perfect square.
  • Explain why the units digit cannot confirm a perfect square.
  • Predict the number of trailing zeros in a square.
  • Apply the parity rule to squares.

Prerequisite knowledge

The reader should know perfect squares and the squares of to , and should be comfortable with place value.

Core explanation

Which digits can a perfect square end in?

Write the squares of to and look at the last digit: end in . NCERT observes from such lists that all perfect squares end in or and that none ends in or .

The reason (standard background) is that the units digit of depends only on the units digit of :

Units digit of
Units digit of

The bottom row never contains or , so no square can end in them.

Can the units digit confirm that a number is a perfect square?

No. The units digit gives a one-way test:

  • If a number ends in or , it is definitely not a perfect square. For example and are not squares.
  • If a number ends in or , it may or may not be a square. NCERT's example is and (both squares ending in ) against (not a square).

Which numbers have squares ending in 1?

Numbers whose units digit is or have squares ending in . Examples: , , , , , . In the same way numbers ending in or have squares ending in , and numbers ending in or have squares ending in .

How many zeros does a square end with?

The number of zeros at the end of a square is double the number at the end of its base:

  • : one zero in the base, two in the square.
  • : two zeros in the base, four in the square.
  • A base with trailing zeros gives a square with .

So a square can only have an even number of trailing zeros. A number such as (two zeros) could be a square, since , whereas (three zeros) cannot be a square.

What does parity say about squares?

The square of an even number is even, and the square of an odd number is odd. For instance is even and is odd. Therefore an even perfect square always has an even square root, and an odd perfect square always has an odd square root.

Key terms

  • Units digit — the digit in the ones place of a number.
  • Trailing zeros — zeros at the end of a number.
  • Parity — whether a number is even or odd.
  • Perfect square — the square of a natural number.
  • Necessary condition — a test that must hold, but whose success does not prove the claim.

Diagram / figure guidance

Draw a two-row table: the top row shows the units digit to of a base, and the bottom row shows the units digit of its square, with arrows connecting them. Colour the digits red in the "possible endings" row to show they never appear. Add a small number line of zeros: , , .

Worked example

Which of , , and can be perfect squares?

  • ends in , so it is not a perfect square.
  • has four trailing zeros, which is even, so the zero test does not rule it out; however its non-zero part is (so it is ), and is not a perfect square, hence is not a perfect square.
  • has two trailing zeros, and . It is a perfect square.
  • ends in , which is allowed. Check: . It is a perfect square.

Notice that the units-digit test eliminated only ; the other numbers needed further checking.

Common misconceptions

  • "A number ending in is a perfect square." The digit only permits it; ends in and is not a square.
  • " trailing zeros in the base give no information." The rule still holds: zero doubled is zero.
  • "A number with three trailing zeros can be a square." Squares have an even number of trailing zeros, so is not a square.
  • "The square of an odd number can be even." Odd times odd is odd, so the square stays odd.
  • "If a number ends in , its square ends in only sometimes." Every number ending in has a square ending in , for example .

Exam application (JEE)

JEE number-theory items use the units digit and parity to eliminate options quickly, for example showing that an expression cannot be a perfect square because it ends in or . Questions on trailing zeros of squares and on the last digit of large powers build on the same idea of working with the units digit only.

Frequently asked questions

  • What digits can a perfect square end in? Only or .
  • Can a perfect square end in , , or ? No; any number ending in these digits is definitely not a perfect square.
  • If a number ends in , is it a perfect square? Not necessarily. and are squares, but is not.
  • How many zeros can a perfect square end with? Any even number of zeros, because the square of a number has double the trailing zeros of the number itself.
  • Is the square of an odd number odd or even? It is always odd.

Practice questions (original practice questions)

  1. Which of the following cannot be a perfect square?
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (c) — It ends in .
  2. The square of a number ending in ends in:
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (a) — , .
  3. The number of trailing zeros in is:
    • (a)
    • (b)
    • (c)
    • (d)
    • Answer: (c) — The base has zeros, so the square has .
  4. Which statement is true?
    • (a) A number ending in is always a square
    • (b) A square never ends in
    • (c) A square can have trailing zeros
    • (d) The square of an even number is odd
    • Answer: (b) — The permitted endings exclude .
  5. If is odd, then is:
    • (a) even
    • (b) odd
    • (c) a multiple of
    • (d) zero
    • Answer: (b) — Only odd numbers have odd squares.

Quick revision

  • Squares end only in ; never in .
  • Endings rule a number out; other endings do not confirm it.
  • Base ending in or gives a square ending in .
  • Trailing zeros of are double those of , hence always even.
  • Even is even; odd is odd.

Related articles

NCERTMathematicsClass 8
Rate this article
No ratings yetSign in to rate

0 Comments

Sign in to join the discussion.

Units Digit of Squares & Perfect Square Rules — JEE | NEETJEE.guru