Skip to content
FiftyCalc Free calculators for all 50 states

Triangular Number Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter a position n to get the nth triangular number, or enter any whole number to see whether it is triangular and at which position.

Result

Sample figures

nth triangular number Tₙ = n(n + 1)/2—

Sum of the first n triangular numbers n(n + 1)(n + 2)/6 —

  • Is the tested number triangular?—
  • Its position k, from k = (√(8x + 1) − 1)/2—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Triangular Number Calculator

Position n (whole number, 0 or more): enter 0 or more. Prefilled example: 10.

Number to test (whole number, 0 or more): enter 0 or more. Prefilled example: 55.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Position n (whole number, 0 or more): enter 0 or more.
  2. Number to test (whole number, 0 or more): enter 0 or more.
  3. Read the result: nth triangular number Tₙ = n(n + 1)/2; the panel also shows Sum of the first n triangular numbers n(n + 1)(n + 2)/6, Is the tested number triangular? and Its position k, from k = (√(8x + 1) − 1)/2.

How this calculator works

The nth triangular number counts the dots in a triangle with n dots on each side: Tₙ = 1 + 2 + … + n = n(n + 1)/2, the sum Gauss is said to have found as a schoolboy. The sequence starts 0, 1, 3, 6, 10, 15, 21.

A whole number x is triangular exactly when 8x + 1 is a perfect square, because solving k(k + 1)/2 = x for k gives k = (√(8x + 1) − 1)/2. The sum of the first n triangular numbers is the tetrahedral number n(n + 1)(n + 2)/6.

The formula

  1. T=n×(n+1)2
Symbols used in the formula
SymbolMeaning
nPosition n (whole number, 0 or more)
Tnth triangular number Tₙ = n(n + 1)/2

Worked example

Position n (whole number, 0 or more)10
Number to test (whole number, 0 or more)55
Sum of the first n triangular numbers n(n + 1)(n + 2)/6220
Is the tested number triangular?Yes
Its position k, from k = (√(8x + 1) − 1)/210
  1. T=10×(10+1)2=55

nth triangular number Tₙ = n(n + 1)/2 55

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the 10th triangular number?

T₁₀ = 10 × 11 ÷ 2 = 55. The sum of the first ten triangular numbers is 220.

Is 50 a triangular number?

No. 8 × 50 + 1 = 401 is not a perfect square, so 50 falls between T₉ = 45 and T₁₀ = 55.

What is the 100th triangular number?

T₁₀₀ = 100 × 101 ÷ 2 = 5,050, the sum of the whole numbers from 1 to 100.

Related calculators