Everyday

Percentage calculator

Use the Percentage calculator for fast, clear results with formulas and practical examples.

Percentage calculator

Result40

What this calculator answers

Use this page when the question contains a part, a whole, or a before-and-after value. Select the mode that matches the unknown; the calculator does not guess whether an entered number is a percent or a quantity.

Input definitions

X
In ‘X% of Y’, X is the percentage rate. In the other modes, X is the part or the original value.
Y
In ‘X% of Y’, Y is the base value. In the other modes, Y is the whole or the new value.
Mode
Choose percentage of, what percentage, or percentage change. Each mode answers a different question and uses a different denominator.

Formulas and variables

X percent of Y

result = (X / 100) × Y
  • X = percentage rate
  • Y = base value

Dividing by 100 converts the displayed percent to a decimal multiplier.

X is what percent of Y

percent = (X / Y) × 100
  • X = part
  • Y = whole, and Y ≠ 0

The whole is the denominator; swapping X and Y changes the question.

Percentage change

change % = ((Y − X) / |X|) × 100
  • X = original value, and X ≠ 0
  • Y = new value

The absolute original value keeps the increase/decrease sign meaningful when the original is negative.

Assumptions and rounding

  • Inputs are finite numbers; percentage change and what-percent modes reject a zero denominator.
  • A negative result is preserved because it can represent a decrease or a value below zero.
  • The engine keeps full floating-point precision. The page formats the display to at most ten decimal places; examples may round to two decimals when money is discussed.

Worked examples

Find 18% of 80

A bill is 80 and you want the amount represented by 18%.

Calculation
  1. Convert 18% to a decimal: 18 / 100 = 0.18.
  2. Multiply by the base: 0.18 × 80 = 14.4.

Result: 18% of 80 is 14.4.

Measure growth from 120 to 150

A value rises from an original 120 to a new 150.

Calculation
  1. Find the difference: 150 − 120 = 30.
  2. Divide by the absolute original value: 30 / 120 = 0.25.
  3. Convert to percent: 0.25 × 100 = 25%.

Result: The percentage change is a 25% increase.

Questions people ask

Why is percentage change undefined when the original value is zero?
Percentage change compares the difference with the original value. A zero original value would require division by zero, so no finite percentage describes that change.
What is the difference between percentage points and percent change?
A move from 20% to 25% is 5 percentage points, but its relative percent change is (25 − 20) / 20 × 100 = 25%.
Can X or Y be negative?
Yes, when the situation legitimately uses negative quantities. Interpret the sign in context and remember that the percentage-change denominator is the absolute original value.
Why can my hand calculation differ in the last digit?
Rounding an intermediate decimal can change the final displayed digit. Keep full precision until the final step, as this calculator does.

Boundaries and common mistakes

  • Do not use the new value as the denominator for percentage change; the original value is the reference.
  • Do not enter 18 for both 18% and 0.18. In a percent field, enter 18; the formula performs the division by 100.
  • A 50% decrease followed by a 50% increase does not return to the starting value because the second percentage uses a smaller base.

Sources and scope

Content and formula review date:

Reviewed by the CalculatorToolset editorial team against the cited definitions and engine tests.

Report a calculation or content issue: support@calculatortoolset.com

Variables, defaults, and limits

Mode
Mode is a choice input. The displayed starter value is What is X% of Y?; it is an example, not a hidden assumption.
Default: What is X% of Y?
Accepted values: The field has no narrower HTML limit, but it must still satisfy the documented formula domain and produce a finite result. Available choices: What is X% of Y?, X is what percent of Y?, Percentage change.
X
X is a number input. The displayed starter value is 50; it is an example, not a hidden assumption.
Default: 50
Accepted values: The field has no narrower HTML limit, but it must still satisfy the documented formula domain and produce a finite result. Numeric entries must be finite and unambiguous.
Y
Y is a number input. The displayed starter value is 80; it is an example, not a hidden assumption.
Default: 80
Accepted values: The field has no narrower HTML limit, but it must still satisfy the documented formula domain and produce a finite result. Numeric entries must be finite and unambiguous.

Worked examples

Percentage calculator evaluated example 1

Use the page’s labelled starter inputs to verify Percentage calculator.

Inputs
  • Mode: What is X% of Y?
  • X: 50
  • Y: 80

Evaluated result: 40

Percentage calculator evaluated example 2

Select percentage change and enter x = 240 and y = 198 to examine a decrease from 240 to 198.

Inputs
  • Mode: Percentage change
  • X: 240
  • Y: 198

Evaluated result: -17.5

Validation and boundaries

  • Every visible required input must be present; a missing value is never replaced with zero.
  • NaN, positive or negative infinity, unsafe overflow, and a non-finite final result are rejected.
  • Field-specific minimums, maximums, and choices apply to Mode, X, Y.
  • Zero, negative values, and discrete counts are accepted only when the displayed field definition permits them.
  • In what-percentage mode, the whole value (y) cannot be zero; in percentage-change mode, the starting value (x) cannot be zero.

Review and correction links

Frequently asked questions

Why does changing from 240 to 198 produce a negative percentage?
The difference is -42 and the starting value is 240, so (-42 / 240) × 100 = -17.5%; the sign identifies a decrease.
What question does Percentage calculator answer?
Use the Percentage calculator for fast, clear results with formulas and practical examples. The implemented relationship is R ∈ {x₂·x₃/100; 100·x₂/x₃; 100·(x₃−x₂)/|x₂|}; selector=x₁; x₁=Mode; x₂=X; x₃=Y.
Which inputs does Percentage calculator use?
It uses the visible fields Mode, X, Y. No hidden value is substituted for an omitted required input.
What happens when Percentage calculator receives an invalid or extreme value?
The page rejects missing, ambiguous, out-of-range, or non-finite values and refuses to display a non-finite result.
Why can Percentage calculator differ from another result?
Different unit conventions, endpoint policies, fee or rate assumptions, formula domains, and premature rounding can produce a different answer.
Can I use Percentage calculator as professional advice?
No. It answers the displayed mathematical question and cannot account for omitted real-world facts.
How can I verify the Percentage calculator result?
Recalculate the two evaluated examples without rounding intermediate values and compare the declared formula or convention with Standard percentage arithmetic.

Source and review scope

Standard percentage arithmetic

Scope: Standard percentage arithmetic is used to check the formula, definition, or convention relevant to Percentage calculator. The citation does not supply current personal, lender, tax, medical, or market data.

Source checked:

Continue with related tools