Skip to content

Percentage Calculator

Mode
Result —
Detail
—
Also
—

To find a percentage of a number, divide the percent by 100 and multiply: 35% of 90 is 0.35 × 90 = 31.5. To ask what percent 144 is of 96, divide 144 by 96 and multiply by 100, giving 150%. Percent change divides the gap by the starting value; percent difference divides it by the average.

About this tool

Six percent questions look alike but divide by different numbers, and picking the wrong denominator is where most homework and price checks go astray. This calculator keeps them apart: a share of a number, one number as a percent of another, the change from an old value to a new one, the symmetric difference between two peers, the error of a lab reading against its accepted value, and the original price hidden behind a markup or sale. Each mode prints the working line by line, plus the raw gap or multiplier, so a student can copy the method and a shopper can check a receipt. Results keep four decimal places. One limit: percent change from a starting value of zero is undefined, so that case returns a message instead of a number.

How to use it

  1. Pick the question

    Choose X% of Y, X is what % of Y, Change, Difference, Error or Reverse at the top.

  2. Type the two numbers

    Each mode asks only for its own pair, such as the starting and new value for Change.

  3. For Reverse, say which way

    Mark whether the percent was added (a markup or tax) or taken off (a sale) before the value you have.

  4. Read the working

    The steps show the division and the multiplier, so you can repeat it on paper or in a spreadsheet.

Examples

35% of 90

Mode
X% of Y
Percent
35
Of the number
90

Result Result: 31.5
Detail: 58.5 is left after taking it away
Also: Multiplier 0.35

  1. 35% of 90 = 35 ÷ 100 × 90 = 31.5

Turn 35% into the decimal 0.35 and multiply by 90. What remains after taking that share away is 58.5.

144 as a percent of 96

Mode
X is what % of Y
Part
144
Whole
96

Result Result: 150%
Detail: Ratio 1.5
Also: -50% of the whole remains

  1. 144 ÷ 96 × 100 = 150%

The part is bigger than the whole, so the answer passes 100%: 144 is one and a half times 96.

A price rising from 80 to 100

Mode
Change
Starting value
80
New value
100

Result Result: +25%
Detail: Increase of 20
Also: New value is 1.25 × the old

  1. Change = 100 − 80 = 20
  2. Percent change = 20 ÷ |80| × 100 = +25%

The rise of 20 is measured against the starting 80, not the new 100, so the change is 25% rather than 20%.

Comparing 10 and 20

Mode
Difference
First value
10
Second value
20

Result Result: 66.6667%
Detail: Gap 10
Also: Average 15

  1. Gap = |10 − 20| = 10
  2. Average = (|10| + |20|) ÷ 2 = 15
  3. Percent difference = 10 ÷ 15 × 100 = 66.6667%

Neither number is the reference, so the gap of 10 is divided by their average of 15.

A gravity reading of 9.6 m/s²

Mode
Error
Measured value
9.6
True value
9.81

Result Result: 2.1407%
Detail: Absolute error 0.21
Also: Reading is low

  1. Percent error = |9.6 − 9.81| ÷ |9.81| × 100 = 2.1407%

Against the accepted 9.81 m/s² the reading is 0.21 short, an error of about 2.14% on the low side.

120 after a 20% markup

Mode
Reverse
Value after the change
120
Percent applied
20
It was
Added (increase)

Result Result: 100
Detail: Added 20
Also: Divided by 1.2

  1. Multiplier = 1 + 20 ÷ 100 = 1.2
  2. Original = 120 ÷ 1.2 = 100

Dividing by 1.2 undoes the markup. Taking 20% off 120 would give 96, which is the usual slip.

How it is calculated

part = p ÷ 100 × whole; change % = (new − old) ÷ |old| × 100; difference % = |a − b| ÷ ((|a| + |b|) ÷ 2) × 100; error % = |measured − true| ÷ |true| × 100; original = final ÷ (1 ± p ÷ 100)

Every percent is a ratio scaled by 100; the modes differ only in what goes underneath. A share of a number multiplies by p/100. Change compares against the old value, so going from 80 to 100 is +25% while coming back from 100 to 80 is −20%: the base moved. Difference has no natural reference, so it uses the mean of the two absolute values, which makes swapping a and b give the same answer. Percent error, the lab convention, divides by the accepted value and drops the sign. Reverse undoes a markup or discount by dividing by the multiplier 1 + p/100 or 1 − p/100, never by subtracting the same percent from the final figure.

