Sum of the first n odd numbers calculator
Find the total of the first n positive odd integers without listing every term. Enter n to calculate the sum and review the method.
Related calculators
These tools cover neighboring sequence questions.
How to use the Sum of the first n odd numbers calculator
Find the total of the first n positive odd integers without listing every term. The input is a whole-number term count or endpoint, and the method avoids adding each term individually.
Input and result
Enter n as a nonnegative whole number. The output is a dimensionless sum of integer values; there are no measurement units.
Formula
1 + 3 + 5 + … + (2n − 1) = n²
Worked example
For n = 25, the sum of the first 25 odd numbers is 25² = 625.
Assumptions and limits
The sequence starts at 1 and increases by 2 each term. It is not the sum of arbitrary odd values. The displayed result is rounded for readability; large integer results can exceed the exact precision available in a browser number.
Frequently asked questions
Frequently asked questions
Which odd numbers are included?
The sequence starts at 1 and continues 3, 5, 7, and so on.
Why does the result equal n squared?
Each additional odd number adds the next layer of a square; the identity is exact for every nonnegative integer n.
Can I enter a decimal number of terms?
No. A term count must be a whole number.
How do I use the Sum of the first n odd numbers calculator?
Enter n as a nonnegative whole number. The output is a dimensionless sum of integer values; there are no measurement units.
What is a worked example of Sum of the first n odd numbers?
For n = 25, the sum of the first 25 odd numbers is 25² = 625.
See the calculation methodology and privacy policy.