Skip to main content

Triangular Numbers Calculator

Free Triangular numbers Calculator for arithmetic. Enter values to get step-by-step solutions with formulas and graphs.

Skip to calculator
Mathematics

Triangular Numbers Calculator

Calculate triangular numbers, check if a number is triangular, explore tetrahedral numbers, and see relationships with square numbers, combinations, and Pascals triangle.

Last updated: December 2025Reviewed by NovaCalculator Mathematics Team

Calculator

Adjust values & calculate
10
T(10)
55
10 x 11 / 2 = 110 / 2 = 55
55 is a triangular number (position: 10)
Tetrahedral T(10)
220
Sum of Cubes 1-10
3,025
Previous T(9)
45
Current T(10)
55
Next T(11)
66
Square Number
100
Pentagonal Number
145
Hexagonal Number
190

Triangular Number Sequence

T(1)
1
T(2)
3
T(3)
6
T(4)
10
T(5)
15
T(6)
21
T(7)
28
T(8)
36
T(9)
45
T(10)
55
Your Result
T(10) = 55 | 55 is triangular
Share Your Result
Understand the Math

Formula

T(n) = n(n + 1) / 2

The nth triangular number equals n times (n + 1) divided by 2. This is equivalent to the sum of the first n natural numbers. A number m is triangular if and only if 8m + 1 is a perfect square.

Last reviewed: December 2025

Worked Examples

Example 1: Find the 10th Triangular Number

Calculate the 10th triangular number using the formula T(n) = n(n+1)/2.
Solution:
Apply the formula with n = 10: T(10) = 10 x (10 + 1) / 2 T(10) = 10 x 11 / 2 T(10) = 110 / 2 T(10) = 55 Verification by summation: 1+2+3+4+5+6+7+8+9+10 = 55
Result: T(10) = 55

Example 2: Check if 91 is a Triangular Number

Determine whether 91 is a triangular number and find its position if so.
Solution:
Use the test formula: n = (-1 + sqrt(1 + 8m)) / 2 n = (-1 + sqrt(1 + 8 x 91)) / 2 n = (-1 + sqrt(729)) / 2 n = (-1 + 27) / 2 n = 26 / 2 = 13 Since 13 is a positive integer, 91 is triangular. Verification: T(13) = 13 x 14 / 2 = 91
Result: 91 is the 13th triangular number
Expert Insights

Background & Theory

The Triangular Numbers Calculator applies the following established principles and formulas. Mathematics rests on a hierarchy of number systems, each extending the previous. The natural numbers (1, 2, 3, ...) support counting and ordering. The integers add negative values and zero, enabling subtraction without restriction. The rational numbers, expressible as p/q where p and q are integers and q is nonzero, close the system under division. The real numbers fill the gaps left by irrationals such as the square root of 2 or pi, forming a complete ordered field. The complex numbers, written as a + bi where i is the square root of negative one, complete the algebraic closure of the reals and allow every polynomial to have a root. Prime factorization states that every integer greater than one is uniquely expressible as a product of primes, a result known as the Fundamental Theorem of Arithmetic. Computing the greatest common divisor (GCD) of two integers relies most efficiently on the Euclidean algorithm: repeatedly replace the larger number with the remainder when it is divided by the smaller, until the remainder is zero. The last nonzero remainder is the GCD. The least common multiple (LCM) follows from the identity LCM(a, b) = |a * b| / GCD(a, b). Modular arithmetic defines equivalence classes of integers that share the same remainder under division by a modulus n. Fermat's Little Theorem and Euler's Theorem arise from this structure and underpin modern cryptography. Logarithms are the inverses of exponential functions. If b raised to the power x equals y, then the logarithm base b of y equals x. The natural logarithm uses base e, approximately 2.71828. Combinatorics counts arrangements and selections. The number of ordered arrangements (permutations) of r objects from n distinct objects is nPr = n! / (n - r)!. The number of unordered selections (combinations) is nCr = n! / (r! * (n - r)!). Pascal's triangle arranges these binomial coefficients so that each entry equals the sum of the two entries directly above it. The Fibonacci sequence, defined by F(1) = 1, F(2) = 1, and F(n) = F(n-1) + F(n-2), appears throughout nature and connects deeply to the golden ratio via Binet's formula.

