Vedic maths · trick 36 of 36 · free

HCF by subtraction — Vedic maths trick

Whatever divides two numbers also divides their difference. So you can shrink the numbers by subtracting until the HCF is left — no factor trees.

The trick

Sankalana-Vyavakalanabhyam — “by addition and by subtraction”

  1. Take the smaller number away from the bigger one, as many times as it goes.
  2. Now use the smaller number and what is left.
  3. Repeat until nothing is left: the last number before 0 is the HCF.

Use it for: HCF of two numbers (Class 5–8), simplifying fractions (trick 33).

Worked example: HCF of 84 and 126 = 42

  1. 126 − 84 = 42. Now use 84 and 42.
  2. 84 − 2 × 42 = 0 — nothing left.
  3. The last number before 0 is 42.
  4. Answer: 42.

Check: 84 = 2 × 42 and 126 = 3 × 42, and 2 and 3 share no factor ✓

✏️ Practice

Work it out in your head or on paper, type the answer and press Check. Stuck? Press “Show me how”.

Right: 0 · Tried: 0

🏁 Trick 36 test

20 sums. Check each answer, then go to the next one. Get 16 or more right to pass.

🏅 Sign in with Google to earn the 🤝 HCF Hero badge when you pass — and a certificate when you finish all 6 tricks of Part 4 · Algebra & number sense. You can still take the test without signing in.

🖨️ HCF Worksheet

✨ Free AI tutor

Ask the AI tutor about this trick

Why does it work? When should you use it? Ask in English, मराठी or हिंदी.

Sign in with Google to ask Free — 20 questions a day.

👩‍🏫 Vedic maths classes near you — online or at home

Prefer a real teacher? TalentJR teachers take live online classes anywhere in India and visit homes in selected cities. Tell us what you need and our team will call you with timings and fees.

Live online classesSmall groups or 1:1 with a teacher, from home, any city.
Teacher at homeA TalentJR teacher visits your home (selected cities).
At a centreClasses at a TalentJR partner centre near you, where available.
Badges, certificates & gifts A badge for every trick you pass, a certificate for every part you finish, plus TalentJR Points for daily practice. Abacus course Younger child? Start with the free abacus course (ages 5–14).