What Percent Calculator

Find out exactly what percentage one number is of another.

Advertisement

How to find what percent X is of Y

To find what percentage one number is of another, divide the part by the whole and multiply by 100. This answers questions like "X is what percent of Y?"

Percentage = (Part / Whole) x 100

Example 1 (test score): You got 34 out of 40 questions right. (34 / 40) x 100 = 85%. You scored 85%.

Example 2 (budget): You spent $320 out of a $1,200 monthly budget on food. (320 / 1,200) x 100 = 26.7%. Food is 26.7% of your budget.

Everyday examples: X is what percent of Y

QuestionCalculationAnswer
15 is what % of 60?15 / 60 x 10025%
8 is what % of 32?8 / 32 x 10025%
$45 is what % of $180?45 / 180 x 10025%
27 out of 90 correct27 / 90 x 10030%
1,500 of 12,000 users1,500 / 12,000 x 10012.5%
$6,500 of $25,000 saved6,500 / 25,000 x 10026%

Identifying the part and the whole

The "whole" is the total or reference amount -- the number you are measuring against. The "part" is the piece you are interested in. In "15 out of 60," 60 is the whole and 15 is the part. If you mix them up and divide 60 by 15 instead, you will get 400% instead of 25%.

When to use this calculator

  • Figuring out what percentage of your paycheck goes to rent
  • Checking what share of a class passed (or failed) an exam
  • Seeing what percentage of a project is complete based on tasks done
  • Calculating how much of a portfolio is allocated to one asset
  • Understanding what fraction of a fundraising goal has been met

When you need "what percent" math

People encounter part-to-whole ratios constantly -- "42 of 60 students passed," "I've paid $12k of my $48k loan," "we hit 73 of our 100-unit target." The "what percent" calculation converts any of these into the single number that makes the ratio immediately understandable and comparable to other ratios. It is one of the three foundational percentage calculations alongside "what is X% of Y" and "X is Y% of what."

Expressing progress, performance, and proportions as percentages is one of the most universally understood forms of communication in business, academics, medicine, and daily life. The formula is simple -- Part divided by Whole, times 100 -- but identifying which number is the part and which is the whole is where most errors originate.

How to interpret your result: a step-by-step framework

  1. 1Identify the part and the whole clearly before calculating: The "part" is the specific number you are measuring -- the thing that fits inside the larger group. The "whole" is the total reference amount it comes from. The part goes in field 1; the whole goes in field 2. Getting these reversed gives you the reciprocal -- a completely different question with a completely different answer. "34 is what percent of 40?" is not the same question as "40 is what percent of 34?"
  2. 2Read the result as "X is Y% of Z": The output answers exactly one question: the first number you entered is this percentage of the second number. "43 is 86% of 50" -- your score on a 50-point test. "120 is 15% of 800" -- your department's headcount as a share of the company. Always verify the sentence form makes intuitive sense before treating the result as correct.
  3. 3Results above 100% are valid and meaningful: If the part is larger than the whole -- measuring performance against a target you exceeded, or comparing this period's revenue to a lower baseline -- results above 100% are mathematically correct and practically useful. "130 is 130% of 100" means performance exceeded the target by 30%. This is not an error; it is the right answer to "what percent of the target did we hit?"
  4. 4Use percentages to make comparisons meaningful across different scales: Absolute numbers often cannot be compared directly. 43 out of 50 on one test and 127 out of 150 on another cannot be easily compared as raw scores. As percentages (86% and 84.7%) the comparison is immediate. The same logic applies to teams of different sizes, budgets of different scales, and markets of different total volumes.
  5. 5Express progress toward goals as percentages for motivation and clarity: Tracking that you are "$8,000 toward a $12,000 savings goal" is less motivating than tracking "67% of the way to your goal." Percentages create a universal 0-100 scale that makes any goal feel tangible and comparable. This is why progress bars, completion trackers, and fundraising thermometers all use percentages.

10 everyday uses for this calculation

Once you see this formula clearly, you will recognize it in situations you encounter every week.

1.What percent of your income goes to rent? (Rent / Gross Monthly Income)
2.What percent did you score on a test? (Points Earned / Points Possible)
3.What percent of a fundraising goal has been reached? (Amount Raised / Goal)
4.What percent of your budget went to one category? (Category Spend / Total Budget)
5.What percent off did you actually receive? (Savings / Original Price)
6.What percent of a project is complete? (Tasks Done / Total Tasks)
7.What percent of your portfolio is one holding? (Asset Value / Portfolio Total)
8.What percent of daily calories came from one meal? (Meal Calories / Daily Target)
9.What percent of a loan have you paid off? (Amount Paid / Original Balance)
10.What percent of your savings goal have you reached? (Current Savings / Goal)

3 common "what percent" mistakes

1Swapping part and whole: "What percent is 80 of 20?" gives 400%. "What percent is 20 of 80?" gives 25%. These are reciprocal questions -- the answer to one is not the answer to the other. Before calculating, always confirm which number is the part (the piece) and which is the whole (the total). When in doubt, construct the sentence: "[first number] is what percent of [second number]?" and verify it matches your actual question.
2Using this formula when a directional change is involved: If one value came before the other in time and you are trying to measure movement -- a salary that increased, a stock that dropped, a metric that grew -- you want the Percentage Change Calculator. "What percent" measures a static ratio at one point in time. Percentage change measures movement between two points in time. Applying the wrong formula gives a technically correct but contextually wrong answer.
3Treating 0% as a calculation error: If the part is zero -- zero sales this period, zero items complete, zero correct answers on a section -- the result is 0%, which is a perfectly valid and informative answer. It does not indicate a calculation error or a broken formula. A result of 0% means none of the total is accounted for by the part -- which is exactly the right answer when the part is zero.

What to do next

Put that ratio in motion with the Percentage Change Calculator to see how it shifts over time -- useful for tracking trends in any metric. For academic scores, use the Grade Calculator to factor in weighted categories and find the score you need on upcoming assignments. For more on how this formula applies in everyday situations, read 10 everyday uses for the What Percent Calculator.

Advertisement

FAQ

Frequently asked questions

About this calculator

This calculator answers the question "X is what percent of Y?" using the standard proportion formula: Percentage = (Part / Whole) x 100. This is the inverse of the percentage-of calculation and is fundamental to ratio analysis, test scoring, survey results, and financial reporting.

The formula and its applications are consistent with standards used in K-12 and higher education mathematics curricula as defined by the Common Core State Standards Initiative (CCSS) and the National Council of Teachers of Mathematics (NCTM). The same formula underlies market share calculations used in business reporting and proportion-based statistics in scientific literature.

This tool is maintained by the MyPctCalculator editorial team. All calculations run locally in your browser; no input data is stored or transmitted.