Calciro

What Percentage Is X of Y?

Enter X as the part and Y as the whole to find what percentage X represents of Y.

Percentage
20%

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

Related Guides

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