Discount calculator
Calculate a sale price and exactly how much a discount saves.
CalculatorsFind a percentage of a number, percentage change or a percentage ratio.
Ready when you are.
Using the default settings and the values below.
{
"mode": "of",
"a": 20,
"b": 150
}30 20% of 150
Choose the calculation and enter both numbers. For change, the first value is the old value and the second is the new value.
Percentage change from zero is undefined. Negative starting values use the absolute starting value as the denominator.
Percentage change divides by the original value, which cannot be zero. For negative starting values, this tool divides by the absolute starting value; check that convention fits your use case.
No. This tool processes your input in your browser. We don't store your text, files or results. Standard website access logs are separate; read our privacy notes.
Yes. No account, subscription or usage credits are required.
Use Copy or Download after running the tool. Inputs are not saved automatically and disappear when you leave or refresh the page.
Something not right? Report a problem with this tool. Include the steps, but never passwords or private input.