# Prosentuaalinen ero > Kuinka suuri on kahden luvun prosentuaalinen ero? Vertaa kahta lukua käyttäen vertailukohtana niiden keskiarvoa. Lukujen 100 ja 120 symmetrinen prosentuaalinen ero on noin 18,18 %. Vertaa kahta lukua käyttäen vertailukohtana niiden keskiarvoa. Lukujen 100 ja 120 symmetrinen prosentuaalinen ero on noin 18,18 %. A preset of [Prosenttilaskuri](https://how.box/fi/percentage/). - Page: https://how.box/fi/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/fi/about/terms/ ## Inputs Answer link: https://how.box/fi/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/fi/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 Prosenttiero vertaa kahta arvoa, kun kumpikaan ei ole alkuperäinen: kaksi hintaa kahdesta kaupasta, kaksi saman asian mittausta, kahden ryhmän tulokset. Koska lähtökohtaa ei ole, ero mitataan näiden kahden keskiarvoon. Kaava on ero jaettuna keskiarvolla, kertaa 100. Luvuille 100 ja 120 ero on 20 ja keskiarvo 110, joten prosenttiero on 20 ÷ 110 × 100, noin 18,18 %. Kun annat ne toisin päin, vastaus on sama, mitä prosentuaalinen muutos ei tee. Jos jompikumpi arvo on selvästi lähtökohta, käytä sen sijaan prosentuaalista muutosta. Jotkin alat jakavat eron suuremmalla tai pienemmällä arvolla; tämä työkalu käyttää keskiarvoa, joten kerro, mitä määritelmää tarkoitat, kun jaat tuloksen. Prosenttiero on myös suhteellinen ero: se on symmetrinen mittari sille, kuinka kaukana kaksi lukua ovat toisistaan, ja positiivisilla arvoilla aina 0–200 prosenttia. ## FAQ **Miksi lukujen 100 ja 120 ero ei ole 20 %?** Tässä ero 20 jaetaan keskiarvolla 110, jolloin tulos on noin 18,18 %. Muutos luvusta 100 lukuun 120 käyttää vertailukohtana lukua 100. **Miksi prosenttiero on pienempi kuin prosentuaalinen muutos?** Muutos jaetaan vanhalla arvolla, ero keskiarvolla. Nousussa keskiarvo on vanhaa arvoa suurempi, joten ero on pienempi. **Milloin minun pitäisi käyttää prosenttieroa?** Kun kaksi arvoa ovat tasavertaisia, kuten kaksi hintaa tai kaksi laboratoriomittausta, ja haluat yhden luvun, joka ei riipu järjestyksestä. **Voiko prosenttiero olla yli 100 %?** Voi, kun toinen arvo on paljon suurempi kuin toinen. Luvuille 10 ja 100 se on noin 163,6 %. Suurin mahdollinen arvo on 200 %, joka saavutetaan, kun toinen arvo on nolla. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/fi/about/agents/)