ويكي

Percentage Calculator: Three Ways to Find Percentages

How to calculate X% of Y, what percent X is of Y, and percentage change. Formulas, worked examples, and common pitfalls.

Verified against Khan Academy - Finding a Percentage on 25 Feb 2026 Updated 25 February 2026 3 min read
فتح الحاسبة

Translation unavailable - this article is shown in English. View English version

Summary

A percentage expresses a number as a fraction of 100. The word itself comes from the Latin per centum, meaning “by the hundred.” Percentages appear everywhere in daily life — discounts, tax rates, exam scores, investment returns, and statistical reports all rely on them. This calculator handles the three most common percentage questions: finding X% of a number, determining what percent one number is of another, and computing the percentage change between two values.

How it works

The calculator solves three distinct problems:

  1. X% of Y — multiply Y by X/100. This is the classic “what is 15% of 240?” question used for tips, discounts, and tax calculations.
  2. X is what % of Y — divide X by Y and multiply by 100. This answers questions like “36 out of 150 is what percentage?” commonly seen in test scores and statistics.
  3. Percentage change — find the difference between two values, divide by the absolute value of the original, and multiply by 100. A positive result means an increase; a negative result means a decrease.

The absolute value of the old value in the denominator ensures correct handling when the starting value is negative (e.g., a loss shrinking from -$100 to -$50 is a 50% change, not negative).

The formulas

X% of Y = X * Y / 100

Where

X= The percentage rate
Y= The base number you are taking a percentage of
What % is X of Y = (X / Y) * 100

Where

X= The part (numerator)
Y= The whole (denominator)
% change = ((new - old) / |old|) * 100

Where

new= The new (final) value
old= The original (starting) value
|old|= Absolute value of the original, ensuring correct sign when old is negative

Worked examples

What is 15% of 240?

1

Convert percentage to decimal

15 / 100 = 0.15

= 0.15

2

Multiply by the base number

0.15 * 240 = 36

= 36

Result

15% of 240 = 36

36 is what percent of 150?

1

Divide the part by the whole

36 / 150 = 0.24

= 0.24

2

Multiply by 100 to convert to percentage

0.24 * 100 = 24

= 24%

Result

36 is 24% of 150

Percentage change from 80 to 100

1

Find the difference

100 - 80 = 20

= 20

2

Divide by the absolute value of the original

20 / |80| = 20 / 80 = 0.25

= 0.25

3

Multiply by 100

0.25 * 100 = 25

= 25%

Result

The value increased by 25% (from 80 to 100)

Inputs explained

  • Mode selector — choose which of the three percentage problems you want to solve: “X% of Y”, “X is what % of Y”, or ”% change from old to new.”
  • Percentage (X) — the rate in percent. For the “X% of Y” mode, this is the percentage you want to find. For the “X is what % of Y” mode, this is the part value.
  • Base value (Y) — the number being compared against. In “X% of Y” mode, this is the whole amount. In “X is what % of Y” mode, this is the total.
  • Old value / New value — used in percentage change mode. The old value is the starting point; the new value is the ending point. The calculator correctly handles cases where the old value is negative.

Outputs explained

  • Result — the calculated answer: either the numeric result of X% of Y, the percentage that X is of Y, or the percentage change between two values.
  • Direction (for % change) — indicates whether the change is an increase (positive) or decrease (negative).
  • Equivalent fraction — for “X is what % of Y” mode, the result is also shown as a simplified fraction (e.g., 24% = 6/25).

Assumptions & limitations

  • Division by zero — if the base value Y is zero, the “X is what % of Y” calculation is undefined. Similarly, if the old value is zero, percentage change is undefined (you cannot measure change from nothing).
  • Percentage change is asymmetric — a 50% increase followed by a 50% decrease does not return to the original value. Going from 100 to 150 (+50%) and back to 75 (-50%) leaves you 25% lower. This is a mathematical property, not a calculator limitation.
  • Large percentages — percentages above 100% are mathematically valid (e.g., 200% of 50 = 100). The calculator handles these correctly but they can be unintuitive in some contexts.
  • Precision — results are rounded to a reasonable number of decimal places. For financial calculations requiring exact precision, consider using a dedicated financial calculator.

المصادر

Academic
Academic
percentage percent math arithmetic