History

The history behind the Triangular Numbers Calculator traces back through the following developments. Mathematics as a systematic discipline traces to ancient Mesopotamia. Babylonian clay tablets dating to around 1800 BCE demonstrate knowledge of quadratic equations, Pythagorean triples, and base-60 arithmetic, suggesting a practical mathematical tradition far preceding Greek formalism. Euclid of Alexandria compiled the Elements around 300 BCE, establishing the axiomatic method that would define rigorous mathematics for over two thousand years. His work organized plane geometry, number theory, and proportion into logically chained propositions derived from a small set of postulates. The algorithm bearing his name for computing GCDs appears in Book VII and remains in use today. In the 9th century, the Persian scholar Muhammad ibn Musa Al-Khwarizmi wrote Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, the treatise whose title gave algebra its name. He systematized the solution of linear and quadratic equations and described procedures that operated on unknowns as objects, a conceptual leap away from purely numerical calculation. Rene Descartes introduced coordinate geometry in 1637 by uniting algebra and Euclidean geometry, allowing curves to be studied through equations. This synthesis set the stage for calculus. Isaac Newton and Gottfried Wilhelm Leibniz independently developed calculus during the 1660s and 1670s, triggering a priority dispute that lasted decades and divided British and Continental mathematicians. Carl Friedrich Gauss proved the Fundamental Theorem of Algebra in 1799, showing that every nonconstant polynomial has at least one complex root. His Disquisitiones Arithmeticae of 1801 established modern number theory. David Hilbert's formalist program at the turn of the 20th century sought to place all of mathematics on an explicit axiomatic foundation, a project that Kurt Godel's incompleteness theorems of 1931 showed to be fundamentally limited. Alan Turing's work in the 1930s on computability introduced the theoretical model of the stored-program computer and linked mathematical logic directly to the limits of algorithmic calculation. His proof that no algorithm can decide in general whether an arbitrary program will halt or run forever placed fundamental boundaries on what mathematics can mechanically determine, and it opened the discipline now known as theoretical computer science.

Share this calculator

Explore More

Frequently Asked Questions

