Toolmingo

Percentage Calculator

Calculate percentages: what is X% of Y, X is what percent of Y, and percentage increase or decrease. Free and in-browser.

What is X% of Y?

Result
30

X is what percent of Y?

Result
25%

Percentage change from X to Y

Result
25%increase

How to use the Percentage Calculator

  1. 1Choose your question with the mode tabs at the top: 'X% of Y', 'X is what percent of Y', or 'Percentage increase/decrease'.
  2. 2Type your two numbers into the labeled fields — for the first mode, put the rate (e.g. 15) in the percent box and the total (e.g. 80) in the value box.
  3. 3Read the answer directly below the inputs; it recalculates live on every keystroke, so there is no Calculate button to press.
  4. 4In increase/decrease mode, enter the original value first and the new value second — the change is always measured against that first number as the baseline.
  5. 5Click the copy icon beside the result to send the answer to your clipboard for a spreadsheet, invoice, or message.
  6. 6Edit either number to test a new scenario, or switch tabs to ask a different percentage question — nothing reloads and prior inputs stay put.

About the Percentage Calculator

This Percentage Calculator splits the three percentage problems most people actually run into into three clearly labeled modes, so you never have to remember which number divides which. Mode one, "what is X% of Y," takes a rate and a total: type 15 and 80 and it shows that 15% of 80 is 12 — the calculation behind a tip, a sales discount, a sales-tax line, or a commission cut. Mode two, "X is what percent of Y," runs the division the other direction: enter 12 and 80 and it returns 15%, which is how you express a score, a market share, or how much of a monthly budget a single expense ate up. Mode three measures change between two numbers against the first one as the baseline: 80 to 100 reads as a 25% increase, while 100 to 80 reads as a 20% decrease. Because the starting value sets the base, the tool makes plain that those two moves are not mirror images — a distinction people routinely get wrong when doing it in their head.

The math runs entirely in your browser in JavaScript. Each keystroke recomputes the answer on your own device; nothing you type is uploaded, logged, or sent anywhere, so salaries, invoice totals, or medication doses stay on your screen and nowhere else. There is no account to create, and once the page has loaded it keeps working with the network off.

A few concrete habits it rewards: to price a "30% off" item at $80, use mode one to get 24 off, then subtract for a $56 total. To check whether a percent-off deal beats a flat coupon, compute both amounts and compare. And in change mode, remember that a 50% drop followed by a 50% rise lands you at 75, not back at 100 — the calculator prevents exactly that error by always anchoring to the correct base. Percentages are easy to invert or apply to the wrong number; naming each mode removes that ambiguity in a single click.

Frequently asked questions

Why does 100 to 80 show 20% but 80 to 100 show 25%, when both change by 20?

Percentage change is measured against the starting number, not the ending one. Dropping 20 from a base of 100 is 20/100 = 20%. Rising 20 from a base of 80 is 20/80 = 25%. The absolute change is the same 20, but the baseline differs, so the percentages differ. This is why a discount and the matching markup are never equal.

How do I get the final sale price, not just the amount saved?

Use 'X% of Y' to find the saving, then subtract it from the original yourself — the tool reports the percentage amount, not the remainder. For an $80 item at 30% off it shows 24 saved, so the final price is 56. To compare against a flat coupon, compute the percent-off amount and check which is larger.

Can I enter decimals or negative numbers?

Yes. Decimal rates and values like 7.5% or 19.99 work in all three modes. Negatives are also accepted, which is useful in change mode when a figure crosses zero — but read those results carefully, because a negative baseline flips the direction of the reported percentage.

What does it do when the base (second number) is zero?

In 'X is what percent of Y' and in change mode, a base of zero has no defined percentage, since dividing by zero is undefined and any change from zero is mathematically infinite. Rather than print a misleading figure, the calculator flags the zero base so you know the result can't be expressed as a percentage.

Is my data sent to a server or stored anywhere?

No. Every calculation runs locally in your browser's JavaScript — no numbers are transmitted, saved, or logged, and there is no account or tracking. Once the page has loaded it runs fully offline, so it is safe to use on confidential figures such as wages, account balances, or medical dosages.

Related tools

Browse all free online tools in Generators and more.

Frequently asked questions

What can it calculate?+

X% of Y, X as a percent of Y, and percentage change between two numbers.

Related tools