Calculator

Percentage Calculator

Use three focused calculations for percentages and percentage change. Enter finite decimal values and get a clear result without reloading the page.

Calculate percentages

What is X% of Y?

Formula: (X / 100) × Y

Enter a finite decimal percentage and value. A value of zero is valid.

X is what percent of Y?

Formula: (X / Y) × 100

Enter finite decimal values. Y is the denominator and cannot be zero.

Percentage change from X to Y

Formula: ((Y - X) / X) × 100

X is the base value and cannot be zero. Negative values use the formula exactly as entered.

How to use this percentage calculator

Choose the calculation that matches your question, enter the two values, and review the result.

  1. Use What is X% of Y? to find a portion of a value, such as 20% of 150.
  2. Use X is what percent of Y? when Y is the non-zero denominator, such as 30 out of 150.
  3. Use Percentage change from X to Y when X is the non-zero initial base, then read whether the result increased, decreased, or stayed unchanged.

Frequently asked questions

Which decimal values can I enter?
Enter finite signed decimal literals such as 20, -20, 0.5, .5, or 1. Values are trimmed first; exponent notation, Infinity, NaN, and malformed values are rejected.
Can I use zero or negative values?
Zero is valid for the value Y in What is X% of Y?. The denominator Y in X is what percent of Y? and the initial base X in Percentage change must not be zero. Negative values are accepted and use the displayed formulas literally.
How are results rounded?
Calculations keep JavaScript Number precision. The displayed values use your browser language with grouping and up to 12 fraction digits; the displayed rounding is not reused in the calculation.

Convert units or a Unix timestamp alongside your calculation.