# Percent difference > How different are two values in percent? Compare two values using their average as the reference. For 100 and 120, the symmetric percentage difference is about 18.18%. Compare two values using their average as the reference. For 100 and 120, the symmetric percentage difference is about 18.18%. A preset of [Percentage calculator](https://how.box/percentage/). - Page: https://how.box/percent-difference/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/percent-difference/?m={m}&p={p}&a={a}&b={b}&d={d} - `m` (of, ratio, change, difference, reverse or before): Calculation: of, ratio, change, difference, reverse or before. Example: `of`. - `p` (number 0 to 1e6): The percentage (20 for 20 %), used by of, reverse and before. Example: `20`. - `a` (number -1e12 to 1e12): First number; its meaning follows m. Example: `150`. - `b` (number -1e12 to 1e12): Second number (ratio, change, difference). Example: `120`. - `d` (decrease or increase): For m=before: decrease or increase. Example: `decrease`. Example answer: https://how.box/percent-difference/?m=of&p=20&a=150&b=120&d=decrease A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `percentage_calculate`: Percentage calculations, one per mode: of (percent % of a = percent ÷ 100 × a), ratio (a as a percentage of b = a ÷ b × 100), change (percentage change from old a to new b = (b − a) ÷ |a| × 100; negative is a decrease), difference (symmetric percentage difference = |a − b| ÷ ((|a| + |b|) ÷ 2) × 100, relative to the average), reverse (the whole of which a is percent % = a ÷ percent × 100), before (the value before a percent % decrease or increase, direction, that gave a = a ÷ (100 ∓ percent) × 100). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"percentage_calculate","arguments":{"mode":"of","percent":20,"a":150,"b":120,"direction":"decrease"}}}` - GET: https://how.box/mcp/run/percentage_calculate?mode=of&percent=20&a=150&b=120&direction=decrease ## How it works Percentage difference compares two values when neither one is the original: two prices from two shops, two measurements of the same thing, the results of two groups. Because there is no starting point, the gap is measured against the average of the two. The formula is the gap divided by the average, times 100. For 100 and 120 the gap is 20 and the average is 110, so the difference is 20 ÷ 110 × 100, about 18.18%. Entering them the other way round gives the same answer, which a percentage change does not. If one value is clearly the starting point, use percentage change instead. Some fields divide the gap by the larger value or by the smaller one; this tool uses the average, so say which definition you mean when you share a result. Percentage difference is also called relative difference: it is a symmetric measure of how far apart two figures are, always between 0 and 200 per cent for positive values. ## FAQ **Why is the difference between 100 and 120 not 20%?** This mode divides 20 by the average, 110, giving about 18.18%. A change from 100 to 120 uses 100 as its reference. **Why is the percentage difference smaller than the percentage change?** The change divides by the old value, the difference by the average. For a rise, the average is larger than the old value, so the difference comes out smaller. **When should I use percentage difference?** When the two values are equals, such as two prices or two lab readings, and you want one figure that does not depend on the order. **Can the percentage difference be over 100%?** Yes, when one value is much larger than the other. For 10 and 100 it is about 163.6%. The largest possible value is 200%, reached when one value is zero. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)