A triangular number is a number that can be represented as a triangle of equally spaced dots. The first triangular number is 1 (a single dot), the second is 3 (a triangle with 2 dots on the base), the third is 6 (3 dots on base), and so on. The sequence goes 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, and continues infinitely. Each triangular number equals the sum of the first n natural numbers: T(n) equals 1 plus 2 plus 3 plus dots plus n. The name comes from the geometric arrangement, dating back to the ancient Pythagoreans who studied figurate numbers by arranging pebbles in geometric shapes. These numbers have fascinating mathematical properties and appear in combinatorics, probability, and number theory.
The nth triangular number is given by the formula T(n) equals n times (n plus 1) divided by 2. This elegant formula was famously discovered by young Carl Friedrich Gauss, who reportedly figured it out in elementary school when asked to add the numbers 1 through 100. Instead of adding sequentially, Gauss paired numbers from opposite ends: 1 plus 100 equals 101, 2 plus 99 equals 101, and so on, creating 50 pairs of 101, totaling 5050. This generalizes to n(n+1)/2 for any n. The formula works because pairing numbers creates equal sums, and halving accounts for the double counting. For example, T(10) equals 10 times 11 divided by 2, which gives 55.
To determine if a number m is triangular, solve the equation n(n+1)/2 equals m for n using the quadratic formula. Rearranging gives n squared plus n minus 2m equals 0, so n equals (negative 1 plus the square root of 1 plus 8m) divided by 2. If this result is a positive integer, then m is a triangular number and n is its position. For example, is 55 triangular? Compute (negative 1 plus sqrt(1 plus 440)) divided by 2 equals (negative 1 plus sqrt(441)) divided by 2 equals (negative 1 plus 21) divided by 2 equals 10. Since 10 is a positive integer, 55 is the 10th triangular number. If the result is not an integer, such as testing 50, which gives approximately 9.56, then 50 is not triangular.
Triangular numbers possess numerous remarkable properties. The sum of two consecutive triangular numbers is always a perfect square: T(n) plus T(n-1) equals n squared. For example, 6 plus 10 equals 16 equals 4 squared. The sum of the first n cubes equals the square of the nth triangular number: 1 cubed plus 2 cubed plus dots plus n cubed equals T(n) squared. So 1 plus 8 plus 27 plus 64 equals 100 equals 10 squared, and T(4) equals 10. Every even perfect number is also a triangular number: 6 equals T(3), 28 equals T(7), 496 equals T(31). A number is triangular if and only if 8 times the number plus 1 is a perfect square. These properties connect triangular numbers to many areas of mathematics.
Tetrahedral numbers are the three-dimensional analogs of triangular numbers, formed by stacking triangular numbers into a triangular pyramid (tetrahedron). The nth tetrahedral number equals the sum of the first n triangular numbers: Te(n) equals T(1) plus T(2) plus dots plus T(n) equals n(n+1)(n+2) divided by 6. The sequence begins 1, 4, 10, 20, 35, 56, 84, and so forth. Just as triangular numbers count objects arranged in a triangle, tetrahedral numbers count objects arranged in a tetrahedron. Tetrahedral numbers also equal the binomial coefficient C(n+2, 3), counting ways to choose 3 items from n+2. This pattern extends to higher dimensions: pentatope numbers use 4 dimensions, and the general formula involves n-dimensional simplices.
Triangular numbers appear in surprisingly many practical applications. In tournament scheduling, a round-robin tournament with n teams requires T(n-1) games, since each pair plays once. In networking, the number of direct connections between n computers in a fully connected network is T(n-1). In chemistry, the triangular arrangement appears in electron shell configurations and molecular geometry. In logistics, stacking cannonballs or oranges in a pyramid follows tetrahedral number patterns. In computer science, triangular numbers arise in the analysis of nested loops and sorting algorithms, where the number of comparisons in bubble sort is approximately T(n-1). Even in everyday life, stacking rows of cans or bowling pin arrangements follow triangular number patterns.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Mathematics Team โ€” Verified against standard mathematical and scientific references. Last reviewed: December 2025. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

T(n) = n(n + 1) / 2

The nth triangular number equals n times (n + 1) divided by 2. This is equivalent to the sum of the first n natural numbers. A number m is triangular if and only if 8m + 1 is a perfect square.

Worked Examples

Example 1: Find the 10th Triangular Number

Problem: Calculate the 10th triangular number using the formula T(n) = n(n+1)/2.

Solution: Apply the formula with n = 10:\nT(10) = 10 x (10 + 1) / 2\nT(10) = 10 x 11 / 2\nT(10) = 110 / 2\nT(10) = 55\nVerification by summation: 1+2+3+4+5+6+7+8+9+10 = 55

Result: T(10) = 55

Example 2: Check if 91 is a Triangular Number

Problem: Determine whether 91 is a triangular number and find its position if so.

Solution: Use the test formula: n = (-1 + sqrt(1 + 8m)) / 2\nn = (-1 + sqrt(1 + 8 x 91)) / 2\nn = (-1 + sqrt(729)) / 2\nn = (-1 + 27) / 2\nn = 26 / 2 = 13\nSince 13 is a positive integer, 91 is triangular.\nVerification: T(13) = 13 x 14 / 2 = 91

Result: 91 is the 13th triangular number

Frequently Asked Questions

What is a triangular number and where does the name come from?

