How to Use the Percentage Calculator
This page solves three common percentage problems. Use the first calculator to find a percentage of a number, the second to find what percentage one value represents of another, and the third to calculate percentage change from an original value to a new value.
1. What is X% of Y?
Use this when you know the percentage and the total amount. The formula is (X ÷ 100) × Y. For example, 15% of 200 is 30.
2. X is what percent of Y?
Use this when you know the part and the whole but need the percentage. The formula is (X ÷ Y) × 100. For example, 45 out of 60 is 75%.
3. Percentage change from X to Y
Use this to measure how much a value increased or decreased relative to the starting value. This calculator uses ((Y − X) ÷ |X|) × 100. A positive result indicates an increase and a negative result indicates a decrease. If the starting value is zero, percentage change is undefined because the formula would require division by zero.
Calculation Methodology and Important Edge Cases
The three calculators use standard arithmetic formulas directly in JavaScript. Results are displayed with up to four decimal places, while the internal calculation uses the browser's full JavaScript Number precision.
(X ÷ 100) × Y. Both X and Y may be positive, negative, or decimal values.(X ÷ Y) × 100. Y cannot be zero because that would require division by zero.((Y − X) ÷ |X|) × 100. Using the absolute value of X keeps the sign of the result tied to the direction of change.Worked example: 15% of 200
15% of 200
= (15 ÷ 100) × 200
= 0.15 × 200
= 30
Worked example: 45 is what percent of 60?
45 ÷ 60 × 100
= 0.75 × 100
= 75%
Worked example: change from 80 to 100
(100 − 80) ÷ |80| × 100
= 20 ÷ 80 × 100
= 25%
Starting from zero is undefined for percentage change
Changing from 0 to 10 is an increase in absolute terms, but the percentage-change formula is undefined because it would divide by zero. The calculator therefore returns an invalid-input message for that case instead of inventing a percentage.
Negative starting values need careful interpretation
The calculator uses the absolute value of the starting number in the denominator. This makes the direction of the result follow the arithmetic change from X to Y, but percentages involving negative baselines can be unintuitive in accounting, economics, growth analysis, and other domains. In those cases, also report the original and new values rather than relying on the percentage alone.
Large values and floating-point precision
The calculator uses JavaScript Number arithmetic. That is suitable for ordinary percentage work, but extremely large values or very long decimal inputs can exceed exact binary floating-point precision. For accounting, regulatory, or high-precision scientific work, use software designed for decimal or arbitrary-precision arithmetic.
Related Utiliverse Tools
Last reviewed: October 2, 2026 · Percentage formulas, zero-denominator handling, negative-value behavior, formatting precision, and browser-side calculation reviewed against the current implementation.
Common Uses for Percentage Calculations
- Discounts: find how much a sale percentage reduces a price.
- Tips and gratuities: calculate a percentage of a restaurant bill or service charge.
- Taxes and fees: estimate percentage-based charges added to an amount.
- Grades and scores: determine what percentage of questions, points, or tasks were completed correctly.
- Business metrics: compare growth, declines, conversion rates, margins, completion rates, and other ratios.
- Personal finance: measure changes in savings, expenses, balances, income, or investment values.
Percentage vs. Percentage Points
Percentage and percentage points are related but not interchangeable. If a rate rises from 20% to 25%, it increased by 5 percentage points. Relative to the original 20%, however, the increase is 25% because 5 ÷ 20 × 100 = 25%.
Percentage Calculator FAQ
What is a percentage?
A percentage expresses a number or ratio as a fraction of 100. For example, 25% means 25 out of 100, which is 0.25 as a decimal.
How do I calculate X percent of Y?
Divide X by 100 and multiply by Y. For example, 20% of 150 is 0.20 × 150 = 30.
How do I find what percentage X is of Y?
Divide X by Y and multiply by 100. For example, 30 is 20% of 150 because 30 ÷ 150 × 100 = 20%.
How do I calculate percentage increase or decrease?
Subtract the original value from the new value, divide by the absolute value of the original value, and multiply by 100. Positive results indicate an increase and negative results indicate a decrease.
Can I calculate percentage change when the starting value is zero?
No. Percentage change is undefined when the original value is zero because the formula requires division by the starting value.
Can I use decimal values?
Yes. The calculator accepts decimal numeric inputs and displays results with up to four decimal places.
Does this calculator save my numbers?
No. The calculations are performed in JavaScript in your browser, and this page does not save or submit the entered values to a Utiliverse server.
What is the difference between percentage and percentage points?
Percentage describes a relative amount out of 100. Percentage points describe the arithmetic difference between two percentage values. Moving from 20% to 25% is a gain of 5 percentage points, but a 25% relative increase.
How does the calculator handle negative starting values?
Percentage change divides by the absolute value of the starting number. This keeps the sign tied to the direction of change, but negative baselines can be unintuitive and should be interpreted together with the original and new values.
Why can displayed results be rounded?
The calculator displays up to four decimal places for readability. The underlying JavaScript calculation may contain additional floating-point precision.
Is this suitable for accounting or regulatory calculations?
It is useful for everyday percentage calculations and planning. Work that requires exact decimal arithmetic, formal rounding rules, or regulatory compliance should use software designed for those requirements.