What Percent Is X of Y? — Formula & Calculator

What Percent Is X of Y?

“What percent is X of Y?” is the question behind test scores, discounts, tax shares, and survey results. The answer is one division and one multiplication: divide X by Y, then multiply by 100. Forty-five is 25% of 180, because 45 ÷ 180 = 0.25 and 0.25 × 100 = 25%. The percentage calculator above has a mode for exactly this question — pick “what percent,” enter the two numbers, and it shows the answer with the working.

The trick is knowing which number is X and which is Y. X is the part — the number you are asking about. Y is the whole — the number it is a part of. In “what percent is 45 of 180,” 45 is the part and 180 is the whole. Swap them and you get a different, wrong answer: 180 is 400% of 45, which is true but answers a different question.

The Formula

The formula for “what percent is X of Y” is:

Percentage = (X ÷ Y) × 100

Divide the part by the whole to get a decimal, then multiply by 100 to turn it into a percentage. For 45 of 180: 45 ÷ 180 = 0.25, then 0.25 × 100 = 25%. For 60 of 240: 60 ÷ 240 = 0.25, then × 100 = 25% again. For 30 of 120: 30 ÷ 120 = 0.25, then × 100 = 25%. The same 25% keeps appearing because the ratio is the same — a quarter — even though the numbers are different. That is the point of percentages: they let you compare ratios that use different totals.

Step by Step: What Percent Is 45 of 180?

  1. Identify the part and the whole. Part X = 45, whole Y = 180.
  2. Divide the part by the whole. 45 ÷ 180 = 0.25.
  3. Multiply by 100. 0.25 × 100 = 25%.
  4. Check it. 25% of 180 is 0.25 × 180 = 45 — the round trip confirms the answer.

Worked Examples

The table below answers the question for a range of everyday pairs. Each row shows the division, the decimal, and the percentage — so you can follow the method on any pair of your own.

QuestionDivisionDecimalAnswer
What percent is 45 of 180?45 ÷ 1800.2525%
What percent is 60 of 240?60 ÷ 2400.2525%
What percent is 30 of 120?30 ÷ 1200.2525%
What percent is 15 of 60?15 ÷ 600.2525%
What percent is 27 of 90?27 ÷ 900.3030%
What percent is 18 of 40?18 ÷ 400.4545%
What percent is 7 of 25?7 ÷ 250.2828%
What percent is 120 of 150?120 ÷ 1500.8080%
What percent is 9 of 200?9 ÷ 2000.0454.5%

The last row shows a result under 10%, where the decimal has three places: 9 ÷ 200 = 0.045, which is 4.5%. Small percentages are easy to misread — 0.045 is 4.5%, not 0.45% and not 45%. The rule is mechanical: multiply the decimal by 100 and put the % sign after it.

Test Scores and Grades

The most common use of this question is test scores. If you scored 45 out of 60, the percentage is (45 ÷ 60) × 100 = 75%. If the pass mark is 60%, you passed with room to spare. The table below converts common test scores, and the pattern is worth learning: the percentage depends on the ratio, not on the size of the test — 45 out of 60 and 75 out of 100 are both 75%.

ScoreTotal marksPercentageGrade (typical US)
456075%C
274067.5%D
364090%A
8010080%B
182572%C
485096%A
335066%D

Grade boundaries vary by school and country, so the letter grades above are typical US ones, not universal. The grade calculator converts percentages to letter grades with adjustable boundaries, and the GPA calculator turns those grades into a GPA. For the fraction behind the score — 45 out of 60 is the fraction 45/60, which simplifies to 3/4 — use the fraction calculator.

Percentages Over 100% and Under 1%

The part can be bigger than the whole, and then the answer is over 100%. If sales were $200 last year and $250 this year, this year’s sales are (250 ÷ 200) × 100 = 125% of last year’s — a quarter more than the whole. If a population grows from 80,000 to 100,000, the new figure is 125% of the old one. Percentages over 100% are not errors; they simply mean “more than the whole.”

At the other end, small ratios give small percentages: 9 out of 200 is 4.5%, 3 out of 400 is 0.75%, and 1 out of 1,000 is 0.1%. These are the figures that appear in survey results and defect rates, and they are the ones most often misread — a 0.75% defect rate is 7.5 per thousand, not 75 per thousand. When the percentage is small, it is often clearer to state it as a fraction (3 in 400) or a rate per thousand alongside the percentage.

