# Percentage Difference Calculator

Percentage difference calculator is here to help you with a little tricky idea. It's not the same as percentage change. The latter is more specific - you know the direction of the change (you go from value A to value B). With percentage difference, there is no directionality - you are simply trying to find the difference between two numbers. To get even more specific, you may talk about percentage increase or decrease. To simply compare two numbers, use the percentage calculator. Keep on reading to find out how to calculate percent difference and what is the formula.

## How to calculate percent difference?

Let's use 20 and 30 as an example. We will need to divide the absolute difference by the average of those two numbers and express it as percentages.

- find the absolute difference between the two:
`|20 - 30| = |-10| = 10`

- find the average of those two numbers:
`(20 + 30) / 2 = 50 / 2 = 25`

- divide those two:
`10 / 25 = 0.4`

- express it as percentages:
`0.4 * 100 = 40%`

- ... or use the percentage difference calculator :-)

If you read how to calculate percentage change, you'd know that we have either 50% or -33.3333% change, depending on which value is initial and which one is final.

## Percent difference formula

The formula is as follows.

`percentage difference = 100 * |a - b| / ((a + b) / 2)`

To get even more specific, you may talk about percentage increase or decrease. To simply compare two numbers, use the the percentage calculator.