{"category":"calc","endpoint":"https://setget.net/v1/tools/percent","examples":[{"input":{"mode":"percent_of","x":15,"y":80},"output":{"formula":"80 * 15 / 100 = 12","result":12,"text":"15% of 80 is 12"}},{"input":{"mode":"change","x":80,"y":100},"output":{"formula":"(100 - 80) / 80 * 100 = 25","result":25,"text":"From 80 to 100 is an increase of 25%"},"title":"Percent change"},{"input":{"mode":"what_percent","x":30,"y":120},"output":{"formula":"30 / 120 * 100 = 25","result":25,"text":"30 is 25% of 120"},"title":"What percent"}],"input_schema":{"additionalProperties":false,"properties":{"mode":{"description":"What to work out: percent_of (X% of Y), what_percent (X is what % of Y), change (from X to Y), increase (Y plus X%) or decrease (Y minus X%).","enum":["percent_of","what_percent","change","increase","decrease"],"examples":["percent_of"],"type":"string"},"x":{"description":"X: the percentage, or the first value, depending on the mode.","examples":[15],"maximum":1000000000000000.0,"minimum":-1000000000000000.0,"type":"number"},"y":{"description":"Y: the amount the percentage applies to, or the second value.","examples":[80],"maximum":1000000000000000.0,"minimum":-1000000000000000.0,"type":"number"}},"required":["mode","x","y"],"type":"object"},"keywords":["percentage calculator","percent of","percent change","percentage increase","percentage decrease","what percent of","discount calculator","percent difference"],"related":["math-eval","fraction","number-format"],"slug":"percent","summary":"Work out percentages: X% of Y, what percent X is of Y, percent change, and increase or decrease by X%.","tier":"inline","title":"Percentage calculator","url":"https://setget.net/tools/percent"}
