Triangular Number Calculator
Find the nth triangular number.
Result
How it is calculated
The nth triangular number counts the dots in a triangle with n dots on its base, which equals the sum 1 + 2 + … + n. The closed form is Tn = n × (n + 1) / 2, the trick attributed to pairing the first and last numbers of the sum. Enter n as a whole number of 0 or more; decimals are cut to the integer part and negative numbers return no result. The tool gives T0 = 0, T1 = 1, T2 = 3, T3 = 6 and so on. The same number counts handshakes among n + 1 people, since each pair shakes once.
Worked example
Find the 10th triangular number. Using the formula, T10 = 10 × 11 / 2 = 110 / 2 = 55. Check by adding: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55. As a picture, a triangle with 10 dots in the bottom row, 9 in the next and so on down to 1 contains 55 dots in total.
Common mistakes
- Computing n² / 2, which ignores the +1 and gives 50 for n = 10.
- Starting the count at 0 or 1 inconsistently; T1 = 1 is the first triangular number, T0 = 0.
- Confusing triangular numbers with square numbers or Fibonacci numbers.
- Entering a decimal such as 10.9, which is cut to 10, not rounded to 11.
- Using n for the number of people in a handshake problem; for n people use n − 1 here.
About this calculator
This calculator finds the nth triangular number using the formula T(n) = n(n+1)/2 — the sum of all whole numbers from 1 up to n, and the same count you'd get by stacking dots into a triangle with n dots on each side. T(1)=1, T(2)=3, T(3)=6, and so on.
Math students use it for number theory and combinatorics homework, and programmers use triangular numbers when counting handshakes in a group, pairs in a round-robin tournament, or the number of cells below a diagonal in a grid.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments