AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I calculate a percentage?

Pick a mode in AnyTool Percentage Calculator and type two numbers. To find X% of Y it multiplies Y by X ÷ 100; to find what percent X is of Y it divides X by Y and multiplies by 100; for percent change it takes (new − old) ÷ |old| × 100. It also adds or subtracts a percentage, reverses a percentage (Y is X% of what?), and shows percentage difference and percentage-point change — each with the worked formula, live as you type, all in your browser.

  • X% of Y = (X ÷ 100) × Y; X is what % of Y = (X ÷ Y) × 100
  • Percent change = (new − old) ÷ |old| × 100, shown as increase or decrease
  • Add/subtract a percent, plus reverse percentage to recover the original
  • Percent difference and percentage-point change kept separate (they differ)
  • 100% in your browser — no upload, no signup, works offline

What is

Percentage

A percentage is a number expressed as a fraction of 100, written with the “%” sign — so 25% means 25 per 100, or 0.25. Common percentage calculations include finding a percentage of a number (X% of Y), expressing one number as a percentage of another (X is what % of Y), the percentage change between two values, the percentage difference between them, and the reverse problem of recovering an original number from a known part and its percentage.

Calculators

Related terms

Percent changePercentage pointPercent differenceReverse percentage

Frequently Asked Questions

Divide the part by the whole and multiply by 100. For example, 45 out of 180 is 45 ÷ 180 × 100 = 25%.

To express one number as a percentage of another, divide the first by the second and multiply by 100: X is (X ÷ Y) × 100 percent of Y. So 45 out of 180 is 45 ÷ 180 × 100 = 25%, and a score of 18 out of 20 is 90%. AnyTool Percentage Calculator does this live in its “X is ?% of Y” mode and shows the worked formula so you can check it.

Percent change is (new − old) ÷ the absolute value of old, times 100; a positive result is an increase, a negative one a decrease.

Percentage change measures how much a value grew or shrank relative to its starting point: ((new − old) ÷ |old|) × 100. Going from 120 to 150 is (150 − 120) ÷ 120 × 100 = 25% increase; going from 150 to 120 is a 20% decrease. Because it divides by the original, the same absolute move gives different percentages depending on direction. AnyTool colours increases green and decreases red and shows the formula.

A percentage point is the absolute gap between two percentages; a percent change is that gap relative to the starting percentage. A rate going 5% to 8% is 3 points but a 60% increase.

Percentage points measure the plain difference between two percentages, while percent change measures that difference relative to the original. If an interest rate rises from 5% to 8%, that is a 3-percentage-point increase, but a (8 − 5) ÷ 5 × 100 = 60% relative increase. They answer different questions, so AnyTool gives the absolute gap its own “Points (pp)” mode alongside the relative “% change” mode and explains the distinction on the page.

Yes, it is free with no signup, and nothing is uploaded — every calculation runs in your browser and the page works offline.

AnyTool Percentage Calculator is completely free with no account or limits, and all eight modes are computed by a small, unit-tested engine that runs entirely in your browser, so the numbers you type are never sent to a server. Results are rounded to the number of decimals you choose for display while full precision is used in the math, and the page works offline after first load.

Detailed Explanation

Methodology

How the Percentage Calculator Works

The calculator offers eight modes built from the basic relation that a percentage is a part per hundred. “What is X% of Y” computes (X ÷ 100) × Y; “X is what % of Y” computes (X ÷ Y) × 100; percent change computes ((B − A) ÷ |A|) × 100; add and subtract a percent compute Y × (1 ± X ÷ 100); reverse percentage computes Y ÷ (X ÷ 100) to recover the original; and percentage-point change computes B − A. Each mode is a pure function in a shared, unit-tested engine and returns both the number and a worked-formula string.

  • X% of Y = (X ÷ 100) × Y; X is what % of Y = (X ÷ Y) × 100
  • Percent change = ((new − old) ÷ |old|) × 100
  • Add/subtract: Y × (1 ± X ÷ 100); reverse: Y ÷ (X ÷ 100)
  • Percentage-point change is the plain gap B − A
  • All math is client-side JavaScript with no server round-trip
How It Works

Percent Change vs Percentage Points

A frequent source of confusion is the difference between a percent change and a percentage-point change. Percent change is relative to the starting value, while a percentage point is the absolute difference between two percentages. If a rate moves from 5% to 8%, that is a 3-percentage-point increase but a 60% relative increase, because (8 − 5) ÷ 5 × 100 = 60. The calculator gives each its own mode so the two are never conflated, and it also separates percent difference (symmetric, divided by the average of the two values) from percent change (directional, divided by the original).

  • Percentage point = absolute gap between two percentages (B − A)
  • Percent change = that gap relative to the original value
  • 5% → 8% is 3 points but a 60% relative increase
  • Percent difference divides by the average; percent change by the original
  • Each distinction has its own clearly labelled mode
Limitations

Rounding and Choosing the Right Mode

Results are rounded for display to the chosen number of decimals (0, 2, 4 or 6), but full precision is always used in the calculation, so a displayed figure may differ slightly from manually rounding the inputs first. The tool does not decide which mode you need — percent change, percent difference and percentage-point change answer genuinely different questions — so the page explains each and shows the worked formula so the choice and the result can be verified.

  • Display rounding is independent of the full-precision math
  • Percent change, difference and point change are not interchangeable
  • Divide-by-zero cases (Y = 0, original = 0) are flagged, not shown as NaN
  • Worked formula accompanies every answer for verification
  • Negatives are handled; percent change uses |old| in the denominator
Privacy & Security

Privacy and Offline Use

Because all computation runs in the browser, the numbers you enter are never sent to a server, there is no account or tracking, and the page works offline after first load. The calculator is built on a shared, unit-tested percentage engine so its behaviour is consistent and verifiable.

Percentage calculation: in-browser (AnyTool) vs typical online percentage calculators
CapabilityAnyToolTypical online calculators
ProcessingRuns in your browserOften server-side
ModesEight, in one toolOften split across pages
Worked formulaShown for every resultFrequently result only
Change vs pointsSeparate, explained modesOften conflated or missing
Reverse percentageYes (Y is X% of what?)Sometimes absent
Rounding control0 / 2 / 4 / 6 decimalsUsually fixed
Works offlineYes (PWA)No
Cost / signupFree, no signupOften ad-heavy or gated

AnyTool computes every percentage mode locally and uploads nothing.