Pinecone ToolsPinecone Hub

Percentage calculator

Four percentage calculations in one tool: X % of Y, what percent X is of Y, the percentage change from one value to another, and a value increased or decreased by a percentage - entirely in your browser.

What do you want to calculate?

Enter both values to see the result.

How it works

Each mode uses the same relationship between two numbers, read in a different direction. "X % of Y" multiplies: result = X/100 x Y. "X is what % of Y" divides: result = X/Y x 100. Both describe the same ratio between X and Y - only what you already know, and what you're solving for, changes.

"Percentage change from A to B" measures how far B has moved relative to A: change = (B - A) / |A| x 100. Dividing by the absolute value of A, rather than A itself, keeps the sign of the result meaningful even when A is negative - see the FAQ for a worked example. "Y increased/decreased by X %" does the opposite: it applies a known percentage to Y to get two new values, Y x (1 + X/100) and Y x (1 - X/100).

A percentage change is always relative to the starting value, never the ending one - which is why a rise and the matching fall are never symmetric. Increase 100 by 20% and you get 120; decrease that 120 by 20% and you land on 96, not back on 100, because the second 20% is taken from a larger base.

Don't confuse a percentage change with a difference in percentage points. Going from a 10% rate to a 12% rate is a change of +2 percentage points, but it's a +20% change in the rate itself (2 is 20% of 10).

Example

A shop applies a 20% discount to a 150 EUR item: 20% of 150 is 30, so the discount is 30 and the new price is 120.

One product brings in 30 EUR of a shop's 150 EUR monthly revenue: 30 is 20% of 150, so it accounts for 20% of that revenue.

Monthly visits grow from 80,000 to 100,000: the change is (100,000 - 80,000) / 80,000 x 100, a +25% increase.

A 200 EUR invoice is increased by 15% for a rush order: 200 x 1.15 = 230; discounted by 15% instead, it would be 200 x 0.85 = 170.

Frequently asked questions

Why can't I compute a percentage change from 0?

The formula divides by the starting value: change = (B - A) / |A| x 100. When A is 0, that division is undefined - any move away from zero would be an infinitely large percentage change, whatever the ending value B is (even if B is also 0). Use the plain difference (B - A) instead when the starting point is zero.

What's the difference between a percentage and a percentage point?

A percentage point is a plain difference between two percentages; a percentage change compares that difference to the starting value. Going from a 10% rate to a 12% rate is a rise of 2 percentage points, but the rate itself increased by 20% (2 is 20% of 10) - the two numbers describe the same move, but answer different questions.

How do I reverse a percentage increase to find the original value?

Divide the new value by (1 + X/100) instead of multiplying by it. For example, if a price rose by 12% to 224 EUR, the price before the increase was 224 / 1.12 = 200 EUR. To reverse a decrease, divide by (1 - X/100) instead.

Can I use negative numbers?

Yes, in every mode. A negative starting value in the percentage-change mode is handled correctly because the formula divides by its absolute value, so the sign of the result still tells you whether B moved up or down relative to A. A negative percentage in the increase/decrease mode simply swaps which of the two results is higher.

Is anything I type here sent or stored anywhere?

No. The whole calculation runs in your browser; none of the values you enter are sent to a server or kept anywhere. Only your chosen language is remembered, locally on your device.