This permutation calculator works out nPr, the number of different ordered arrangements of r items chosen from a set of n. Permutations are the right tool whenever order matters, which is more often than people expect. Working out how many ways first, second and third place can be awarded among eight runners, how many four digit PINs are possible without repeating a digit, or how many ways a committee can fill the distinct roles of chair, secretary and treasurer are all permutation problems. The formula is n factorial divided by the factorial of n minus r, which in plain terms is simply the product of n, then n minus 1, and so on for r terms. Because order is counted as different, the number of permutations grows very quickly, and even modest values of n and r produce large totals, so the calculator handles the multiplication for you and warns when the answer grows beyond the range it can show exactly. The key contrast to remember is with combinations, where order does not matter: choosing three people for identical prizes is a combination, but ranking them first, second and third is a permutation. Enter your n and r values, with r no larger than n, to see the result update as you type.
The calculator multiplies n by each smaller whole number down to n minus r plus 1, which is the same as n factorial divided by the factorial of n minus r. This counts every distinct ordering of the r chosen items. It computes the product directly rather than full factorials, so it stays accurate for larger inputs.
For first, second and third place among eight runners, n is 8 and r is 3. That is 8 times 7 times 6, which equals 336 different ways to award the three placings.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.