Tooldit
BlogAboutContact
Browse Tools
HomeAll ToolsCalculatorsPercentage Calculator

Percentage Calculator

Calculate percentages, increases, decreases, and differences instantly. All math runs in your browser — no data leaves your device.

What is X% of Y?

Try:

What Is a Percentage Calculator?

A percentage calculator is a tool that solves the five most common percent questions: what is X% of Y, X is what percent of Y, the percent increase from one value to another, the percent decrease, and the symmetric percent difference between two values. The word "percent" literally means "per hundred" — the symbol (%) evolved from the Italian "per cento" abbreviation — so every percentage is really a fraction with 100 as the denominator. That detail is what makes percentages so useful: they let you compare unequal things on a single scale.

Percentage math touches nearly every part of daily life. Students convert raw test scores into grades, shoppers check whether a 30% discount is really a deal, dieters track percent body-fat changes, salaried workers calculate the real value of a 6% raise after 4% inflation, and investors watch portfolio returns. The Tooldit calculator handles all five common modes in one interface, runs entirely in your browser with no data leaving the page, and shows the actual formula with your numbers substituted so you can verify the answer.

How to Use the Percentage Calculator

The Tooldit Percentage Calculator combines five common percent calculations into a single tool. Pick the mode that matches the question you're trying to answer using the tabs at the top, then fill in the two number fields. Results update instantly — there's no "Calculate" button to press, and you can try the example chips under each tab to see how each formula behaves.

  1. X% of Y— find a portion of a number. Use this for sales tax, tips, discounts, allocations and any "take this slice of that total" question.
  2. X is what % of Y — find what fraction one number is of another. Useful for grades, progress bars, polling shares and budgeting.
  3. Percentage increase — measure how much a value grew. Useful for raises, price hikes, stock returns and traffic growth.
  4. Percentage decrease — measure how much a value dropped. Useful for sale prices, weight loss, inventory reductions and depreciation.
  5. Percentage difference — compare two values when neither is "original". Useful for A/B comparisons, scientific measurements and benchmarking.

Each result card shows the actual formula used with your numbers substituted in, plus a one-sentence interpretation in plain English. Hit the Copy button to grab a clean text summary. Use the keyboard left/right arrows on the tabs to switch modes without leaving the keyboard.

Percentage Formulas Explained

All five modes are built on simple algebra. Here's the formula behind each, with a worked example you can verify in the calculator.

1. X percent of Y
(X / 100) × Y
(25 / 100) × 200 = 50 → 25% of 200 is 50.
2. X is what percent of Y
(X / Y) × 100
(50 / 200) × 100 = 25% → 50 is 25% of 200.
3. Percentage increase
((To − From) / From) × 100
((150 − 100) / 100) × 100 = 50% → 100 grew by 50% to 150.
4. Percentage decrease
((From − To) / From) × 100
((200 − 150) / 200) × 100 = 25% → 200 shrank by 25% to 150.
5. Percentage difference (symmetric)
|V₁ − V₂| / ((V₁ + V₂) / 2) × 100
|80 − 100| / ((80 + 100) / 2) × 100 = 22.22%.

Note that percentage change (modes 3 and 4) is not symmetric: a 50% increase followed by a 50% decrease does not bring you back to the original. That's why percentage difference(mode 5) divides by the average of the two values — it gives the same answer regardless of which value you call "first", which is the right choice when there's no clear baseline.

Common Use Cases

  • Sales tax & tips — work out what 8.5% of a restaurant bill is, or add a 18% tip in your head.
  • Discounts & sales — figure out the final price when something is 30% off, or check how much you saved.
  • Grades & test scores — convert raw points to a percentage (e.g. 47/60 → 78.33%).
  • Investment returns — compute the percent return between a buy price and current price.
  • Statistics & science — report a symmetric percent difference when comparing two measurements.
  • Body weight & fitness — track percent change in weight, body-fat or lift volume.

Percentage Calculator vs Other Tools

Versus a basic calculator app — the % key on iOS and Android calculators only does the first mode (X% of Y) and is ambiguous about the operation when chained with +/−. The Tooldit calculator separates the five modes so there's no guesswork about whether "100 + 20%" means "120" or "100.2".

Versus Excel or Google Sheets — spreadsheets work but require you to remember the formula (=A1*B1/100) and set up cells. Tooldit gives all five outputs side-by-side without opening another app, which is faster for one-off calculations.

Versus other online percentage calculators — most show only one mode per page and force you to navigate between "percent change calculator", "percent of calculator", and so on. Tooldit combines all five into one tabbed UI with example chips under each.

Versus mental math — quick shortcuts work for round percentages (10% = move the decimal, 50% = halve), but get error-prone fast at 12.5%, 17.3%, or 6.625%. The calculator removes the guesswork.