A triangular number is a number that can be represented as a triangle of equally spaced dots. The first triangular number is 1 (a single dot), the second is 3 (a triangle with 2 dots on the base), the third is 6 (3 dots on base), and so on. The sequence goes 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, and continues infinitely. Each triangular number equals the sum of the first n natural numbers: T(n) equals 1 plus 2 plus 3 plus dots plus n. The name comes from the geometric arrangement, dating back to the ancient Pythagoreans who studied figurate numbers by arranging pebbles in geometric shapes. These numbers have fascinating mathematical properties and appear in combinatorics, probability, and number theory.

What is the formula for the nth triangular number?

The nth triangular number is given by the formula T(n) equals n times (n plus 1) divided by 2. This elegant formula was famously discovered by young Carl Friedrich Gauss, who reportedly figured it out in elementary school when asked to add the numbers 1 through 100. Instead of adding sequentially, Gauss paired numbers from opposite ends: 1 plus 100 equals 101, 2 plus 99 equals 101, and so on, creating 50 pairs of 101, totaling 5050. This generalizes to n(n+1)/2 for any n. The formula works because pairing numbers creates equal sums, and halving accounts for the double counting. For example, T(10) equals 10 times 11 divided by 2, which gives 55.

How do you check if a given number is a triangular number?

To determine if a number m is triangular, solve the equation n(n+1)/2 equals m for n using the quadratic formula. Rearranging gives n squared plus n minus 2m equals 0, so n equals (negative 1 plus the square root of 1 plus 8m) divided by 2. If this result is a positive integer, then m is a triangular number and n is its position. For example, is 55 triangular? Compute (negative 1 plus sqrt(1 plus 440)) divided by 2 equals (negative 1 plus sqrt(441)) divided by 2 equals (negative 1 plus 21) divided by 2 equals 10. Since 10 is a positive integer, 55 is the 10th triangular number. If the result is not an integer, such as testing 50, which gives approximately 9.56, then 50 is not triangular.

What are some interesting properties of triangular numbers?

Triangular numbers possess numerous remarkable properties. The sum of two consecutive triangular numbers is always a perfect square: T(n) plus T(n-1) equals n squared. For example, 6 plus 10 equals 16 equals 4 squared. The sum of the first n cubes equals the square of the nth triangular number: 1 cubed plus 2 cubed plus dots plus n cubed equals T(n) squared. So 1 plus 8 plus 27 plus 64 equals 100 equals 10 squared, and T(4) equals 10. Every even perfect number is also a triangular number: 6 equals T(3), 28 equals T(7), 496 equals T(31). A number is triangular if and only if 8 times the number plus 1 is a perfect square. These properties connect triangular numbers to many areas of mathematics.

What are tetrahedral numbers and how do they relate to triangular numbers?

Tetrahedral numbers are the three-dimensional analogs of triangular numbers, formed by stacking triangular numbers into a triangular pyramid (tetrahedron). The nth tetrahedral number equals the sum of the first n triangular numbers: Te(n) equals T(1) plus T(2) plus dots plus T(n) equals n(n+1)(n+2) divided by 6. The sequence begins 1, 4, 10, 20, 35, 56, 84, and so forth. Just as triangular numbers count objects arranged in a triangle, tetrahedral numbers count objects arranged in a tetrahedron. Tetrahedral numbers also equal the binomial coefficient C(n+2, 3), counting ways to choose 3 items from n+2. This pattern extends to higher dimensions: pentatope numbers use 4 dimensions, and the general formula involves n-dimensional simplices.

How are triangular numbers used in real-world applications?

Triangular numbers appear in surprisingly many practical applications. In tournament scheduling, a round-robin tournament with n teams requires T(n-1) games, since each pair plays once. In networking, the number of direct connections between n computers in a fully connected network is T(n-1). In chemistry, the triangular arrangement appears in electron shell configurations and molecular geometry. In logistics, stacking cannonballs or oranges in a pyramid follows tetrahedral number patterns. In computer science, triangular numbers arise in the analysis of nested loops and sorting algorithms, where the number of comparisons in bubble sort is approximately T(n-1). Even in everyday life, stacking rows of cans or bowling pin arrangements follow triangular number patterns.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy