Percentages

Percentage calculator

A percentage calculator answers one of three different questions: what is X percent of Y, X is what percent of Y, or X is Y percent of what.

More about this

Three different questions: “what is 15% of 240”, “36 is what percent of 240”, and “36 is 15% of what”. Picking the wrong one is the most common way to get a wrong answer here.

Printed at the top of the exported sheet.

Result

Fill in the form and press Calculate. The answer appears here with the working shown, and the document it was for is ready to download as PDF or Word.

This page asks which of the three you mean, shows every step of the arithmetic, and exports the worked calculation as a sheet you can print or hand in. It runs in your browser, so the numbers you type stay on your device.

Three questions that look alike

Percent problems share one relationship: the part equals the whole multiplied by the rate, written as a decimal. What changes between problems is which of the three quantities is missing. If the rate and the whole are known, the part is the answer. If the part and the whole are known, the rate is the answer. If the part and the rate are known, the whole is the answer.

The calculator names each form by the question it answers rather than by variables, because the most common mistake with percentages is solving a different question from the one intended. “What is 15% of 240” and “15 is what percent of 240” use the same three numbers and return unrelated results.

How each form is computed

For “X% of Y,” the rate is divided by one hundred to turn it into a decimal, and that decimal is multiplied by Y. For “X is what % of Y,” X is divided by Y and the quotient is multiplied by one hundred. For “X is Y% of what,” X is divided by the rate expressed as a decimal.

Two inputs have no answer. Asking what percent one number is of zero divides by zero, and asking X is zero percent of what has the same problem. The calculator reports that instead of printing an infinite or empty value. Results are trimmed of floating-point noise for display, so an answer of 36 does not appear as 35.99999999999999.

Percent, decimal and percentage points

A percent is a fraction of one hundred, so a rate can exceed one hundred percent. A value that is 150% of another is one and a half times as large. A rate below zero is also valid arithmetic, though it usually signals a sign error in the input.

A change from one rate to another is measured in percentage points, not percent. Moving from 4% to 6% is a rise of two percentage points, and a fifty percent increase in the rate itself. The percentage change page handles the second reading; this page handles the three part-and-whole questions.

What the exported sheet contains

The sheet prints the question in words, the inputs as typed, each arithmetic step on its own line, and the answer. A label field lets you add a heading such as an invoice reference or a homework problem number. The working is the point: a teacher or a client can follow it without redoing it.

Worked example: 15% of 240, and the same numbers asked two other ways

  1. Question one, “What is 15% of 240?” Convert the rate: 15 ÷ 100 = 0.15.
  2. Multiply the decimal by the whole: 0.15 × 240 = 36.
  3. Question two, “36 is what percent of 240?” Divide the part by the whole: 36 ÷ 240 = 0.15.
  4. Multiply by one hundred: 0.15 × 100 = 15%.
  5. Question three, “36 is 15% of what?” Convert the rate: 15% = 0.15.
  6. Divide the part by the decimal: 36 ÷ 0.15 = 240.
  7. All three forms use the same three numbers, 36, 15 and 240, and each one solves for a different one of them.

Questions people ask

How do I calculate a percentage of a number?

Divide the percentage by one hundred and multiply by the number. For example, 15% of 240 is 0.15 × 240, which is 36.

How do I find what percent one number is of another?

Divide the first number by the second and multiply by one hundred. For example, 36 is 15% of 240 because 36 ÷ 240 is 0.15.

How do I find the original number when I know a percentage of it?

Divide the part by the rate written as a decimal. If 36 is 15% of a number, the number is 36 ÷ 0.15, which is 240.

Why does the calculator ask which question I mean?

The three questions use the same kinds of numbers but give different answers. Choosing the form first removes the most common source of wrong results.

Can a percentage be more than 100?

Yes. A part larger than the whole gives a rate above one hundred percent. For example, 300 is 125% of 240.

Is anything sent to a server?

No. The arithmetic and the exported sheet are produced in your browser.