Percentage calculator for percent of a number, what percent one value is of another, and finding the whole from a percent.

Five common formulas

Calculate a percentage

Percentage Calculator

A percentage expresses a ratio per 100. This calculator offers five modes: percentage of a number, part as a percentage of a whole, increase, decrease, and percentage difference. Choose the question that matches your problem before entering values; the same numbers can produce different answers when the question changes.

This guide explains what each calculation means and includes examples, including results observed in the calculator. Treat an answer as arithmetic support: the tool cannot decide which value should count as the whole, starting value, or comparison base in your situation.

Choose the right percentage question

The Calculation selector lists five modes. The numeric field labels change with the selected mode, distinguishing inputs such as percentage and number, part and whole, or percentage and starting number. Read those labels before entering values.

Match your question to the operation. “What is 15% of 50?” asks for a percentage of a number. “30 is what percentage of 150?” asks for a part as a percentage of a whole. “Increase 50 by 15%” and “decrease 50 by 15%” ask for a new value after a change. “What is the percentage difference between two values?” compares them without identifying either one as the starting value.

Select the relevant mode, enter the values in the labeled fields, and choose Calculate. In successful calculations observed during testing, the calculator displayed a result and a corresponding formula or expression. The examples below distinguish tested outputs from explanations of the mathematics.

What a percentage means

A percentage is a number or ratio expressed per 100. For example, 25% means 25 out of 100, which is 0.25 as a decimal. Convert a percentage to a decimal by dividing by 100. Convert a decimal to a percentage by multiplying by 100 and adding the percent sign.

Percentages make proportions easier to compare, but they always refer to a base. Saying “30 is 20%” is incomplete unless you know what 30 is being compared with. In “30 is 20% of 150,” 30 is the part, 150 is the whole, and 20% is the rate.

The five formulas

Use these formulas to understand each mode and to check whether a result makes sense. In the formulas, p is a percentage, n is a number, and a and b are the two values being compared.

QuestionFormulaWhat the result represents
What is p% of n?n × p ÷ 100The part represented by p% of n
What percentage is part of whole?part ÷ whole × 100The part as a percentage of the whole
Increase a starting value by p%starting value × (1 + p ÷ 100)The value after the increase
Decrease a starting value by p%starting value × (1 − p ÷ 100)The value after the decrease
Find the percentage difference between a and b|a − b| ÷ ((a + b) ÷ 2) × 100The absolute difference relative to the average of the two values

Calculate a percentage of a number

To find p% of a number n, convert the percentage to a decimal and multiply. The equivalent formula is n × p ÷ 100. For example, 15% of 50 is 50 × 15 ÷ 100 = 7.5.

This example was tested in the calculator. With 15% and 50 entered, it displayed 7.5 and the expression “15% × 50.” The result means that 7.5 is 15 hundredths of 50.

The same method works when the result is not a whole number. For example, 20% of 35 is 35 × 0.20 = 7. If the result represents money or a measured quantity, follow the rounding rule that applies to that context rather than rounding automatically.

Find what percentage a part is of a whole

To express a part as a percentage of a whole, divide the part by the whole and multiply by 100: part ÷ whole × 100. For example, 30 ÷ 150 × 100 = 20%, so 30 is 20% of 150.

This calculation was tested. Entering part 30 and whole 150 produced 20%, with the displayed expression “30 ÷ 150 × 100.”

The whole is the comparison base, so identify it carefully. If 30 people in a group of 150 belong to one category, 30 is the part and 150 is the whole. If the whole is zero, the percentage is undefined because the calculation would require division by zero. In testing, entering part 30 and whole 0 produced the message “The whole cannot be zero.”

A part can be larger than its whole in some contexts, so a result above 100% is not automatically a mistake. For example, a value of 150 compared with a base of 100 is 150%. Check what the quantities represent before deciding whether that result is appropriate.

Calculate an increase or decrease

A percentage increase or decrease changes a starting value by a proportion of that same value. Convert the rate to a decimal, then multiply the starting value by 1 plus the rate for an increase or 1 minus the rate for a decrease.

For example, increasing 50 by 15% gives 50 × (1 + 0.15) = 57.5. The calculator displayed 57.5 for this tested input and showed “50 × (1 + 15/100).”

For a decrease, use starting value × (1 − p ÷ 100). A 15% decrease from 50 is 50 × (1 − 0.15) = 42.5. The calculator’s selector lists a decrease mode, but that mode’s output was not tested for this article.

