How it works
Use the selector for percent-of, percent ratio, increase, decrease, or percent change.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
3-
?operation=CalculationChoice · Required · Default: percentOf · Accepted values: percentOf, whatPercent, increase, decrease, change
-
?x=XNumber · Required · Default: 20
-
?y=YNumber · Required · Default: 500
Outputs
2-
resultResultNumber · Primary output
-
summaryCalculationText
Common mistake
Increasing a value by 50% and then decreasing the new value by 50% does not return to the starting value.
Zero values
Some ratio and change formulas cannot use zero as the divisor. The calculator shows an error instead of an invalid result.