Percentage Calculator Formula: The Five Equations Worked Out
A percentage calculator hides very little arithmetic. Behind the input boxes sit five core equations, and once they are written down the machine stops being a black box. This reference states each formula, shows the substitution with real numbers, and points out the step where most hand calculations go wrong. Every result below can be reproduced on the calculator in the same order the formula is printed.
Why every percentage question reduces to one ratio
A percent is a fraction with a denominator of 100. The word itself comes from the Latin per centum, "by the hundred", and the notation keeps that meaning: 37% is 37/100, or 0.37. Every formula on this page is built from that single definition, rearranged to isolate whichever value is unknown. When a question asks for a share, the unknown sits in the numerator. When it asks for a rate, the unknown sits on the right of the equals sign. When it asks for a base, the unknown is the denominator. That is the whole grammar of percentage problems, and it explains why five core equations cover nearly every question a person brings to a calculator — the discount, tip, tax, marks, margin and compound modes on the page are the same algebra with the unknown moved to a different slot.
The order of operations matters as much as the ratio. Division by 100 is applied at the end when converting a decimal into a percentage, and at the beginning when converting a percentage into a multiplier. Mixing the two orders produces answers that are off by a factor of 100, which is the single most common arithmetic defect in submitted homework and in spreadsheet columns alike.
Formula 1: what is X percent of Y
This is the base case, and the other four formulas are rearrangements of it.
$$P = \frac{p \times n}{100}$$
Here p is the percentage, n is the number, and P is the part. With p = 25 and n = 200, the calculation is 25 × 200 = 5000, divided by 100, giving 50. The same result comes from the multiplier form, 200 × 0.25 = 50, and both routes are accepted by the calculator.
Two shortcuts cover most everyday cases without any arithmetic. Ten percent of a number is the number with the decimal point moved one place left, so 10% of 340 is 34. Five percent is half of that, 17. One percent is two places left, 3.4. Any percentage that decomposes into those pieces can be assembled by addition: 16% of 340 is 34 + 17 + 3.4 ≈ 54.4. The formula is what guarantees the shortcut is right, not a replacement for it.
The formula also answers discount questions directly when the question is "how much is taken off". A 30% markdown on 120 is the part, 36, and the price paid is the difference, 84. Those are two separate operations that people frequently merge into one, which is where the next formula becomes useful.
Formula 2: X is what percent of Y
The unknown moves from the part to the rate.
$$p = \frac{X}{Y} \times 100$$
If 15 is the part and 60 is the whole, then 15 ÷ 60 = 0.25, and 0.25 × 100 = 25. The reading is "15 is 25% of 60". Exam scores, market share, conversion rates and battery levels all use this shape: a measured quantity is expressed relative to a maximum.
The trap is choosing the wrong denominator. A team that wins 12 of 20 games has a 60% record, and the denominator is games played, not games lost. Asking "what percent of the losses were wins" is a different question with a different answer, and it is answerable only if the losses are known. Before typing numbers into the second box, name the whole in words. If the sentence does not make sense with the number in the denominator, the inputs are on the wrong sides.
A second trap appears with near-total values. Scores of 49 out of 50 and 98 out of 100 both produce 98%, but rounding hides how close the first one came to a perfect run. The calculator reports up to four decimals and trims trailing zeros, so 49/50 arrives as 98 and 490/500 arrives as 98 as well, which is correct and still worth reading carefully when the difference matters.
Formula 3: percentage change between two values
Change compares a value against its own past, so the original value is always the denominator.
$$\text{change} = \frac{\text{to} - \text{from}}{|\text{from}|} \times 100$$
From 100 to 125 gives 25 ÷ 100 × 100 = 25%, an increase. From 80 to 60 gives −20 ÷ 80 × 100 = −25%, a decrease. The calculator prints the direction in words and also reports the absolute difference, because "up 25%" and "up 25 units" answer different questions.
Symmetry is where this formula surprises people. A rise from 80 to 100 is a 25% increase, while a fall from 100 back to 80 is a 20% decrease. Both statements describe the same pair of numbers, and both are correct, because the base changed between the two directions. For the same reason, a 10% rise followed by a 10% fall does not return to the starting point: 100 becomes 110, then 99. Recovery from a loss needs a larger percentage than the loss itself, and a 50% drop requires a 100% gain to break even.
Percentage change also behaves badly when the base is zero or negative. Dividing by zero yields an undefined result, which the calculator marks rather than pretending to compute, and a negative base flips the meaning of the sign, so the absolute value in the denominator keeps the reported direction honest.
Formula 4: adding or subtracting a percentage with a multiplier
Applying a change to a value is multiplication by a single number.
$$\text{new} = \text{base} \times \left(1 \pm \frac{p}{100}\right)$$
Add 20% to 100 and the multiplier is 1.20, giving 120. Subtract 20% and the multiplier is 0.80, giving 80. The calculator shows both directions side by side for the same base and percentage, which makes the asymmetry visible: the two answers are 120 and 80, not 120 and 100.
Multipliers compose, and that is their practical advantage. Two successive raises of 5% equal one multiplier of 1.05 × 1.05 = 1.1025, a 10.25% total increase, not 10%. A price that rises 8% and then falls 5% ends at 1.08 × 0.95 = 1.026, up 2.6%. When a chain of changes is applied to a single value, multiplying the multipliers is faster than applying five separate percentages, and it keeps intermediate rounding out of the result.
The one rule to remember is that the percentage always attaches to whatever base is current. A discount applied after a tax is computed on the taxed amount, not the original price, and reversing the order gives a different total. Multipliers written next to the base make that dependency explicit.
Formula 5: reverse percentage, recovering the original value
The last formula runs the multiplier backwards.
$$\text{original} = \frac{\text{final}}{1 \pm \frac{p}{100}}$$
If a price of 120 includes a 20% increase, the original is 120 ÷ 1.20 = 100. If a 1,275 price reflects a 15% discount, the original is 1,275 ÷ 0.85 = 1,500. Division is the operation, and this is precisely the step where confident people go wrong: adding 15% of 1,275 back onto 1,275 gives 1,466.25, which is not the original price. The percentage was taken from the original amount, so the arithmetic has to divide by the remaining share, not add a share of the sale price.
Choosing the divisor is a matter of reading the situation, and the safe method is to state what portion the final value represents. A 15% discount leaves 85% of the original, hence 0.85. A 15% increase produces 115%, hence 1.15. Written that way, the divisor is never guessed.
| Question | Formula | Numbers | Result |
|---|---|---|---|
| What is 15% of 240? | p × n ÷ 100 | 15 × 240 ÷ 100 | 36 |
| 45 is what percent of 60? | X ÷ Y × 100 | 45 ÷ 60 × 100 | 75% |
| From 250 to 200? | (to − from) ÷ from × 100 | −50 ÷ 250 × 100 | −20% |
| 500 plus 8%? | base × (1 + p ÷ 100) | 500 × 1.08 | 540 |
| 180 after a 20% rise? | final ÷ (1 + p ÷ 100) | 180 ÷ 1.20 | 150 |
| 1,275 after 15% off? | final ÷ (1 − p ÷ 100) | 1275 ÷ 0.85 | 1,500 |
Percentage points and percent are not the same unit
Two rates that move from 10% to 12% have changed by 2 percentage points and by 20%. Both numbers are correct and they answer different questions. Percentage points describe the arithmetic difference between two rates; percent describes the relative movement of the rate itself. News reports mix the two constantly, usually by saying "up 2%" when the underlying change was two points.
Convert between them deliberately. A move of 2 points from a base of 10% is 2 ÷ 10 × 100 = 20% of the base rate. A move of 2 points from a base of 40% is 5%. The same two-point step means four times as much in relative terms at the lower base, which is why polling leads and interest-rate changes are so easy to misread. When a figure is quoted without units, check whether the surrounding numbers are values or rates before converting.
Four mistakes the formulas expose
The first mistake is using the new value as the base in a change calculation. The denominator is the starting value, always, and the formula prints it that way even when the labels "from" and "to" make the intent look obvious.
The second is treating increases and decreases as symmetric. They are not, because the base moves. Anyone comparing a 20% rise with a 20% fall should expect the pair 120 and 96 when starting from 100.
The third is adding a percentage back instead of dividing in a reverse calculation. Sale prices, pre-tax amounts and pre-fee totals all require division by the multiplier, and the error grows with the size of the percentage.
The fourth is rounding before the last step. Keeping the full decimal through intermediate operations and trimming only at the end keeps a two-step calculation inside a tenth of a percent of the exact answer. The calculator keeps full precision internally and formats only the output, which is why its numbers can differ slightly from a hand calculation that rounded early.
Checking a result in seconds
Each formula above has a matching input section in the percentage calculator on this site: percent of a number, a number as a percent of another, change between two values, add or subtract a percentage, and reverse percentage. Entering the same numbers used in the examples should reproduce the same results, and doing that once is the fastest way to confirm which formula a particular problem needs. When a hand calculation and the calculator disagree, the disagreement usually sits in the denominator, the sign, or a premature rounding step.
Frequently Asked Questions
01What is the base percentage formula?
The base formula is P = p × n ÷ 100, where p is the percentage and n is the number. Every other equation on this page is that same ratio with a different variable isolated.
02How do I calculate percentage increase?
Subtract the old value from the new one, divide by the old value, then multiply by 100. Going from 80 to 100 gives 20 ÷ 80 × 100, a 25% increase.
03How do I find the original price before a discount?
Divide the discounted price by the share that remains. A 20% discount leaves 80%, so 80 ÷ 0.80 = 100; a 15% discount on 1,275 gives 1,275 ÷ 0.85 = 1,500.
04Why is a 20% rise followed by a 20% fall not zero?
The two percentages attach to different bases. 100 becomes 120 after the rise, and 20% of 120 is 24, so the fall lands on 96 rather than 100.
05Can percentage change exceed 100 percent?
Yes. Any value that more than doubles has changed by over 100%: from 50 to 125 is a 150% increase, because the difference of 75 is one and a half times the base.
06What is the difference between percentage points and percent?
Percentage points measure the plain difference between two rates, while percent measures relative change. Moving from 10% to 12% is two points, which is a 20% relative increase.
Netherlands · SO reputation 7993 · Badges: 2🥇26🥈33🥉 · SO member since 2011