A percentage change needs a specified starting value. The same numerical difference can represent a different percentage depending on the base: an increase of 10 from 20 is 50%, while an increase of 10 from 100 is 10%. Keep the percentage change separate from the difference in the units themselves.

Understand percentage difference

Percentage difference compares two values without designating one as the original or starting value. A common formula divides the absolute difference between the values by their average, then multiplies by 100: |a − b| ÷ ((a + b) ÷ 2) × 100.

For values 10 and 6, the absolute difference is 4 and their average is 8. The percentage difference is 4 ÷ 8 × 100 = 50%. This differs from the percentage change from 10 to 6: using 10 as the starting value gives a 40% decrease.

The calculator’s selector includes a percentage-difference mode, but its output was not tested. Check the definition required by your assignment, report, or organization. “Percentage difference” and “percentage change” answer different questions, and conventions may matter in formal work.

Percentage points are not percent change

When comparing two percentages, subtracting one rate from the other gives a difference in percentage points. A change from 10% to 12% is an increase of 2 percentage points. Relative to the original 10%, it is a 20% increase: (12% − 10%) ÷ 10% × 100.

Use percentage points for the direct gap between two rates and percent change when describing a relative change from a starting rate. This distinction is useful when reading or reporting changes in rates, such as survey results or interest rates.

Check inputs, rounding, and results

Before calculating, check the selected mode, field labels, decimal points, and signs. Confirm that the whole or starting value is the one intended by the question. For a part-as-a-percentage-of-a-whole calculation, the whole cannot be zero.

Keep extra digits during intermediate calculations and round the final result according to the problem or reporting requirement. Rounding too early can affect the final answer. If the inputs are measured values, avoid reporting more decimal places than the measurements justify.

Estimate the answer as a quick check. Fifteen percent is a little more than one tenth, so 15% of 50 should be somewhat greater than 5; 7.5 is plausible. For a part-to-whole calculation, compare the part with the whole: 30 is one fifth of 150, so 20% is reasonable.

For important work, substitute the result into the original relationship or reverse the operation. These checks can catch arithmetic or entry errors, but they cannot confirm that you chose the right base, units, or interpretation for the real-world problem.

Common mistakes and limitations

A common mistake is swapping the part and whole. Another is using 15 instead of 0.15 in a multiplication that requires the percentage as a decimal, or applying an increase to the wrong starting value. State the question in words first, then match each quantity to the calculator’s field labels.

Percentage difference and percentage change are not interchangeable. Percentage difference compares two values using a convention such as their average as the base; percentage change measures movement from a specified initial value. When comparing two percentages, also distinguish percentage points from relative percent change.

Testing confirmed the listed modes and the recorded examples and zero-whole validation, not every possible input or result. The decrease and percentage-difference modes were listed in the selector but their outputs were not tested. Use the formulas to understand and independently check the arithmetic; a numerical result does not establish that every assumption in a real-world problem is correct.

Frequently asked questions

What formula finds a percentage of a number?

Multiply the number by the percentage divided by 100. For example, 15% of 50 is 50 × 15 ÷ 100 = 7.5.

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

Divide the part by the whole and multiply by 100. For example, 30 ÷ 150 × 100 = 20%. The whole must not be zero.

Can the whole be zero?

No, not in a part-as-a-percentage-of-a-whole calculation, because that requires division by the whole. For a tested zero-whole input, the calculator displayed “The whole cannot be zero.”

How do I increase a number by a percentage?

Multiply the starting value by 1 plus the percentage as a decimal. Increasing 50 by 15% gives 50 × 1.15 = 57.5.

How do I decrease a number by a percentage?

Multiply the starting value by 1 minus the percentage as a decimal. A 15% decrease from 50 is 50 × 0.85 = 42.5. The calculator lists a decrease mode, but its output was not tested for this article.

What is the difference between percentage difference and percentage change?

Percentage change uses a specified starting value as its base. Percentage difference compares two values without choosing one as the starting value, commonly using their average as the base.

What is the difference between percentage points and percent?

Percentage points describe the direct subtraction between two rates. A change from 10% to 12% is 2 percentage points, or a 20% relative increase from the original 10%.

How should I round a percentage result?

Keep extra digits during the calculation and round the final answer to the precision required by the problem or source measurements. Follow any specified rule, especially for money, measurements, or formal reports.

Share on: