ThisCalculator

Everyday

Formula Calculate Percentage: The Simple Way

Updated · Standard formula, shown below

Percentage A is of B 31.25 %
A percent of B
20.00
Result
B is P% of what?
320.00
Result
Value A
25
You entered

This calculator works out any percentage problem: the percentage of a number, what percent one number is of another, or the original number when only the percentage and the result are known. You enter the two or three known values, and it returns the missing one using the standard percentage formula. The result is shown as a plain number, so you can apply it to prices, grades, statistics, or any other context.

Formula

The core relationship is: Percentage = (Part ÷ Whole) × 100

In symbols: P = (A / B) × 100

  • P is the percentage (a number out of 100, with the % sign)
  • A is the part (the amount you are comparing)
  • B is the whole (the total or base amount)

All three outputs in the calculator come from rearranging this one equation:

  • To find what percent A is of B: (A / B) × 100
  • To find A percent of B: (A / 100) × B
  • To find the whole when B is P% of it: B / (P / 100)

Worked Example

Using the default values from the calculator: A = 25, B = 80.

Step 1 – What percent is 25 of 80?

Divide the part by the whole: 25 ÷ 80 = 0.3125

Multiply by 100: 0.3125 × 100 = 31.25

So 25 is 31.25% of 80.

Step 2 – What is 25% of 80?

Divide the percentage by 100: 25 ÷ 100 = 0.25

Multiply by the whole: 0.25 × 80 = 20

So 25% of 80 is 20.

Step 3 – 80 is 25% of what number?

Divide the known result by the percentage as a decimal: 80 ÷ 0.25 = 320

So 80 is 25% of 320.

These match the calculator’s outputs exactly (31.25, 20, 320).

Why Percentages Matter

Percentages are a way to compare numbers of different sizes fairly. Saying “50 out of 200” and “25 out of 100” sound different, but both are 25%. Converting to a percentage puts everything on a common scale of “per hundred,” which is why it is used everywhere from test scores to interest rates to survey results.

The word itself comes from the Latin per centum, meaning “by the hundred.” That is the entire idea: a percentage is just a fraction with a denominator of 100, written with a % sign instead of a fraction bar.

How to Choose the Right Formula

The most common mistake is using the wrong version of the formula. Ask yourself which two numbers you have and which one you want:

  • You have a part and a whole → divide part by whole, multiply by 100. Example: 30 students passed out of 40. 30/40 × 100 = 75%.
  • You have a percentage and a whole → divide percentage by 100, multiply by whole. Example: 15% of 200. 0.15 × 200 = 30.
  • You have a percentage and the result → divide result by the percentage as a decimal. Example: 12 is 20% of what? 12 / 0.20 = 60.

If you are ever unsure, write the sentence in words: “What percent is A of B?” tells you A is the part and B is the whole. “What is X% of Y?” tells you X is the percent and Y is the whole.

Common Mistakes and How to Avoid Them

Three errors cause most incorrect percentage answers:

  • Swapping part and whole. 20 is 25% of 80, but 80 is 400% of 20. Always identify which number is the total you are comparing against.
  • Forgetting to multiply by 100. 25/80 = 0.3125, which is the decimal form. The percentage is 31.25%, not 0.3125%. The × 100 step is essential.
  • Rounding too early. If you round 0.3125 to 0.31 before multiplying, you get 31% instead of 31.25%. Keep full precision until the final step.

Another common confusion: a percentage increase vs. a percentage of. If something goes from 50 to 60, the increase is 10, and 10/50 × 100 = 20% increase. But 60 is 120% of 50. Both are correct – they answer different questions.

Real-World Applications

Percentages appear in almost every quantitative field:

  • Shopping: A 30% discount on a $40 item means you pay 70% of $40, or $28.
  • Grades: If you answered 42 out of 50 questions correctly, your score is 42/50 × 100 = 84%.
  • Statistics: If 1,200 out of 5,000 survey respondents chose option A, that is 24% of the total.
  • Cooking: A brine recipe calling for 5% salt means 5 g of salt per 100 g of water.
  • Finance: A 2% annual interest rate on $1,000 yields $20 in one year (simple interest).

In every case, the underlying math is the same three-variable relationship. Once you can rearrange it, you can solve any percentage problem.

Limits of the Percentage Formula

The basic formula assumes the “whole” is a positive number and that the relationship is linear. It does not handle:

  • Compound growth: A 10% increase followed by another 10% increase is not a 20% total increase. It is 1.1 × 1.1 = 1.21, or 21%. The simple percentage formula only works for a single step.
  • Negative values: If the whole is negative, the percentage can exceed 100% or be negative, which may not make sense in context.
  • Weighted percentages: If you are averaging percentages from groups of different sizes, you cannot just average the percentages – you must weight them by group size.

For these cases, you need a more specific formula (compound interest, weighted average, etc.), not the basic percentage equation.

Frequently Asked Questions

How do I calculate a percentage increase or decrease?

Subtract the original value from the new value, divide by the original value, and multiply by 100. If the result is positive, it is an increase; if negative, a decrease. For example, from 50 to 60: (60−50)/50 × 100 = 20% increase. From 60 to 50: (50−60)/60 × 100 = −16.67%, a 16.67% decrease.

What is the difference between a percentage and a percentage point?

A percentage point is the arithmetic difference between two percentages. If a rate goes from 10% to 12%, it increased by 2 percentage points, but by 20% relative (2/10 × 100). The word “points” avoids ambiguity when talking about changes in rates.

How do I convert a fraction to a percentage?

Divide the numerator by the denominator, then multiply by 100. For example, 3/4 = 0.75, then 0.75 × 100 = 75%. You can also multiply the fraction by 100 directly: (3/4) × 100 = 75%.

How do I convert a percentage to a decimal?

Divide the percentage by 100. Move the decimal point two places to the left. 25% becomes 0.25, 8.5% becomes 0.085, and 100% becomes 1. This is the form you use in most calculations.

Can a percentage be greater than 100?

Yes, when the part is larger than the whole. For example, if your sales this month are $120 and last month they were $100, then this month is 120% of last month. Percentages over 100 simply mean the part exceeds the reference whole.

Why do I get a different answer when I reverse the order?

Because percentage is not commutative. “A is what percent of B” is not the same as “B is what percent of A.” The whole is different in each case. Always identify which number is the base you are comparing against – that is the denominator.

Related

Formula used
in a | Value A | - | 25 | 0
in b | Value B | - | 80 | 0
out p | Percentage A is of B | % | (a / b) * 100 | 2
out pa | A percent of B | - | (a / 100) * b | 2
out pb | B is P% of what? | - | b / (a / 100) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.