∑Calculators Map.Find a calculator ↗

% MATH & PERCENTAGES

Derangement Count Calculator

Count permutations in which no object remains in its original position.

Your numbers

Free calculator
YOUR RESULT
9

Calculated in your browser. Your inputs aren’t uploaded.

When to use this calculator

Count permutations in which no object remains in its original position. All objects are distinct; numerical counts are restricted to the supported exact range.

Explore the algebra & number calculators for other questions in this topic. For a related calculation, use the Reverse Percentage Calculator: Recover the original value before a percentage increase.

Understand the derangement count result

Count permutations in which no object remains in its original position. For the example inputs Integer object count = 4, the result is 9. All objects are distinct; numerical counts are restricted to the supported exact range.

PUTTING IT INTO PRACTICE

Derangement Count: a worked example

The values below are an illustrative example, not a recommendation. Replace them with measurements or assumptions that match your question.

Example inputs and calculated result
InputExample value
Integer object count4
Result9
  1. Check the input labels and enter the example values above.
  2. Apply the relationship: !n = n! × sum from k=0 to n of (−1)^k/k!.
  3. The result is 9 , rounded for display.

How to interpret your result

All objects are distinct; numerical counts are restricted to the supported exact range. Use real-number inputs within the labelled domain. Results are rounded only for display.

The result is expressed in the stated matching input units. All objects are distinct; numerical counts are restricted to the supported exact range.

Frequently asked questions

Which assumptions matter for derangement count?

All objects are distinct; numerical counts are restricted to the supported exact range. Use real-number inputs within the labelled domain. Results are rounded only for display.

When is the derangement count calculator useful?

Count permutations in which no object remains in its original position. All objects are distinct; numerical counts are restricted to the supported exact range.

How do I use the derangement count calculator?

Enter integer object count. The result updates automatically. Use the units shown beside each input; the example values illustrate the method.

Which formula does this calculator use?

!n = n! × sum from k=0 to n of (−1)^k/k!.

What should I check before using the result?

All objects are distinct; numerical counts are restricted to the supported exact range. Use real-number inputs within the labelled domain. Results are rounded only for display.

How are results rounded?

Scalar numbers display up to six decimal places, with scientific notation for very large or small values. Text, fraction, date and schedule outputs use the format described on the tool. Intermediate calculations use JavaScript floating-point arithmetic. Keep sensible precision for your measurements.

Further reading

For background on this topic, see OpenStax: algebra and trigonometry ↗. This is a topic reference, not an external review or endorsement of this tool.

Calculators Map editorial process · Updated · Methods and limitations