Permutation Calculator

Calculate permutations with or without repetition, plus circular arrangements, with formulas and optional steps

Related Tags

Example Results

1 examples

Arrange medal positions without repetition

Count the number of ordered podium outcomes when choosing 3 positions from 5 competitors.

{
  "result": {
    "value": "60",
    "formula": "P(5,3) = 5! / 2!"
  }
}
View input parameters
{ "totalItems": 5, "selectedItems": 3, "permutationType": "without-repetition", "showFormula": true, "showSteps": true }

Key Facts

Category
Math, Date & Finance
Input Types
number, select, checkbox
Output Type
json
Sample Coverage
1
API Ready
Yes

Overview

The Permutation Calculator is a fast and accurate math utility designed to compute the number of possible arrangements for a given set of items. Whether you are solving combinatorics problems, determining password combinations, or calculating seating arrangements, this tool supports permutations with repetition, without repetition, and circular arrangements, complete with step-by-step formulas.

When to Use

  • When you need to find the exact number of ordered arrangements for a subset of items from a larger pool.
  • When solving probability or combinatorics assignments that require showing the underlying mathematical formulas and steps.
  • When calculating possible combinations for passwords, lock codes, or scheduling scenarios where order matters.

How It Works

  • Enter the total number of items available in your set.
  • Specify the number of items you want to select and arrange.
  • Choose the permutation type: without repetition, with repetition, or circular.
  • Toggle the options to show the formula and calculation steps, then view the final computed result.

Use Cases

Determining the number of possible outcomes for race podiums (1st, 2nd, and 3rd place).
Calculating the total number of possible PIN codes or passwords given a specific character set and length.
Figuring out seating arrangements for guests around a circular dining table.

Examples

1. Calculating Race Podium Outcomes

Math Student
Background
A student is working on a probability assignment involving a race with 8 runners.
Problem
Needs to find out how many different ways the gold, silver, and bronze medals can be awarded.
How to Use
Set Total Items to 8, Selected Items to 3, and choose 'Without Repetition'. Enable 'Show Formula' to include in the homework.
Example Config
Total Items: 8, Selected Items: 3, Permutation Type: without-repetition
Outcome
The tool outputs 336 possible arrangements and provides the formula P(8,3) = 8! / 5!.

2. Determining PIN Code Possibilities

Security Analyst
Background
An analyst is evaluating the brute-force vulnerability of a 4-digit PIN system.
Problem
Needs to calculate the total number of possible 4-digit PINs using numbers 0-9, where digits can be reused.
How to Use
Set Total Items to 10, Selected Items to 4, and select 'With Repetition'.
Example Config
Total Items: 10, Selected Items: 4, Permutation Type: with-repetition
Outcome
The calculator returns 10,000 possible permutations with the formula 10^4.

3. Planning a Circular Seating Arrangement

Event Planner
Background
An event planner is organizing a VIP dinner and needs to seat 6 guests around a round table.
Problem
Wants to know how many unique seating arrangements exist, keeping in mind that rotating the same circle of people doesn't count as a new arrangement.
How to Use
Set Total Items to 6, Selected Items to 6, and choose 'Circular'.
Example Config
Total Items: 6, Selected Items: 6, Permutation Type: circular
Outcome
The tool calculates 120 unique arrangements using the circular permutation formula (6-1)!.

Try with Samples

math-&-numbers

Related Hubs

FAQ

What is the difference between a permutation and a combination?

In a permutation, the order of the items matters (e.g., a lock code). In a combination, the order does not matter (e.g., selecting a team).

What does 'without repetition' mean?

It means once an item is selected from the pool, it cannot be chosen again. This is common in race rankings or seating arrangements.

How are circular permutations calculated?

Circular permutations account for arrangements in a circle where there is no fixed starting point. The formula used is typically (n-1)! for arranging n items.

Can I see the math behind the result?

Yes, by checking the 'Show Formula' and 'Show Steps' boxes, the calculator will output the exact mathematical formula and steps used to reach the answer.

Is there a limit to the numbers I can input?

The tool currently accepts inputs up to 100 for both the total items and selected items to prevent browser performance issues with massive factorials.

API Documentation

Request Endpoint

POST /en/api/tools/permutation-calculator

Request Parameters

Parameter Name Type Required Description
totalItems number Yes -
selectedItems number Yes -
permutationType select Yes -
showFormula checkbox No -
showSteps checkbox No -

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-permutation-calculator": {
      "name": "permutation-calculator",
      "description": "Calculate permutations with or without repetition, plus circular arrangements, with formulas and optional steps",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=permutation-calculator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]