Sources

Use from code or an AI agent Free API · MCP

The same calculation is a free JSON API. No key needed. The answer is in result.stats.primary.

curl -X POST https://api.tools-directory.workers.dev/v1/tools/percentage-calculator \
  -H 'Content-Type: application/json' \
  -d '{"inputs":{"mode":"of","pct":35,"base":90}}'

When not to use it

  • Adding a run of yearly growth rates needs compounding, not one percent change.
  • Comparing two rates that are already percents calls for percentage points, not percent change.
  • Weighted averages of marks across papers with different totals need the raw scores first.

Common mistakes

  • Dividing a price rise by the new price instead of the old one understates the change.
  • Taking 20% off a marked-up price does not return the original; divide by 1.2 instead.
  • Using percent change when neither value is the reference gives a lopsided answer.
  • Keeping the sign in percent error, which the lab convention reports as a size only.

Frequently asked questions

How do I calculate percent difference between two numbers?

Take the absolute gap between the two numbers and divide it by their average, then multiply by 100. For 10 and 20 the gap is 10, the average is 15, so the percent difference is 66.67%. Because the average sits underneath, the order of the two numbers does not matter, which is why this form is used when neither value is the baseline.

What is the percentage formula?

The basic relation is part = percent ÷ 100 × whole. Rearranged, percent = part ÷ whole × 100 and whole = part ÷ (percent ÷ 100). With 35% and 90, the part is 31.5; with a part of 144 and a whole of 96, the percent is 150%. Every other percent formula is one of these three with a different number in the whole position.

What is the formula for percentage increase?

Percentage increase = (new value − original value) ÷ original value × 100. A wage going from 2,000 to 2,300 rose by 300, and 300 ÷ 2,000 × 100 = 15%. The original figure is always the divisor; using the new value would report 13.04% and understate the rise.

How do I work out what X percent of Y is?

Divide X by 100 and multiply by Y. So 12% of 250 is 0.12 × 250 = 30, and 35% of 90 is 31.5. The order does not matter, either: 12% of 250 equals 250% of 12, a handy shortcut when one number is easier to take a share of.

How do I calculate percent change in Excel?

With the old value in A2 and the new value in B2, type =(B2-A2)/A2 and format the cell as Percentage. For a negative starting value use =(B2-A2)/ABS(A2) so a rise still shows as positive. If A2 can be zero, wrap it as =IF(A2=0,"",(B2-A2)/ABS(A2)) to avoid a #DIV/0! error.

Can you show a percent error calculation example?

A student measures gravity as 9.6 m/s² against the accepted 9.81 m/s². The absolute error is 0.21, and 0.21 ÷ 9.81 × 100 = 2.14%. Percent error is reported without a sign; the tool notes separately whether the reading was high or low.

What is the reverse percentage formula?

Original = final value ÷ (1 + p/100) after an increase, or ÷ (1 − p/100) after a decrease. A coat costing 60 after a 25% sale was 60 ÷ 0.75 = 80 before it. Adding 25% back to 60 gives 75, which is wrong because the 25% was taken from the larger original price.

What is the formula for percentage decrease?

Percentage decrease = (original − new) ÷ original × 100. A rent falling from 1,250 to 1,100 drops by 150, and 150 ÷ 1,250 × 100 = 12%. In Change mode the result shows as −12% so the direction is clear at a glance.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, December 2). Percentage Calculator. Tools Directory. Retrieved December 4, 2026, from https://directory.milunir.com/math-calculators/basic-math/percentage-calculator/

MLA

Tools Directory Editorial Team. “Percentage Calculator.” Tools Directory, 2 Dec. 2026, https://directory.milunir.com/math-calculators/basic-math/percentage-calculator/. Accessed 4 Dec. 2026.

Chicago

Tools Directory Editorial Team. “Percentage Calculator.” Tools Directory. Last modified December 2, 2026. Accessed December 4, 2026. https://directory.milunir.com/math-calculators/basic-math/percentage-calculator/.

Link<a href="https://directory.milunir.com/math-calculators/basic-math/percentage-calculator/">Percentage Calculator – Tools Directory</a>