calpercentage.com

Calculator

What % is X of Y?

Enter any two numbers. Instantly find what percentage the first number is of the second.

0% 100%

X is __ % of Y

Formula: (X ÷ Y) × 100

How it works

Finding a percentage.

To find what percent X is of Y, divide X by Y and multiply by 100.

percentage = (X ÷ Y) × 100

Example: 30 is what percent of 150?
(30 ÷ 150) × 100 = 0.2 × 100 = 20%

Common examples

1 of 4 25%
1 of 3 33.33%
1 of 2 50%
3 of 4 75%
1 of 10 10%
1 of 5 20%
7 of 10 70%
1 of 100 1%

What Does This Calculator Do?

This calculator answers one of the most common everyday math questions: what percentage is X of Y? You enter two numbers — the part (X) and the whole (Y) — and it instantly tells you what fraction the part is when expressed as a percentage. A visual progress bar updates as you type so you can see the proportion at a glance, and a worked formula shows exactly how the result was calculated.

Unlike a general-purpose percentage calculator, this tool is built specifically for this one question. It handles decimals, numbers greater than 100%, and negative values — and it copies the result to your clipboard in one click.

How to Find What Percent X is of Y

The formula is straightforward: divide X by Y, then multiply by 100. Written out: Percentage = (X ÷ Y) × 100.

Here are three worked examples across different contexts:

  • Exam score: You scored 72 out of 90. → (72 ÷ 90) × 100 = 80%
  • Sales target: Your team closed 340 deals out of a 500-deal target. → (340 ÷ 500) × 100 = 68%
  • Budget usage: You've spent ₹12,000 out of a ₹50,000 budget. → (12,000 ÷ 50,000) × 100 = 24%

In each case the calculation is identical — only the context changes. The formula always divides the part by the whole and scales to 100.

When to Use "What Percent is X of Y?"

This is the right tool when you already have both numbers and want to express the relationship as a percentage. Common situations include:

  • Academic results — converting marks obtained out of total marks into a percentage score (e.g., 450 out of 500 = 90%)
  • Progress tracking — seeing how far along a project, fitness goal, or savings target you are
  • Market and survey analysis — expressing how many respondents chose an option out of total responses
  • Financial reporting — showing what portion of revenue comes from one product category
  • Attendance and compliance — calculating what percentage of days were present, or tasks completed

If the result comes out above 100%, that simply means X is larger than Y — the calculator handles that correctly and the progress bar turns red to flag it visually.

How This Differs From Other Percentage Calculations

It's easy to confuse this with two other common percentage questions — here's a quick comparison:

Question Tool to use
What % is X of Y? (this page) Percentage of Number
What is P% of a number? Percentage Calculator — Module 1
How much did a value change in %? Percentage Change Calculator

Related guides

If you need to find P% of a value (rather than what percent X is of Y), use Module 1 of the Percentage Calculator. It also handles reverse problems like "X is P% of what number?" in the same place.

Tracking how a value changed over time? The Percentage Change Calculator gives you the exact percentage increase or decrease between two numbers. For discounts, use the Discount Calculator — it finds the sale price, savings, and supports stacked discounts. Our guide on how to calculate percentage off walks through the math behind discount calculations.

FAQ

Frequently Asked Questions

Q1What is the formula for finding what percent X is of Y?

The formula is: Percentage = (X ÷ Y) × 100. Divide the part (X) by the whole (Y), then multiply by 100 to convert the decimal to a percentage. For example, 45 out of 180 → (45 ÷ 180) × 100 = 25%. This calculator applies this formula instantly as you type.

Q2What is 20 out of 25 as a percentage?

(20 ÷ 25) × 100 = 80%. You scored 80 percent. You can verify this using the calculator above — enter 20 as X and 25 as Y and the result and progress bar update immediately.

Q3How do I calculate percentage of marks obtained?

Enter your marks scored as X and the total maximum marks as Y. The calculator returns your percentage. For example, 378 out of 500 → (378 ÷ 500) × 100 = 75.6%. This works for any board exam, competitive test, or internal assessment.

Q4What is 15 out of 20 as a percentage?

(15 ÷ 20) × 100 = 75%. Enter 15 as X and 20 as Y in the calculator above. The progress bar will show 75% and the worked formula will display the exact calculation step.

Q5Can the result be more than 100%?

Yes. If X is larger than Y — for example, you exceeded your target — the result will be greater than 100%. This is mathematically correct. The progress bar on this calculator turns red in that case to visually flag that X has surpassed Y.

Q6What is the difference between percentage of and percentage change?

"What percent is X of Y" measures a proportion at a single point in time — how large X is relative to Y. Percentage change measures how much a value shifted between two points in time, using the formula [(New − Old) ÷ Old] × 100. Use this page for proportions; use the Percentage Change Calculator for growth or decline over time.

Related calculators