Troubleshooting & Common Issues

  • My increase and decrease don't cancel out — this is correct math, not a bug. A 50% increase followed by a 50% decrease does not return you to the original (100 → 150 → 75). For symmetric comparisons with no clear baseline, use the "percent difference" mode instead.
  • Result shows -50% but I expected positive — in the increase/decrease modes, a negative result means you picked the wrong direction. The calculator labels it "Increased by X%" or "Decreased by X%" to remove ambiguity; swap the From/To values to flip the sign.
  • Percent of 0 returns NaN — dividing by zero is undefined. If the "from" value or denominator is zero, percent change and percent difference aren't mathematically defined; the calculator surfaces this rather than silently showing 0%.
  • Rounding looks different from another calculator — Tooldit rounds the display to 2 decimal places. The underlying calculation uses full double-precision and is accurate to ~15 digits, so copy the value and you get the unrounded result.
  • Decimal vs comma separator confusion — the calculator expects a period (.) as decimal separator. If you're in a European locale and type "25,5", it won't parse. Use 25.5 instead.

Frequently Asked Questions

+What is a percentage?
A percentage is a way of expressing a number as a fraction of 100. The word literally means "per hundred", so 25% is 25 out of every 100, or 0.25 as a decimal. Percentages let you compare different-sized things on the same scale: 25% of a small pizza and 25% of a large pizza are both "a quarter", even though the absolute amounts differ.
+How do I calculate the percentage of a number?
Use the X% of Y tab. Multiply the number (Y) by the percentage written as a decimal — i.e. divide the percentage by 100 first. To find 25% of 200, compute 0.25 × 200 = 50, or equivalently (25 / 100) × 200 = 50.
+How do I calculate percentage increase or decrease?
Subtract the original from the new value, divide by the original, then multiply by 100. For a price going from $100 to $150, the increase is (150 − 100) / 100 × 100 = 50%. For a drop from $200 to $150, the decrease is (200 − 150) / 200 × 100 = 25%. The calculator handles the sign for you — if you pick the wrong tab it will say "Increased by …" or "Decreased by …" based on the actual direction of change.
+Is this calculator accurate?
Yes. All math runs as IEEE-754 double-precision floating point, which is accurate to roughly 15 significant digits — far more precision than any real-world percentage problem needs. We display results rounded to two decimal places for readability, but the underlying calculation is unrounded.
+Does the percentage calculator work offline?
Yes. The percentage calculator only uses your browser's built-in JavaScript engine — there are no API calls, network requests, or server round-trips. Once the page has loaded once, you can disconnect from the internet and the calculator will keep working.
+Are the numbers I enter in the percentage calculator kept private?
Completely. The numbers you type into the percentage calculator stay in your browser tab and are never sent anywhere. Refresh the page or close the tab and they disappear. There's no logging, no analytics tied to input values, and no cookies set by this tool.
+What's the difference between percent change and percent difference?
Percent change (modes 3 and 4) assumes a clear "from" and "to" value — it's how much something grew or shrank relative to its starting point. Percent difference (mode 5) divides by the average of the two values, so it's symmetric: the difference between 80 and 100 is the same as between 100 and 80. Use percent change for before/after; use percent difference for A/B comparisons.
+How do I calculate a tip or sales tax with this?
Use the "X% of Y" mode. For a 20% tip on a $45 bill, enter 20 and 45 to get $9. For 8.5% sales tax on $120, enter 8.5 and 120 to get $10.20. Add to the original for the total.
+Can I convert a percent to a decimal or fraction?
Divide the percent by 100 for the decimal: 25% = 0.25, 7.5% = 0.075. For fractions, place the percent over 100 and simplify: 25% = 25/100 = 1/4, 12.5% = 125/1000 = 1/8. The calculator works with the percent value directly so you don't need to convert first.

Footer

Tooldit

Free, private, browser-based PDF, image, and AI tools. No sign-up, no uploads — your files never leave your device.

info@tooldit.com
  • Private
  • Fast
  • Offline
  • Free Forever

PDF Tools

  • Merge PDF
  • Split PDF
  • Compress PDF
  • PDF to Images
  • Image to PDF

Image Tools

  • Image Editor
  • Image Cropper
  • Image Merge
  • PNG Converter
  • JPG Converter

Calculators

  • Age Calculator
  • Percentage Calculator
  • BMI Calculator
  • Tip Calculator
  • GPA Calculator

Text & Dev

  • Word Counter
  • Character Counter
  • Case Converter
  • Lorem Ipsum Generator
  • Text Diff Checker

AI & Utility

  • Background Remover
  • Object Remover
  • Internet Speed Test
  • Typing Speed Test
  • Stopwatch & Timer
  • Games

Company

  • Blog
  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Tooldit. All tools run locally in your browser.