calculateCalculopedia
search
pie_chart

X is What Percent of Y Calculator

To find what percent one number is of another, divide the part by the whole and multiply by 100: percent = part ÷ whole × 100.

verified_userReviewed by the Calculopedia editorial teamLast updated 2026-08-14

Embed on your site

Embed this calculator on your site:

<iframe src="https://calculopedia.darzh.xyz/embed/what-percent-of-calculator/" width="100%" height="700" style="border:0;border-radius:12px" loading="lazy"></iframe>

quizExample

How this calculator works, with real numbers (no JavaScript needed):

Inputs

The part (X)
30
The whole (Y)
200

Results

Percentage
15%
The part (X)
30

functionsThe formula

Percent = part ÷ whole × 100. Example: 30 ÷ 200 × 100 = 15%.

"X is what percent of Y?" is the question behind test scores, attendance, budgets, polls and basically every "share of the whole" statistic you have ever seen. It asks for one number as a proportion of another, normalized to 100 — the scale that lets a 450-person survey result sit comfortably next to a 30-student classroom figure.

The formula

Percent = part ÷ whole × 100

Worked example

30 is what percent of 200?

30 ÷ 200 × 100 = 0.15 × 100 = 15%

So 30 is 15% of 200. The calculator takes exactly this part ÷ whole relationship and formats the result as a percentage, with the inputs echoed at the side for verification.

Why it works

A percentage is a fraction out of 100. "What fraction of 200 is 30?" is 30/200 = 0.15, and 0.15 = 15/100 = 15%. Dividing produces the decimal share; multiplying by 100 renames it "per cent". There is nothing deeper going on — which is precisely why the whole formula fits on one line.

Everyday uses

  • Scores — "34 out of 40 is what percent?" → 34 ÷ 40 × 100 = 85%.
  • Attendance — attending 42 of 50 classes → 42 ÷ 50 × 100 = 84%.
  • Budgeting — rent of ₹12,000 from a ₹40,000 salary → 30%.
  • Surveys — 450 of 1,000 respondents → 45%.
  • Progress — completing 3 of 4 project milestones → 75%.

Getting part and whole in the right order

The formula is order-sensitive, and the wording tells you exactly which is which: X is what percent of Y means X is the part, Y is the whole. Swapping them ("200 is what percent of 30?") returns a very different, and almost never intended, answer — a 15% result becoming 666.7%.

Percentage, proportion, fraction — the same thing

0.15, 15% and 3/20 all describe the same relationship; the percent is just the fraction with a denominator of 100. Converting back: 15% → 0.15 → 15/100 → 3/20. Knowing all four faces helps when you need to reverse the arithmetic by hand.

Percentages above 100

Nothing in the formula caps the answer at 100. Scoring 120 of a 100-mark target is 120%, and a team that sold 180 units against a 150-unit plan hit 120%. Results over 100 are perfectly meaningful whenever the "whole" is a target rather than a fixed maximum — a distinction the formula itself never makes.

Rounding

The calculator reports to one decimal place. For non-terminating fractions, such as exact thirds of a survey group, quote the rounded figure as "about" — precision beyond the first decimal rarely changes any decision, and a spurious 33.3% vs 33.4% may actually mislead.

The triangle, completed

When any two of the three quantities — part, whole, percent — are known, the third is free, and each direction has a dedicated tool:

  1. Percent known, whole known → part? The percentage calculator.
  2. Part known, percent known → whole? The reverse percentage calculator.
  3. Part and whole known → percent? This tool.

Common mistakes

  • Dividing the whole by the part, which answers "how much bigger is Y than X" instead of "what share of Y is X".
  • Swapping part and whole when the question uses loose words like "of", "is" or "out of".
  • Dropping the × 100 and reporting the bare decimal (0.15) as if it were the percentage.
  • Entering a zero whole — the fraction is undefined and the result collapses.

Related measures

If the two numbers are "before and after" of the same thing, the percentage change calculator answers; for a symmetric comparison with no baseline, the percentage difference calculator fits better.

helpFrequently asked questions

question_mark30 is what percent of 200?

30 ÷ 200 × 100 = 15%. So 30 is 15% of 200.

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

Divide the part by the whole and multiply by 100. For example, 34 out of 40 = 34 ÷ 40 × 100 = 85%.

question_markWhat is the formula for percentage of a total?

Percent = part ÷ total × 100. This is the standard "what percentage" formula.

view_quiltYou might also need