# Combination Calculator

Calculate combinations (C(n,r)) with support for different types: with/without repetition, binomial coefficients, and detailed combinatorial analysis.

> Canonical page: https://elysiatools.com/en/tools/combination-calculator

- **Category:** Math & Numbers

- **Keywords:** combination, binomial, choose, combinatorics, mathematics, C(n,r), n choose k

## Overview

The Combination Calculator is a precise mathematical tool designed to compute the number of ways to select items from a larger set, supporting both standard combinations and combinations with repetition.

## Inputs

- **Total Items (n)** (number): Total number of distinct items
- **Items to Choose (r)** (number): Number of items to select
- **Combination Type** (select)
- **Show mathematical formula** (checkbox)
- **Show calculation steps** (checkbox)
- **Show Pascal triangle position** (checkbox)

## When to use

- When determining the number of possible outcomes in probability and statistics problems.
- When calculating binomial coefficients for algebraic expansions or discrete mathematics.
- When solving real-world selection scenarios where the order of items does not matter.

## How it works

- Enter the total number of items (n) and the number of items to choose (r).
- Select the combination type: 'Without Repetition' for distinct selections or 'With Repetition' for scenarios where items can be picked multiple times.
- Enable optional settings to view the mathematical formula, step-by-step derivation, or Pascal's triangle position.
- Click calculate to receive the result along with the detailed combinatorial analysis.

## Use cases

- Calculating lottery odds or card game hand possibilities.
- Determining the number of ways to form committees or teams from a group of people.
- Analyzing data distribution patterns in statistical research.

## Frequently asked questions

### What is the difference between combinations with and without repetition?

Without repetition means each item can be selected only once. With repetition allows the same item to be chosen multiple times.

### Does the order of selection matter in this calculator?

No, combinations specifically ignore the order of selection. If order matters, you should use a permutation calculator instead.

### What is the maximum value for n and r?

The calculator supports values for n and r up to 50.

### Can I see the formula used for the calculation?

Yes, by enabling the 'Show mathematical formula' option, the tool will display the specific formula applied to your inputs.

### What is the Pascal triangle position feature?

This feature identifies the specific row and column index where your combination result appears within Pascal's triangle.

## Related tools

- [Beam Reaction Force Calculator (Simply Supported)](https://elysiatools.com/en/tools/beam-reaction-force): Calculate support reactions of a simply supported beam via static equilibrium. UDL: RA=RB=q·L/2. Center point load: RA=RB=P/2. Off-center point load at a: RA=P·b/L, RB=P·a/L. Also returns max shear Vmax and max moment Mmax.
- [Exponential Calculator](https://elysiatools.com/en/tools/exponential-calculator): Calculate natural exponential values e^x, inspect growth factors, and compare them with the inverse e^-x
- [Polynomial Regression Calculator](https://elysiatools.com/en/tools/polynomial-regression-calculator): Fit a polynomial least-squares curve to paired numeric data and inspect coefficients, R squared, and predictions
- [Prime Factorization Calculator](https://elysiatools.com/en/tools/prime-factorization): Factor any integer into its prime factors with detailed analysis and mathematical properties.
- [Quadratic & Linear Equation Solver](https://elysiatools.com/en/tools/quadratic-equation-solver): Solve quadratic equations ax² + bx + c = 0 and linear equations bx + c = 0 with detailed steps, discriminant analysis, vertex calculation, and axis of symmetry.
- [Three-Phase Short-Circuit Current Calculator (IEC 60909)](https://elysiatools.com/en/tools/short-circuit-current-calculator): Estimate the three-phase symmetric short-circuit current using the IEC 60909 far-from-generator method: I"_k = c·U_n/(√3·|Z|) and i_p = κ·√2·I"_k with κ = 1.02 + 0.98·e^(−3R/X). Source impedance is the series sum of transformer and line R/X.
- [PERT Network Analyzer (Expected Duration & Variance)](https://elysiatools.com/en/tools/pert-network-analyzer): Three-point PERT estimates: te and σ² per activity, critical path, expected project duration and variance, and normal completion probability for a target time.
- [Wilson's Theorem Primality Checker](https://elysiatools.com/en/tools/wilson-theorem-checker): (n−1)! ≡ −1 (mod n) ⟺ n is prime. Exact factorial residue for n ≤ 10⁷, Miller–Rabin cross-check, composite factorial law, optional running-products trace.

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