Common Mistakes

Most wrong percentage answers come from the same short list of errors. Check yours against it before trusting the result.

  • Using the wrong base. A 25% rise followed by a 25% fall does not return to the start — the second move is measured from a bigger number.
  • Forgetting to divide by 100. 25% means 25 ÷ 100 = 0.25; multiplying by 25 instead of 0.25 gives a number 100 times too big.
  • Confusing percentage points with percent. A rate rising from 10% to 15% is a 5-percentage-point rise but a 50% increase.
  • Calculating change from zero. Percentage change from zero is undefined — there is no base to compare against.
  • Adding percentages directly. Two 10% increases in a row are a 21% increase, not 20%, because the second applies to the new total.
  • Rounding too early. Round only at the end — rounding the percentage first can shift the final answer.

Related Tools

Related tools on this site: the main what percent calculator for any percentage question, the discount calculator for sale prices and stacked discounts, the ratio calculator for the ratio behind a percentage, and the fraction calculator for the fraction behind it. For background reading, see Khan Academy — Percentages.

Key Takeaways

If you remember nothing else from this page, remember these five points.

  • 25% of 200 is 50: divide the percent by 100, then multiply.
  • 45 is 25% of 180: divide the part by the whole, then multiply by 100.
  • 80 to 100 is a 25% increase; 100 to 80 is a 20% decrease — the base changes the answer.
  • Two 10% increases in a row give 21%, not 20%, because the second applies to the new total.
  • A rate rising from 10% to 15% is a 5-percentage-point rise but a 50% increase.

Try It Yourself

  1. Pick the mode that matches your question in the calculator above.
  2. Enter the two numbers and read the answer with the working.
  3. Check the result by reversing it — 25% of 200 is 50, and 50 is 25% of 200.
  4. For sale prices with stacked discounts, use the discount calculator.

Quick Reminders

  • The old value is always the base for percentage change.
  • Percentage change from zero is undefined — there is no base.
  • Round only at the end; rounding the percentage first shifts the answer.
  • 10% of any number is the number with the decimal point moved one place left.
PercentageOf 250Of 200Of 80
10%25208
15%37.503012
20%504016
25%62.505020
50%12510040

Keep the three core formulas handy — percent of a number, what percent X is of Y, and percentage change — and almost every percentage question answers itself.

Frequently Asked Questions

What percent is 45 of 180?

25%. Divide 45 by 180 to get 0.25, then multiply by 100. The check: 25% of 180 is 0.25 × 180 = 45, which brings you back to the starting number.

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

Divide the part by the whole and multiply by 100. The formula is (X ÷ Y) × 100, where X is the part and Y is the whole. For example, 60 is (60 ÷ 240) × 100 = 25% of 240.

What percent is 60 of 240?

25%. 60 ÷ 240 = 0.25, and 0.25 × 100 = 25%. The same ratio appears for 45 of 180 and 30 of 120 — all three are a quarter of their whole.

What percent is 30 of 120?

25%. 30 ÷ 120 = 0.25, so the answer is 25%. If you scored 30 out of 120 on a test, that is a 25% score.

Can the answer be more than 100%?

Yes. If the part is bigger than the whole, the percentage is over 100%. Sales of $250 against $200 last year are 125% of last year’s sales. A percentage over 100% means “more than the whole,” not a mistake.

What is the difference between X of Y and X percent of Y?

“X of Y” is a fraction — 45 of 180 is the fraction 45/180, or 1/4. “X percent of Y” is a percentage of a number — 25% of 180 is 45. The two questions are inverses: one finds the percentage, the other finds the amount.

What percent is 25 of 50?

50%. Divide 25 by 50 to get 0.5, then multiply by 100. The check: 50% of 50 is 25.

What percent is 3 of 4?

75%. Divide 3 by 4 to get 0.75, then multiply by 100. As a fraction that is 3/4, and as a decimal it is 0.75.

Disclaimer: This calculator is for general information only. Percentages are exact arithmetic, but the numbers you enter — prices, rates, measurements — should be checked against the original source.