What Percentage Is X of Y?
Enter X as the part and Y as the whole to find what percentage X represents of Y.
Use this calculator on your website
Add this free What Percentage Is X of Y Calculator to your blog, article, or business website. Copy the embed code and publish it in minutes.
Perfect for blogs, WordPress, Webflow, and business websites.
The result shows the part as a percentage of the whole. Values above 100% mean X is larger than Y.
Need a calculator like this?
Calciro can build a custom calculator around your formulas, pricing rules, or lead-generation process.
How to Use This Calculator
Enter the part as X and the total or reference value as Y. Y must be greater than zero.
Formula & Methodology
Percentage = (X ÷ Y) × 100.
Example: 30 out of 150
(30 ÷ 150) × 100 = 20%, so 30 is 20% of 150.
Y must be greater than zero. The calculation does not determine percentage increase or decrease because it does not treat either value as a before or after value.
This calculator provides a general mathematical ratio. Confirm that Y is the correct total or reference value.
Related Calculators
- Percentage CalculatorSolve five common percentage problems, including percentage of a number, percent of a total, reverse percentage, and percent greater or less.
- Percentage Difference CalculatorCalculate the symmetric percentage difference between two nonnegative values.
- Percentage Change CalculatorCalculate directional percentage change between an old value and a new value.
- Percentage Decrease CalculatorCalculate the absolute decrease and percentage decrease from an original value to a lower value.
- Tank Volume CalculatorCalculate cylindrical tank volume in gallons from diameter and height measurements.
- Therapy Productivity CalculatorCalculate your therapy productivity percentage — billable minutes over paid minutes.
Related Guides
- How Percentages Work: Complete Guide with ExamplesUnderstand percentages from the ground up. Covers what percent means, basic percentage calculations, percentage increase and decrease, and common real-world uses.
- How to Calculate Percentages Without a Calculator: Mental Math MethodsLearn to calculate percentages in your head using simple strategies: the 10% shortcut, doubling/halving, and breaking percentages into parts. Works for tips, discounts, and sales.
- Percentage Difference vs. Percentage Change: What's the Difference?Percentage difference and percentage change are not the same thing. Learn when to use each, how to calculate both, and why the distinction matters in data analysis and everyday math.
- What Is Percentage Increase? Formula, Examples, and Common UsesUnderstand percentage increase: the formula, how to calculate it step by step, and real-world examples in prices, salaries, and test scores. Includes common mistakes to avoid.
- Reverse Percentage Explained: Find the Original Value Before a % ChangeLearn how to calculate the original value before a percentage increase or decrease. Covers the reverse percentage formula with worked examples in prices, discounts, and taxes.
Frequently Asked Questions
- What is the formula for X as a percentage of Y?
- Divide X by Y and multiply by 100.
- Can the result exceed 100%?
- Yes. If X is larger than Y, X represents more than 100% of Y. For example, 200 is 200% of 100.
- What happens if Y is zero?
- The result is undefined because division by zero is not possible. This calculator requires Y to be greater than zero.
- Is this the same as percentage change?
- No. This calculation expresses a part relative to a whole. Percentage change compares a new value with an original value.
Last updated 7/17/2026