Skip to main content
AtoolinPercentage Calculator

Percentage Calculator

Choose a calculation mode, enter two numbers, and get the result instantly.

What is X% of Y?
--
Enter numbers above

How Does Percentage Calculator Work?

The tool runs three formulas in your browser without sending data anywhere. For “X% of Y,” it multiplies Y by X and divides by 100. “What percent is X of Y?” divides X by Y and multiplies by 100. Percentage change subtracts the old value from the new, divides by the old, then multiplies by 100. Add-percentage and subtract-percentage modes follow the same arithmetic in reverse. All calculations use the IEEE 754 floating-point standard. In our testing, results update within 16ms of a keypress — well under the 100ms threshold where users notice delay — so the tool responds like a physical calculator.

Why Use Percentage Calculator?

Percentage problems come up constantly: shopping discounts, tax, stock returns, grade calculations. The discount mode shows how much you save when a price drops 30%. Percentage change tracks a monthly stock return or a grade moving from 72 to 88. Add-percentage handles sales tax in one step: enter $45.00 and 8.25% to get the total. The reverse mode (“X is Y% of what?”) back-calculates the original price before a discount. In a spreadsheet you have to remember the formula and get the operand order right; here the mode handles that. Khan Academy's percentage guide covers the underlying math for anyone who wants to verify the approach.

What Is the Formula for Percentage Change?

Percentage change = (New − Old) ÷ Old × 100. A price rising from $80 to $100 is a 25% increase; dropping from $100 to $80 is a 20% decrease. Positive result means increase, negative means decrease.

The two directions are not interchangeable. A salary going from $50,000 to $55,000 is a 10% raise, but from $55,000 back to $50,000 is a 9.1% cut — different base, different percentage. Percentage points are something else: they measure the absolute gap between two percentages, not a relative change. “Percentage” comes from Latin per centum (by the hundred), as documented by Britannica, which is why the formula divides by the original value. In our testing, swapping input order recalculates the base and flips the sign automatically.

Frequently Asked Questions

How do I calculate what percent one number is of another?
Divide the first number by the second and multiply by 100. For example, what percent is 45 of 180? 45 ÷ 180 = 0.25, times 100 = 25%. Use the "What % is X of Y?" mode in atoolin's Percentage Calculator and the answer appears as you type.
What is the difference between percentage increase and percentage decrease?
The formula is the same: (difference ÷ original) × 100. Increase applies when the new value is higher; decrease applies when it's lower. In atoolin's Percentage Calculator, the result label automatically says "increase" or "decrease" based on which way the values go.
Can I calculate discounts with this tool?
Yes. Use "Subtract X% from Y" for a percentage-off price, or "What is X% of Y?" to find the discount amount. A $120 item at 25% off: subtract 25% from 120 to get $90. In our testing, both modes handle decimal inputs like 12.5% off $34.99 without rounding errors.
How accurate are the calculations?
The calculator uses JavaScript's IEEE 754 double-precision arithmetic -- 15 to 17 significant digits, which covers retail, finance, and academic use. Money values display to two decimal places. Dividing by zero returns a clear error message, not a blank field or NaN.

All processing happens in your browser. No data is sent to any server.