Factorials grow fast: 3! is 6, and 5! is already 120. They also sit underneath a common question, from card games to committee picks: how many ways can I choose r things from a set of n, when the order of choosing does not matter? That count is a combination, and it is built entirely out of factorials.

The free Scientific Calculator on Ovatly evaluates factorials directly, for whole numbers from 0 to 170. Combinations are a different story, and this guide is honest about it from the start: there is no nCr button and no combinations feature. What the calculator gives you is a real expression parser, and that is enough: a combination is plain arithmetic built from three factorials and one division.

Contents

  • Quick answer
  • What a factorial actually counts
  • Combinations are arithmetic, not a button
  • How to calculate factorials and combinations, step by step
  • Worked example: choosing 2 from 5
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

For a factorial, open the Scientific Calculator, type the number followed by the factorial mark, such as 5!, and press = or Enter: the answer is 120. Factorial works for whole numbers from 0 to 170 only. For a combination, there is no button to press; use the formula nCr = n! / (r! x (n-r)!), typed as one expression with the denominator in brackets. Choosing 2 from 5 gives 5! / (2! x 3!) = 120 / 12 = 10.

What a factorial actually counts

The factorial of a whole number n, written n!, is the product of every whole number from n down to 1. So 3! = 3 x 2 x 1 = 6, and 5! = 5 x 4 x 3 x 2 x 1 = 120. The count it represents is arrangements: n! is the number of ways to line up n distinct items in order, with n choices for the first position, n-1 for the second, and so on down to one.

That growth is why the calculator's ceiling matters. Factorial works for whole numbers 0 to 170 only, and above that the calculator says so rather than returning a number. A decimal is outside the deal as well. Within the range, factorial is a single step: type the number, add the factorial mark, press =, and the parser does the multiplying.

Combinations are arithmetic, not a button

A combination counts selections where order does not matter: choosing two people for a two-person job is one selection no matter which you named first. The formula starts from arrangements and divides the ordering back out:

nCr = n! / (r! x (n-r)!)

Read it in pieces. n! counts every arrangement of the full set. Dividing by r! removes the orderings within the chosen group, because the r chosen items can be lined up r! ways and every line-up is the same selection. Dividing by (n-r)! does the same service for the items left behind. What survives the two divisions is the count of distinct selections.

None of this lives behind a button on this calculator. There is no nCr key, no combinations mode, and no menu hiding one. The tool's contribution is its parser: it evaluates full expressions with brackets, powers, factorials and roots, and a combination formula is exactly that, a full expression. You supply the formula; the calculator supplies the arithmetic.

How to calculate factorials and combinations, step by step

  1. Open the Scientific Calculator.
  2. For a plain factorial, type the number followed by the factorial mark, for example 5!, and press = or Enter. The result is 120.
  3. For a combination, write the formula down first: nCr = n! / (r! x (n-r)!). Decide n, the size of the full set, and r, the number chosen.
  4. Type the whole formula as one expression, with the denominator wrapped in brackets: 5!/(2!*(5-2)!). The brackets make the parser work out the full denominator before it divides.
  5. Press = or Enter and read the result: 10.
  6. Sanity-check the answer: a combination can never exceed the arrangements it came from, and small pieces verify by hand: 5! = 120, 2! = 2, 3! = 6.

Worked example: choosing 2 from 5

A five-person group needs a two-person team, the same pair whichever member is named first. How many different teams are there? Here n = 5 and r = 2.

Work the factorials first. 5! = 5 x 4 x 3 x 2 x 1 = 120. 2! = 2 x 1 = 2. The remaining piece is (5-2)!, which is 3! = 3 x 2 x 1 = 6.

Assemble the denominator as one group: r! x (n-r)! = 2 x 6 = 12.

Divide: 120 / 12 = 10. There are 10 possible teams.

On the calculator this is a single expression, 5!/(2!*(5-2)!), and it returns 10 directly. It can also be done in pieces: calculate each factorial on its own, note the three values, then divide 120 by 12. After =, the result stays in the display, so a piece-by-piece run can keep calculating from the last answer instead of starting cold. Both routes use only the built-in factorial and ordinary division, because that is all a combination ever needs.

Limitations and honest tradeoffs

The 170 ceiling is the real constraint, and it bites combinations harder than it bites factorials. The formula computes n! first, so choosing from a set larger than 170 is out of reach on this route even when the final count would be modest. A set of 200 cannot be started, because 200! is beyond what the calculator will return.

There is no combinations feature to fall back on. If you want a button that asks for n and r and answers directly, this calculator does not have one, and the formula in this guide is the substitute. That costs a little typing and one pair of brackets, and in exchange the working stays visible: you can see the three factorials and the division, and check each piece.

Very large factorials also meet the display limit. Results are displayed rounded to 12 significant digits, while the stored value keeps full precision, so a huge factorial shows as a tidy approximation of itself on screen. Near the ceiling, read the screen as the leading digits of a much longer number.

Finally, factorials take whole numbers only: no factorial of 2.5, and no result above 170; the calculator says so instead of guessing.

Common mistakes

  • Looking for an nCr button. There is none. Type the formula as one expression instead.
  • Trying 171! or a decimal. Factorial works for whole numbers 0 to 170 only. Above that range the calculator says so, and decimals are outside the whole-number range entirely.
  • Dropping the brackets around the denominator. Typed as 5!/2!*(5-2)!, the expression divides by 2! and then multiplies by (5-2)!, a different calculation with a wrong answer. The denominator must be one bracketed group.
  • Leaving a bracket unclosed. A long formula with a missing closing bracket fails with a "Missing closing bracket" error; count the brackets and close the set.
  • Using % as a percent key in a follow-up step. The % key is the remainder operator: 10%3 returns 1, not a percentage of anything. Express a share of outcomes with the division key instead.

FAQs

How do I calculate a factorial on this calculator? Type the number followed by the factorial mark, such as 5!, and press = or Enter. The calculator evaluates factorials directly, so 5! returns 120. Factorial works for whole numbers from 0 to 170 only.

What happens if I try a factorial above 170, or of a decimal? Factorial works for whole numbers 0 to 170 only, and above that range the calculator says so instead of returning a number. A decimal is outside the whole-number range the function accepts, so keep factorial inputs to whole numbers inside the limit.

Is there a combinations or nCr button? No. Combinations are not a built-in feature of this calculator and there is no nCr button. You build them from factorials with the formula nCr = n! / (r! x (n-r)!), typed as one expression with the denominator in brackets.

Why does the combinations formula need brackets? The parser evaluates brackets first, so the denominator (r! x (n-r)!) is worked out as one group before the division. Without the brackets, the expression divides and multiplies in reading order and gives a different, wrong result.

Can I work out a combination in pieces instead of one long expression? Yes. Calculate each factorial on its own, note the values, then divide. After =, the result stays in the display so you can keep calculating, and for the worked example in this guide the pieces are 5! = 120, 2! = 2 and 3! = 6, giving 120 / 12 = 10.

Conclusion

Factorials are the built-in half of this story: one mark, one press, any whole number from 0 to 170. Combinations are the honest half: no button, no hidden feature, just the formula nCr = n! / (r! x (n-r)!) typed into the Scientific Calculator with its denominator bracketed as one group. Choosing 2 from 5 takes three factorials and one division to reach 10. For the companion guide on holding intermediate results while you work, see how to use memory functions on a scientific calculator. For more guides in this series, see our Education and Research Tools guides.