Math · Percentages

Percentage Calculator

Find a percentage of a number, work out what percent one number is of another, or measure the change from an old value to a new one. Each result shows the formula with your numbers, the remaining amount or change, and how the base was chosen.

Find a percentage of a value. The opening example is 20% of 150 = 30.

Percentage and value

Enter the percent. Values above 100 or below 0 are allowed; 20% means 20 per hundred.
The base amount or quantity you are taking the percentage of.
Calculated in your browser.
Percentage of a value

30 result

20% of 150

Base (100%)150Full value before the percentage
Remainder12080% of the base
1% of base1.5150 ÷ 100
Decimal form0.220% ÷ 100
Calculation150 × 20 ÷ 100 = 30150 − 30 = 120 remainingDisplayed numbers are rounded to at most six decimal places; the calculation keeps full precision.

Percent means per hundred: 20% is the same as 0.2. The result is rounded for display only; the calculation uses the value you entered.

Three questions, one base rule

How to use the percentage calculator

Choose the question that matches what you know. In "What is P% of V?", the value is the base. In "P is what percent of W?", the whole is the base. In a percent change, the old value is the base. Keeping that one rule straight is the main decision in all three modes.

Enter numbers without currency symbols or unit labels, and use the same unit for both fields. Switching modes keeps your entries, so the same part and whole can be compared in a different way. The URL stores the mode and values, and Reset returns to the opening example, 20% of 150 = 30.

Results update as you type. An invalid entry is marked next to the field, and the result panel stays empty until the inputs produce a defined number.

Formulas for each mode

Percent of a valueresult = value × percent ÷ 100Part as a percent of a wholepercent = part ÷ whole × 100Percent changepercent change = (new − old) ÷ old × 100

A percent is a ratio out of 100: 20% = 20 ÷ 100 = 0.2. The first two formulas rearrange the same relationship, percent × whole = part. The change formula divides the difference by the starting value, not by the new value.

This calculator requires a positive old value in change mode. Percent change from zero has no finite answer, and a negative starting value does not give a single agreed direction for "increase" or "decrease". Requiring a positive base avoids returning a misleading sign.

Worked examples for each mode

The default inputs reproduce each example, so you can check the displayed formula against the numbers below.

1. What is 20% of 150?

20% as a decimal20 ÷ 100 = 0.2
Multiply by the value0.2 × 150 = 30
Remainder150 − 30 = 120

The result is 30, and 120 remains, which is 80% of 150. A percentage above 100 would produce a result larger than the value.

2. 30 is what percent of 150?

Divide the part by the whole30 ÷ 150 = 0.2
Convert the ratio to percent0.2 × 100 = 20%
Remaining share(150 − 30) ÷ 150 × 100 = 80%

The whole, 150, is the denominator and represents 100%. The part, 30, is 20% of it. Reversing the fields answers a different question: 150 ÷ 30 × 100 = 500%.

3. Percent change from 150 to 180

Change180 − 150 = 30
Divide by the old value30 ÷ 150 = 0.2
Convert to percent0.2 × 100 = 20% increase
Multiplier180 ÷ 150 = 1.2×

The reverse change, 180 to 150, is not −20%. It is (150 − 180) ÷ 180 × 100 = −16.666667%, a 16.666667% decrease, because the base is now 180.

Percentage points vs percent

A percentage point is the arithmetic difference between two percentages. A percent change is relative to the starting percentage. The distinction matters when both numbers are already rates.

Rate change from 6.0% to 7.5%+1.5 percentage points
Relative change(7.5 − 6.0) ÷ 6.0 × 100 = +25%
A 1.5% relative rise instead6.0% → 6.09%

Saying a rate "rose 1.5%" can mean 6.0% to 6.09% or 6.0% to 7.5%. When both values are percentages, state the change in percentage points or give the relative percent explicitly. In this calculator's change mode, entering 6 and 7.5 returns 25%, not 1.5%.

Rounding, negatives, and zero

Results are rounded for display to at most six decimal places, while the calculation uses the entered values without intermediate rounding. For example, 1 is what percent of 3? The exact ratio is 0.333…, and the tool displays 33.333333%.

Percentages can be fractional, above 100, or negative. In the first two modes a negative input produces a negative result with the sign following the arithmetic. A part larger than the whole gives a percentage above 100%.

The whole in "P is what percent of W?" cannot be zero because division by zero has no percentage result. The old value in a percent change must be greater than zero: from zero there is no finite relative increase, and with a negative base the usual formula makes a move toward zero look like a decrease. When the baseline is zero or negative, report the absolute difference instead.

The new value may be below zero. A change from 150 to −30 is (−30 − 150) ÷ 150 × 100 = −120%. Percent change assumes a ratio scale with a meaningful zero, so it is not a meaningful description of a temperature change in °F or °C.

How do you get a percentage of a number?

Convert the percent to a decimal or multiply by the percent and divide by 100. For example, 15% of 240 is 240 × 15 ÷ 100 = 36. Use the “What is P% of V?” mode when the question is “how do I find a percentage of a number on a calculator?”

If the question is “what percentage of a number is another number?”, use the part and whole mode: part ÷ whole × 100. For 36 out of 240, 36 ÷ 240 × 100 = 15%. The same values answer different questions depending on which one is the base.

Percentage calculator FAQs

How do I calculate a discount or a sale price?

Use "What is P% of V?". For 20% off $150, enter 20 and 150: the result is a $30 discount, and the remainder is $120, the sale price. Percent change is for comparing two values you already have, not for applying a discount.

Why is a 20% increase not undone by a 20% decrease?

A 20% increase from 150 adds 30 and reaches 180. A 20% decrease from 180 subtracts 36 and reaches 144. The second percentage uses the larger base. Returning from 180 to 150 is a 16.666667% decrease, not 20%.

Can a percentage be greater than 100% or negative?

Yes. 150% of 80 is 120, and 180 is 120% of 150. A negative percentage subtracts: −25% of 80 is −20. The calculator accepts these values in the first two modes and shows the sign in the result.

Why can't I calculate percent change from zero?

Percent change divides by the old value. With old = 0 that division is undefined, and the relative increase from 0 to any nonzero value is infinite, not a finite percentage. Enter a positive old value, or report the absolute change—for example, 0 to 50 is +50.