Full row sum
Σ C(n, k) for k = 0 to n = 2ⁿ, the number of subsets of an n-element set.
Binomial expansion sums, partial sums of Pascal's rows and binomial probability sums.
Enter your values below to get started.
A full row adds to 2ⁿ; with a = 1 and b = 1 the expansion gives the same 2ⁿ.
With a = 1 and b = −1 the alternating sum is 0 for every n ≥ 1.
For “at least k” set To k₂ = n; for “at most k” set From k₁ = 0.
Type p as a fraction, such as 1/6 for a die.
A binomial sum calculator adds terms built from binomial coefficients C(n, k), the numbers in Pascal's triangle. It handles 3 kinds of sums: the binomial expansion Σ C(n, k)·aⁿ⁻ᵏ·bᵏ = (a + b)ⁿ, partial sums of a Pascal row Σ C(n, k) from k₁ to k₂, and binomial probability sums P(k₁ ≤ X ≤ k₂) for n trials with success probability p.
A binomial sum is a sum whose terms contain binomial coefficients C(n, k) = n!/(k!(n − k)!), the number of ways to choose k items from n. The simplest binomial sum adds a whole row of Pascal's triangle: C(4, 0) + C(4, 1) + C(4, 2) + C(4, 3) + C(4, 4) = 1 + 4 + 6 + 4 + 1 = 16 = 2⁴.
The triangle carries the name of Blaise Pascal, who studied the triangle in his 1654 Treatise on the Arithmetical Triangle; Chinese mathematician Yang Hui and Persian mathematician Omar Khayyam knew the same triangle centuries earlier.
The binomial sum calculator builds the row C(n, 0), C(n, 1), …, C(n, n) with exact big-integer arithmetic, multiplies each coefficient by its weight and adds the terms in the chosen range. Each coefficient comes from the previous one: C(n, k) = C(n, k − 1)·(n − k + 1)/k, so no factorial is ever computed in full.
Row n of Pascal's triangle, exact up to n = 10,000 (C(10000, 5000) has 3,009 digits).
Expansion: aⁿ⁻ᵏbᵏ. Partial sum: weight 1. Probability: pᵏ(1 − p)ⁿ⁻ᵏ.
Terms from k₁ to k₂ are added; the expansion always adds k = 0 to n.
The expansion is checked against (a + b)ⁿ and the row against 2ⁿ.
The main binomial sum formula is the binomial theorem, Σ C(n, k)aⁿ⁻ᵏbᵏ = (a + b)ⁿ, and 4 well-known identities follow from it. Each identity below holds for every whole number n ≥ 1.
There are 5 common types of binomial sums: full row sums, partial row sums, alternating sums, weighted expansion sums and binomial probability sums. Partial row sums have no closed form, so a calculator adds them term by term.
Σ C(n, k) for k = 0 to n = 2ⁿ, the number of subsets of an n-element set.
Σ C(n, k) for k = k₁ to k₂. Example: C(10, 0) + … + C(10, 3) = 176.
Σ (−1)ᵏ C(n, k) = 0 for n ≥ 1: even-size and odd-size subsets are equal in number.
Σ C(n, k)aⁿ⁻ᵏbᵏ = (a + b)ⁿ, such as (1 + 2)⁴ = 81.
Σ C(n, k)pᵏ(1 − p)ⁿ⁻ᵏ over a range of k: the cumulative binomial distribution.
To calculate a binomial sum by hand, write row n of Pascal's triangle, multiply each entry by its weight, and add the entries in the range. The process takes 4 steps. Here is (1 + 2)⁴.
The cumulative binomial distribution P(X ≤ k) is a binomial sum: the sum of C(n, j)pʲ(1 − p)ⁿ⁻ʲ for j = 0 to k. X counts the successes in n independent trials that each succeed with probability p. Swiss mathematician Jacob Bernoulli described these trials in Ars Conjectandi (1713).
The distribution has mean np and standard deviation √(np(1 − p)). For 20 fair coin flips the mean is 10 heads and the standard deviation is about 2.24. The full probability sum from k = 0 to n is 1, the binomial theorem with a = 1 − p and b = p.
In 1654 the gambler Chevalier de Méré asked Blaise Pascal why betting on at least one 6 in 4 rolls of a die won. The binomial sum answers it: P(X ≥ 1) = 1 − (5/6)⁴ ≈ 0.5177, slightly above 50%.
Pick the type of sum, enter n and the values for that type, and press Calculate. The result shows the exact sum or probability, the step-by-step working, a table of every C(n, k) and a bar chart of the row or distribution.
Expansion, partial row sum or probability sum.
Up to 1,000 for expansions, 10,000 for rows and 100,000 for probabilities.
Fractions work: 1/2, 1/6.
Dark bars mark the terms inside your range.
Binomial sums count combinations and add up probabilities of repeated yes/no trials. There are 5 common applications:
Common binomial sums and probabilities with their exact values.
| Sum | Type | Value | Calculator |
|---|---|---|---|
| Expansion (1 + 2)⁴ | 81 | ||
| Expansion | 125/8 = 15.625 | ||
| Full row | 1,024 | ||
| Partial row | 176 | ||
| Partial row | 616,666 | ||
| Probability | 0.171875 | ||
| Probability | 0.517747 |
Try each one, then reveal the answer or solve it in the calculator.
Add every entry of row 8 of Pascal's triangle.
Find C(12, 0) + C(12, 1) + C(12, 2).
Find C(7, 3) + C(7, 4) + C(7, 5).
Expand (2 + 3)⁴ with the binomial theorem and add the terms.
A machine makes 10% defective parts. Find the probability of at most 2 defective parts in a sample of 10.
Find the probability of at least 8 heads in 10 fair coin flips.
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
A binomial sum calculator is an online tool that adds terms containing binomial coefficients C(n, k). It returns binomial expansion sums Σ C(n, k)aⁿ⁻ᵏbᵏ, partial sums of Pascal's rows and cumulative binomial probabilities, with steps.
The sum of the binomial coefficients in row n is 2ⁿ. For n = 5: 1 + 5 + 10 + 10 + 5 + 1 = 32.
No, a partial sum Σ C(n, k) for k = 0 to m has no simple closed form for general m. The exception is half a row: for even n, the sum to n/2 equals (2ⁿ + C(n, n/2))/2.
The alternating sum Σ (−1)ᵏ C(n, k) equals 0 for every n ≥ 1. The binomial theorem gives (1 − 1)ⁿ = 0.
Add C(n, j)pʲ(1 − p)ⁿ⁻ʲ for j = 0 to k. For n = 10, p = 0.5 and k = 3 the sum is 176/1,024 = 0.171875.
C(n, k), read “n choose k”, is the number of ways to choose k items from n without regard to order: C(n, k) = n!/(k!(n − k)!). C(5, 2) = 10.
Yes, a and b can be negative or fractions. The calculator keeps fractions exact, so (2 + 1/2)³ returns 125/8.
The sum of the squares of row n is C(2n, n), a case of the Vandermonde identity. For n = 4: 1 + 16 + 36 + 16 + 1 = 70 = C(8, 4).
Pascal's triangle was known to Indian, Persian and Chinese mathematicians, including Omar Khayyam and Yang Hui, centuries before Blaise Pascal published his Treatise on the Arithmetical Triangle in 1654.
A binomial sum adds terms built from C(n, k), and the binomial sum calculator returns expansion sums, partial Pascal-row sums and binomial probability sums with exact big integers and full steps. Full rows give 2ⁿ, expansions give (a + b)ⁿ, and probability sums give the chance of k₁ to k₂ successes.
Not sure which mode fits your problem? Answer the questions below.