排列与组合计算器

计算 nPr、nCr 和阶乘。

在您的浏览器中运行。您的文件不会离开设备。 了解如何验证

…

使用方法

  1. 1
    填写各项

    输入数字或选择所需选项。

  2. 2
    查看结果

    更改任何值时,答案会立即更新。

  3. 3
    使用结果

    复制结果或记下来。不会向任何地方发送任何内容。

About this tool

Enter n, the number of items, and r, how many you choose. You get nPr (permutations), nCr (combinations), n factorial, and the counts when repeats are allowed. Handy for probability, schedules and lottery questions.

When to use it

Work out nPr, nCr and factorials.

Tips

Order matters for permutations, not for combinations.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

Choosing the right one

Use permutations when the order matters, such as a race podium or a PIN. Use combinations when it does not, such as choosing a committee. nCr is always smaller than or equal to nPr.

计算示例

With the boxes at their starting values (n (total items): 10; r (items chosen): 3), the tool shows: n factorial (n!): 3,628,800; Permutations with repetition (nʳ): 1,000; Combinations with repetition: 220; Permutations nPr: 720; Combinations nCr: 120. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.

获得最佳结果的提示

在相信结果之前先检查每一个输入项,因为一个错误的数字就会改变整个答案。请使用工资单、账单、证书或合同上的准确数字,并记下计算日期。税率、门槛和规则会不时变化,因此对于税费和法律事务,请将结果视为估算,并与本页注明的官方来源核对。您可以尝试任意多个方案;不会保存或发送任何内容,刷新页面会清空输入。

要点

将此计算器嵌入您的网站

复制此代码,即可在您的页面上显示计算器。包含指向 shobfree.com 的链接。

常见问题

What is the difference between nPr and nCr?

nPr counts ordered arrangements. nCr counts groups where order does not matter, so it is always smaller or equal.

What are the limits?

n up to 170 and r not larger than n.

What is nCr?

The number of ways to choose r items from n without order.

What is nPr?

The number of ordered arrangements of r from n.

What is a factorial?

n! is the product of all whole numbers from 1 to n, for example 5! is 120.

完全免费无费用,无需注册
文件保持私密一切都在您的浏览器中运行
用您的语言轻松使用提供多种语言