Maths & numbers

Percentage difference

Compare two non-negative values symmetrically.

Percentage difference
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Percentage difference = |a−b| ÷ ((a+b)/2) × 100. Neither value is treated as the original. For an original-to-new comparison, use Percentage change instead. Two zero values give zero difference by convention.

How this is checked

4 reference checks passed These 4 cases were run when this page was built, on 3 December 2026, and all reproduce within the stated tolerance. The same cases are part of the automated tests that run on every change to Toolmoz. Engine version 1.

See the checks and where each expected answer comes from
  1. Case 1

    Inputs
    First value 50Second value 150
    Expected, and what Toolmoz gave
    text expected 100%, Toolmoz 100%
    Where the expected answer comes from
    |50 − 150| ÷ ((50 + 150) ÷ 2) × 100 = 100 ÷ 100 × 100 = 100%
    Allowed difference
    exact
  2. Case 2

    Inputs
    First value 10Second value 10
    Expected, and what Toolmoz gave
    text expected 0%, Toolmoz 0%
    Where the expected answer comes from
    Equal values differ by 0, so 0%
    Allowed difference
    exact
  3. Case 3

    Inputs
    First value 90Second value 110
    Expected, and what Toolmoz gave
    text expected 20%, Toolmoz 20%
    Where the expected answer comes from
    |90 − 110| ÷ ((90 + 110) ÷ 2) × 100 = 20 ÷ 100 × 100 = 20%
    Allowed difference
    exact
  4. Case 4

    Inputs
    First value 60Second value 40
    Expected, and what Toolmoz gave
    text expected 40%, Toolmoz 40%
    Where the expected answer comes from
    |60 − 40| ÷ ((60 + 40) ÷ 2) × 100 = 20 ÷ 50 × 100 = 40%, the same whichever value is entered first
    Allowed difference
    exact

What this shows: the engine reproduces independently worked values for these cases. It does not prove every possible input is right. To test an answer you were given, see how to check a number; to see what is and is not checked across Toolmoz, see the accuracy ledger.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

First value
80
Second value
100

Example result

22.2222222222%